/* ============================================
   PLANNER TDAH PRODUTIVO — FUNIL V2
   Design system: warm, calmo, alto contraste
   ============================================ */

:root {
  --orange: #e8954a;
  --orange-dark: #c97326;
  --orange-light: #fde6cc;
  --cream: #fef8f0;
  --cream-2: #fbf1e4;
  --brown: #5d3a1f;
  --brown-soft: #7a5736;
  --text: #2d1f10;
  --muted: #6b5a48;
  --line: #ead9c2;
  --white: #ffffff;
  --green: #2e9b6a;
  --green-soft: #e7f5ee;
  --red: #d94a3c;
  --red-soft: #fde8e5;
  --shadow-sm: 0 2px 8px rgba(93, 58, 31, 0.06);
  --shadow: 0 8px 28px rgba(93, 58, 31, 0.10);
  --shadow-lg: 0 18px 48px rgba(93, 58, 31, 0.14);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 22px;
}

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

html, body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

/* ============ TOP BAR / PROGRESS ============ */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.topbar__inner {
  display: flex; align-items: center; gap: 12px;
  max-width: 1100px; margin: 0 auto;
  padding: 12px 16px;
}
.topbar__brand {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px;
}
.brand-icon { font-size: 22px; }
.brand-name { color: var(--brown); }
.brand-name strong { color: var(--orange-dark); }
.topbar__progress {
  flex: 1; height: 8px; border-radius: 99px;
  background: var(--cream-2); overflow: hidden;
}
.topbar__progress-bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  transition: width .45s cubic-bezier(.4,0,.2,1);
  border-radius: 99px;
}
.topbar__step {
  font-size: 13px; font-weight: 600; color: var(--muted);
  min-width: 36px; text-align: right;
}

/* ============ SCREENS ============ */
.screen { display: none; padding: 32px 0 80px; }
.screen.active { display: block; animation: fadeUp .35s ease-out; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.container {
  max-width: 720px; margin: 0 auto; padding: 0 20px;
}
.container--small { max-width: 560px; }
.container--quiz { max-width: 1100px; }

/* ============ TYPOGRAPHY ============ */
.h1 {
  font-size: clamp(28px, 6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 800;
  color: var(--brown);
  margin: 14px 0 14px;
}
.h2 {
  font-size: clamp(24px, 5vw, 34px);
  line-height: 1.2;
  font-weight: 800;
  color: var(--brown);
  margin: 14px 0 12px;
  letter-spacing: -0.01em;
}
.h3 {
  font-size: 20px; font-weight: 700;
  color: var(--brown); margin: 20px 0 14px;
}
.lead {
  font-size: 17px; color: var(--brown-soft);
  margin-bottom: 18px;
}
.center { text-align: center; }
.hl { color: var(--orange-dark); }
.hl-2 { color: var(--green); }
.hl-red { color: var(--red); }
.hl-big {
  display: block;
  font-family: 'Caveat', cursive;
  font-size: 1.3em;
  color: var(--orange-dark);
  font-weight: 700;
  margin-top: 4px;
}
.micro { font-size: 13px; color: var(--muted); margin-top: 10px; }

.pill {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 13px; font-weight: 700;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 12px;
}
.pill--warn { background: var(--red-soft); color: var(--red); }
.pill--ok { background: var(--green-soft); color: var(--green); }

/* ============ LANDING ============ */
.landing__hero {
  margin: 20px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--cream-2) 0%, var(--orange-light) 100%);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  box-shadow: var(--shadow);
}
.hero-img { max-height: 320px; width: auto; margin: 0 auto; filter: drop-shadow(0 12px 24px rgba(93,58,31,.18)); }

.check-list {
  list-style: none;
  background: var(--white);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 18px 0;
  box-shadow: var(--shadow-sm);
}
.check-list li {
  padding: 8px 0;
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.check-list li:last-child { border-bottom: none; }

/* ============ CTA BUTTONS ============ */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(180deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: var(--white);
  font-family: inherit;
  font-weight: 700;
  font-size: 17px;
  border: none;
  padding: 16px 28px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(232, 149, 74, 0.45);
  transition: transform .15s ease, box-shadow .2s ease, opacity .2s;
  width: 100%;
  letter-spacing: 0.01em;
}
.cta:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(232, 149, 74, 0.55); }
.cta:active:not(:disabled) { transform: translateY(0); }
.cta:disabled { opacity: .45; cursor: not-allowed; }
.cta--big { padding: 18px 28px; font-size: 18px; margin-top: 10px; }
.cta--xl { padding: 20px 28px; font-size: 19px; margin-top: 16px; animation: pulse 2.2s ease-in-out infinite; }
.cta--bottom { margin-top: 24px; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 6px 18px rgba(232, 149, 74, 0.45); }
  50% { box-shadow: 0 6px 22px rgba(232, 149, 74, 0.75), 0 0 0 6px rgba(232, 149, 74, 0.15); }
}

.btn-ghost {
  background: transparent;
  color: var(--brown-soft);
  border: 1.5px solid var(--line);
  font-family: inherit; font-weight: 600;
  padding: 14px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  transition: background .15s;
}
.btn-ghost:hover { background: var(--cream-2); }

/* ============ QUIZ ============ */
.quiz-grid {
  display: grid; gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .quiz-grid { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
}

.quiz-eyebrow {
  font-size: 13px; font-weight: 700;
  color: var(--orange-dark);
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.quiz-title {
  font-size: clamp(22px, 4.5vw, 28px);
  font-weight: 800;
  color: var(--brown);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}
.quiz-sub {
  font-size: 14px; color: var(--muted);
  margin-bottom: 18px;
}
.options {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 18px;
}
.option {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 2px solid var(--line);
  padding: 14px 16px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: all .15s;
  font-family: inherit;
  width: 100%;
}
.option:hover {
  border-color: var(--orange);
  background: var(--cream-2);
}
.option.is-selected {
  border-color: var(--orange-dark);
  background: var(--orange-light);
  color: var(--brown);
  box-shadow: var(--shadow);
}
.option__emoji { font-size: 22px; }
.option__check {
  width: 22px; height: 22px;
  border: 2px solid var(--line);
  border-radius: 50%;
  margin-left: auto;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  font-size: 12px;
  color: transparent;
}
.option.is-selected .option__check {
  border-color: var(--orange-dark);
  background: var(--orange-dark);
  color: var(--white);
}

.quiz-nav {
  display: flex; gap: 10px;
  margin-top: 8px;
}
.quiz-nav .cta { flex: 1; }
.quiz-nav .btn-ghost { flex: 0 0 auto; }

/* ============ QUIZ PREVIEW ============ */
.quiz-preview {
  position: sticky; top: 80px;
}
.preview-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.preview-card__badge {
  display: block; width: fit-content; margin: 0 auto 10px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px; font-weight: 700;
  padding: 4px 12px;
  border-radius: 99px;
}
.preview-card__title {
  font-size: 17px; font-weight: 700;
  color: var(--brown);
  margin-bottom: 6px;
  text-align: center;
}
.preview-card__imgwrap {
  background: var(--cream-2);
  border-radius: var(--radius);
  padding: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.preview-card__imgwrap img {
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0,0,0,.08);
  max-height: 380px;
  margin: 0 auto;
  transition: opacity .25s ease;
}
.preview-card__caption {
  font-size: 13px; color: var(--muted);
  text-align: center;
}

.preview-stack {
  display: flex; gap: 6px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
}
.preview-stack img {
  width: 44px; height: 60px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  border: 1.5px solid var(--white);
  animation: popIn .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes popIn {
  0% { transform: scale(0.3) translateY(10px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* ============ DIAGNÓSTICO BARS ============ */
.bars {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius);
  margin: 20px 0;
  box-shadow: var(--shadow-sm);
}
.bar {
  display: flex; flex-direction: column; gap: 6px;
}
.bar__head {
  display: flex; justify-content: space-between;
  font-size: 14px; font-weight: 600;
}
.bar__name { color: var(--brown); }
.bar__pct { color: var(--red); font-weight: 800; }
.bar__track {
  background: var(--cream-2);
  border-radius: 99px;
  height: 10px;
  overflow: hidden;
}
.bar__fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #facc15 60%, #ef4444 100%);
  border-radius: 99px;
  transition: width 1.2s cubic-bezier(.4,0,.2,1);
}

/* ============ FORM ============ */
.form {
  display: flex; flex-direction: column; gap: 14px;
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-top: 18px;
}
.field {
  display: flex; flex-direction: column; gap: 6px;
}
.field span {
  font-size: 14px; font-weight: 600; color: var(--brown);
}
.field input {
  border: 2px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  background: var(--cream);
  transition: border-color .15s;
}
.field input:focus {
  outline: none;
  border-color: var(--orange);
  background: var(--white);
}

/* ============ LOADING ============ */
.loading-mockup {
  position: relative;
  text-align: center;
  margin: 24px 0;
}
.loading-mockup img {
  max-height: 280px; margin: 0 auto;
  animation: bounceSoft 1.6s ease-in-out infinite;
}
@keyframes bounceSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.floating-pages {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floating-pages img {
  position: absolute;
  width: 60px; height: 84px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
  border: 2px solid var(--white);
  opacity: 0;
  animation: floatIn 1.6s ease-out forwards;
}
@keyframes floatIn {
  0% { transform: translate(var(--from-x,-80px), var(--from-y,-60px)) rotate(var(--rot, -15deg)) scale(0.5); opacity: 0; }
  60% { opacity: 1; }
  100% { transform: translate(var(--to-x,0), var(--to-y,0)) rotate(0deg) scale(1); opacity: 0; }
}

.progress-thick {
  height: 14px;
  background: var(--cream-2);
  border-radius: 99px;
  overflow: hidden;
  margin: 18px 0 12px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.05);
}
.progress-thick__bar {
  height: 100%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 99px;
  width: 0%;
  transition: width .35s linear;
}
.loading-status {
  text-align: center;
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 14px;
  min-height: 22px;
}
.loading-checks {
  list-style: none;
  background: var(--white);
  padding: 14px 18px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.loading-checks li {
  padding: 6px 0;
  font-size: 14px;
  color: var(--brown-soft);
  display: flex; align-items: center; gap: 8px;
  animation: fadeUp .35s ease;
}
.loading-checks li::before {
  content: '✓';
  color: var(--green);
  font-weight: 800;
}

/* ============ OFERTA ============ */
.offer-hero {
  text-align: center;
  background: linear-gradient(160deg, var(--cream-2) 0%, var(--orange-light) 100%);
  padding: 28px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}
.offer-mockup {
  max-height: 280px; margin: 16px auto 0;
  filter: drop-shadow(0 14px 30px rgba(93,58,31,.2));
}

.offer-pages {
  margin: 28px 0;
}
.offer-pages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 12px;
}
.offer-pages__grid figure { cursor: pointer; }
.offer-pages__grid figcaption { font-size: 10px; }
@media (min-width: 600px) {
  .offer-pages__grid { grid-template-columns: repeat(6, 1fr); gap: 10px; }
}
.offer-pages__grid figure {
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.offer-pages__grid figure img {
  border-radius: 6px;
  aspect-ratio: 3/4;
  object-fit: cover;
  margin-bottom: 6px;
}
.offer-pages__grid figcaption {
  font-size: 12px; font-weight: 600; color: var(--brown-soft);
}

.stack-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow);
  margin: 24px 0;
  border: 2px solid var(--orange-light);
}
.stack-list {
  list-style: none;
  margin: 14px 0;
}
.stack-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 14px;
}
.stack-list li:last-child { border-bottom: none; }
.stack-list li.bonus { color: var(--green); }
.stack-name { flex: 1; }
.stack-name strong { color: var(--brown); }
.stack-price--strike {
  font-weight: 700;
  color: var(--muted);
  text-decoration: line-through;
}
.stack-total {
  background: var(--cream-2);
  padding: 12px 14px;
  border-radius: var(--radius);
  text-align: center;
  font-size: 16px; font-weight: 600;
  color: var(--brown-soft);
  margin-bottom: 16px;
}
.stack-total s { font-size: 22px; }

.price-box {
  background: linear-gradient(160deg, var(--orange-light), #ffe4cb);
  border-radius: var(--radius);
  padding: 24px 18px;
  text-align: center;
  margin: 16px 0;
}
.price-box__label {
  font-size: 14px; font-weight: 600;
  color: var(--brown);
  margin-bottom: 6px;
}
.price-box__big {
  font-size: 22px;
  color: var(--brown);
  font-weight: 600;
}
.price-box__big strong {
  font-size: 38px;
  color: var(--orange-dark);
  display: inline-block;
  margin: 0 4px;
}
.price-box__cash {
  font-size: 16px; color: var(--brown-soft);
  margin-bottom: 12px;
}
.price-box__cash strong { color: var(--brown); font-size: 19px; }

.guarantee {
  display: flex; align-items: center; gap: 14px;
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 16px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--brown);
}
.guarantee__seal {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
  font-family: 'Caveat', cursive;
  border: 4px solid var(--white);
  box-shadow: 0 4px 12px rgba(46,155,106,.35);
  flex-shrink: 0;
}

.badges {
  display: flex; justify-content: center; gap: 14px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.badges img { max-height: 60px; opacity: 0.85; }

/* ============ TESTIMONIALS ============ */
.testimonials { margin: 32px 0; }
.testimonials__grid {
  display: grid; gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}
.testimonials__grid img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ============ FAQ ============ */
.faq { margin: 32px 0; }
.faq details {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq summary {
  padding: 16px 18px;
  font-weight: 700;
  cursor: pointer;
  font-size: 15px;
  color: var(--brown);
  list-style: none;
  position: relative;
  padding-right: 40px;
}
.faq summary::after {
  content: '+';
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 22px; color: var(--orange-dark);
  transition: transform .2s;
}
.faq details[open] summary::after { content: '–'; }
.faq details p {
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--brown-soft);
  line-height: 1.6;
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 18px rgba(93,58,31,.10);
  padding: 10px 16px;
  display: none;
  align-items: center;
  gap: 12px;
  z-index: 80;
}
.sticky-cta__price {
  font-size: 14px; color: var(--brown-soft);
}
.sticky-cta__price strong { color: var(--orange-dark); font-size: 18px; }
.sticky-cta__price s { font-size: 13px; }
.sticky-cta .cta { flex: 1; padding: 12px 18px; font-size: 15px; }

.screen--offer ~ .sticky-cta,
.screen.active.screen--offer ~ .sticky-cta {
  display: flex;
}

/* show sticky only when offer screen is active */
body.offer-active .sticky-cta { display: flex; }

/* ============ TELA "MONTE SEU PLANNER" ============ */
.build-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0;
}
@media (min-width: 640px) {
  .build-grid { grid-template-columns: repeat(2, 1fr); }
}
.build-card {
  position: relative;
  background: var(--white);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
  text-align: left;
  cursor: pointer;
  transition: all .18s ease;
  font-family: inherit;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.build-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.build-card.is-recommended {
  border-color: var(--orange);
  background: linear-gradient(135deg, var(--white) 60%, var(--cream-2) 100%);
}
.build-card.is-selected {
  border-color: var(--orange-dark);
  background: var(--orange-light);
  box-shadow: 0 6px 18px rgba(232, 149, 74, 0.25);
}
.build-card__rec {
  position: absolute;
  top: -10px; right: 12px;
  background: var(--orange-dark);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 99px;
  letter-spacing: 0.02em;
}
.build-card__head {
  display: flex; gap: 12px; align-items: flex-start;
  margin-bottom: 12px;
}
.build-card__emoji { font-size: 28px; flex-shrink: 0; }
.build-card__name { font-weight: 700; color: var(--brown); font-size: 15px; line-height: 1.2; margin-bottom: 3px; }
.build-card__desc { font-size: 12px; color: var(--muted); line-height: 1.4; }
.build-card__foot {
  display: flex; align-items: center; gap: 10px;
  margin-top: auto;
  border-top: 1px dashed var(--line);
  padding-top: 10px;
}
.build-card__preview {
  width: 36px; height: 50px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,.12);
  flex-shrink: 0;
}
.build-card__pages {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: var(--brown-soft);
}
.build-card__check {
  width: 26px; height: 26px;
  border: 2px solid var(--line);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  font-size: 13px;
  color: transparent;
  transition: all .15s;
  flex-shrink: 0;
}
.build-card.is-selected .build-card__check {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  color: var(--white);
}

.build-summary {
  background: var(--white);
  border: 2px solid var(--orange-light);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin: 16px 0;
  text-align: center;
  font-size: 14px;
  color: var(--brown-soft);
}
.build-summary__count {
  display: inline-block;
  background: var(--orange-dark);
  color: var(--white);
  font-weight: 800;
  font-size: 18px;
  padding: 2px 12px;
  border-radius: 99px;
  margin-right: 6px;
}
.build-summary strong { color: var(--orange-dark); }

/* OFERTA — formato callout */
.format-callout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 18px;
  text-align: left;
}
.format-callout > div {
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 14px;
  box-shadow: var(--shadow-sm);
}
.format-callout strong { color: var(--brown); font-size: 14px; }
.format-callout p { font-size: 12px; color: var(--muted); margin-top: 2px; }

.offer-built { margin: 28px 0; }
.offer-built__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 16px;
}
@media (min-width: 640px) {
  .offer-built__grid { grid-template-columns: repeat(2, 1fr); }
}
.offer-built__card {
  display: flex; align-items: center; gap: 12px;
  background: var(--green-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  border: 1.5px solid #c2e6d3;
}
.offer-built__emoji { font-size: 26px; flex-shrink: 0; }
.offer-built__card > div { flex: 1; }
.offer-built__card strong { display: block; color: var(--brown); font-size: 14px; line-height: 1.2; }
.offer-built__card small { font-size: 12px; color: var(--brown-soft); }
.offer-built__check {
  background: var(--green);
  color: var(--white);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 13px;
  flex-shrink: 0;
}

.diag-insight { margin: 16px 0; }
.diag-insight__card {
  background: linear-gradient(135deg, var(--cream-2), var(--orange-light));
  border-radius: var(--radius);
  padding: 16px;
  display: flex; gap: 12px; align-items: flex-start;
  box-shadow: var(--shadow-sm);
}
.diag-insight__icon { font-size: 24px; flex-shrink: 0; }
.diag-insight p { font-size: 14px; color: var(--brown); line-height: 1.55; }

.preview-stack-wrap { margin-top: 14px; }
.preview-stack-label {
  font-size: 12px; font-weight: 600;
  color: var(--brown-soft);
  margin-bottom: 8px;
  text-align: center;
}

/* ============ MOBILE TWEAKS ============ */
@media (max-width: 879px) {
  /* TWO-STEP: pergunta primeiro, montagem depois */
  .quiz-q { order: 1; }
  .quiz-preview { position: static; order: 2; }
  .preview-card__imgwrap img { max-height: 240px; }
  /* esconde o painel de montagem até a pessoa responder */
  .screen--quiz:not(.has-answer) .quiz-preview { display: none; }
  /* selo Passo 2 só no mobile */
  .step2-badge { display: block; }
}
.step2-badge { display: none; }
@media (max-width: 480px) {
  .screen { padding: 20px 0 80px; }
  .container { padding: 0 16px; }
  .h1 { font-size: 26px; }
  .h2 { font-size: 22px; }
  .quiz-title { font-size: 20px; }
  .price-box__big strong { font-size: 34px; }
  .topbar__step { display: none; }
  body.offer-active main { padding-bottom: 80px; }
  .format-callout { grid-template-columns: 1fr; }
}

/* ============ INPUT DENTRO DO QUIZ (pergunta de nome) ============ */
.q-input {
  width: 100%;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: 18px;
  font-family: inherit;
  font-weight: 600;
  color: var(--brown);
  background: var(--white);
  transition: all .18s;
  margin-bottom: 8px;
}
.q-input:focus {
  outline: none;
  border-color: var(--orange-dark);
  box-shadow: 0 0 0 4px rgba(232,149,74,.18);
  background: var(--cream-2);
}
.q-input::placeholder { color: var(--muted); font-weight: 400; }

/* ============================================================
   V3 — MONTAGEM AO VIVO (galeria página a página)
   ============================================================ */
.screen--build { padding-bottom: 120px; }

/* Tabs de categoria (scroll horizontal) */
.cat-tabs {
  display: flex; gap: 8px; overflow-x: auto; padding: 6px 2px 14px;
  scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch;
  margin: 4px -4px 0;
}
.cat-tabs::-webkit-scrollbar { height: 4px; }
.cat-tabs::-webkit-scrollbar-thumb { background: var(--line); border-radius: 99px; }
.cat-tab {
  flex: 0 0 auto; scroll-snap-align: center;
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white); border: 2px solid var(--line);
  border-radius: 999px; padding: 9px 14px; cursor: pointer;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--brown-soft);
  transition: all .15s; white-space: nowrap; position: relative;
}
.cat-tab:hover { border-color: var(--orange); }
.cat-tab.is-active { background: var(--brown); border-color: var(--brown); color: #fff; }
.cat-tab.is-rec::before {
  content: '★'; color: var(--orange); font-size: 11px; margin-right: 2px;
}
.cat-tab.is-active.is-rec::before { color: #ffd9a8; }
.cat-tab__emoji { font-size: 16px; }
.cat-tab__count {
  background: var(--orange-dark); color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 99px; padding: 1px 7px; margin-left: 2px;
}
.cat-tab.is-active .cat-tab__count { background: var(--orange); }

.cat-head { font-size: 14px; color: var(--brown-soft); margin: 4px 0 14px; }
.cat-head__emoji { font-size: 18px; }
.cat-head strong { color: var(--brown); }
.cat-head__desc { color: var(--muted); }

/* Grid de páginas reais */
.page-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width: 560px){ .page-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 860px){ .page-grid { grid-template-columns: repeat(4, 1fr); } }

.page-card {
  position: relative; background: var(--white); border: 2px solid var(--line);
  border-radius: 14px; padding: 0; cursor: pointer; overflow: hidden;
  transition: all .16s; font-family: inherit; text-align: left;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.page-card:hover { border-color: var(--orange); transform: translateY(-3px); box-shadow: var(--shadow); }
.page-card.is-selected { border-color: var(--orange-dark); box-shadow: 0 8px 22px rgba(232,149,74,.3); }
.page-card.is-selected::after {
  content: ''; position: absolute; inset: 0; background: rgba(232,149,74,.12);
  pointer-events: none;
}
.page-card__rec {
  position: absolute; top: 8px; left: 8px; z-index: 3;
  background: var(--orange-dark); color: #fff; font-size: 12px; font-weight: 800;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.page-card__imgwrap {
  background: var(--cream-2); aspect-ratio: 3/4; overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
}
.page-card__imgwrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.page-card__foot {
  display: flex; align-items: center; gap: 8px; padding: 9px 10px; position: relative; z-index: 2;
}
.page-card__title { flex: 1; font-size: 12px; font-weight: 600; color: var(--brown); line-height: 1.25; }
.page-card__check {
  position: absolute; top: 7px; right: 7px; z-index: 3;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line); background: rgba(255,255,255,.92);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #d8c7af; transition: all .18s;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.page-card__foot { justify-content: flex-start; }
.page-card.is-selected .page-card__check {
  background: var(--orange-dark); border-color: var(--orange-dark); color: #fff;
  box-shadow: 0 2px 8px rgba(201,115,38,.45);
}

/* Barra fixa do planner */
.build-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: linear-gradient(to top, var(--cream) 32%, rgba(254,248,240,.4) 72%, rgba(254,248,240,0));
  border: none; box-shadow: none;
  padding: 30px 16px calc(12px + env(safe-area-inset-bottom)); display: none; align-items: center; gap: 14px;
  max-width: 1100px; margin: 0 auto; pointer-events: none;
}
.build-bar__info, .build-bar .cta { pointer-events: auto; }
.build-bar__info {
  background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  border-radius: 999px; padding: 6px 14px; box-shadow: 0 2px 8px rgba(93,58,31,.1);
}
body.build-active .build-bar { display: flex; }
.build-bar.pulse { animation: barPulse .4s ease; }
@keyframes barPulse { 0%{transform:scale(1)} 40%{transform:scale(1.015)} 100%{transform:scale(1)} }
.build-bar__info { flex: 1; display: flex; align-items: center; gap: 12px; }
.build-bar__mini { display: flex; }
.build-bar__mini img {
  width: 26px; height: 36px; object-fit: cover; border-radius: 3px;
  border: 1.5px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); margin-left: -10px;
}
.build-bar__mini img:first-child { margin-left: 0; }
.build-bar__txt { font-size: 14px; color: var(--brown-soft); }
.build-bar__txt strong { color: var(--orange-dark); font-size: 16px; }
.build-bar .cta { width: auto; flex: 0 0 auto; padding: 13px 24px; }

/* chips de categoria no preview do quiz */
.stack-chip {
  display: inline-block; background: var(--cream-2); border: 1px solid var(--line);
  color: var(--brown-soft); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 99px; margin: 3px;
  animation: popIn .35s cubic-bezier(.34,1.56,.64,1);
}
.preview-stack { display: flex; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   V3.1 — MONTAGEM DURANTE O QUIZ (coluna lateral interativa)
   ============================================================ */
/* Contador do planner no topo da coluna */
.qpc {
  display: flex; align-items: center; gap: 10px;
  background: var(--white); border: 2px dashed var(--line);
  border-radius: var(--radius); padding: 10px 14px; margin-bottom: 14px;
  transition: border-color .2s;
}
.qpc.has-pages { border-style: solid; border-color: var(--orange); }
.qpc.bump { animation: qpcBump .4s ease; }
@keyframes qpcBump { 0%{transform:scale(1)} 40%{transform:scale(1.04)} 100%{transform:scale(1)} }
.qpc__mini { display: flex; }
.qpc__mini img {
  width: 24px; height: 33px; object-fit: cover; border-radius: 3px;
  border: 1.5px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.18); margin-left: -9px;
}
.qpc__mini img:first-child { margin-left: 0; }
.qpc__txt { font-size: 13px; color: var(--brown-soft); }
.qpc__txt strong { color: var(--orange-dark); font-size: 17px; }

/* Galeria de páginas relacionadas (clicáveis) */
.related-pages {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
@media (min-width: 480px){ .related-pages { grid-template-columns: repeat(3, 1fr); } }
.rel-card {
  position: relative; border: 2px solid var(--line); border-radius: 10px;
  overflow: hidden; cursor: pointer; background: var(--white); padding: 0;
  font-family: inherit; text-align: left; transition: all .15s;
  display: flex; flex-direction: column;
}
.rel-card:hover { border-color: var(--orange); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.rel-card.is-selected { border-color: var(--orange-dark); box-shadow: 0 6px 16px rgba(232,149,74,.28); }
.rel-card.is-selected::before {
  content:''; position:absolute; inset:0; background: rgba(232,149,74,.14); z-index:1; pointer-events:none;
}
.rel-card__img { aspect-ratio: 3/4; overflow: hidden; background: var(--cream-2); }
.rel-card__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.rel-card__chk {
  position: absolute; top: 7px; right: 7px; z-index: 2;
  width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--line); background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: #d8c7af; transition: all .18s;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.rel-card.is-selected .rel-card__chk {
  background: var(--orange-dark); border-color: var(--orange-dark); color: #fff;
  font-weight: 800; box-shadow: 0 2px 8px rgba(201,115,38,.45);
}
.rel-card__t {
  font-size: 11px; font-weight: 600; color: var(--brown);
  padding: 5px 7px; line-height: 1.2; position: relative; z-index: 2;
}

/* ============================================================
   V3.2 — "Adicionar todas" + explorar outros temas no quiz
   ============================================================ */
.rel-header { margin-bottom: 10px; }
.rel-allbtn {
  width: 100%; border: 2px dashed var(--orange); background: var(--orange-light);
  color: var(--orange-dark); font-family: inherit; font-weight: 700; font-size: 13px;
  padding: 11px 12px; border-radius: 12px; cursor: pointer; transition: all .15s;
  line-height: 1.3;
}
.rel-allbtn:hover { background: #ffe0c0; }
.rel-allbtn.is-on {
  border-style: solid; background: var(--green-soft); color: var(--green); border-color: var(--green);
}

.rel-explore {
  margin-top: 16px; border-top: 1px dashed var(--line); padding-top: 14px;
}
.rel-explore__label {
  font-size: 12px; font-weight: 700; color: var(--brown-soft); margin-bottom: 9px;
}
.rel-explore__chips {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.explore-chip {
  display: inline-flex; align-items: center; gap: 4px;
  border: 1.5px solid var(--line); background: var(--white);
  color: var(--brown-soft); font-family: inherit; font-size: 12px; font-weight: 600;
  padding: 6px 10px; border-radius: 99px; cursor: pointer; transition: all .14s;
}
.explore-chip:hover { border-color: var(--orange); }
.explore-chip.is-active { background: var(--brown); border-color: var(--brown); color: #fff; }
.explore-chip__n {
  background: var(--orange-dark); color: #fff; font-size: 10px; font-weight: 800;
  border-radius: 99px; padding: 0 6px; line-height: 16px; min-width: 16px; text-align: center;
}
.explore-chip.is-active .explore-chip__n { background: var(--orange); }
.explore-back {
  margin-top: 10px; background: none; border: none; color: var(--orange-dark);
  font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; padding: 4px 0;
}
.explore-back:hover { text-decoration: underline; }

/* ============================================================
   V3.3 — UX mobile: CTA flutuante no quiz, sem chips no quiz
   ============================================================ */
.quiz-fab { display: none; }

@media (max-width: 879px) {
  /* esconde navegação in-flow (que ficava no meio) */
  .quiz-nav { display: none !important; }
  /* esconde os chips de explorar outros temas durante o quiz (confunde) */
  .rel-explore { display: none !important; }
  /* espaço pro fab não cobrir conteúdo */
  .screen--quiz { padding-bottom: 96px; }

  /* CTA flutuante fixo no rodapé — fade suave, compacto, em coluna */
  .quiz-fab {
    display: flex; flex-direction: column; gap: 9px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    background: linear-gradient(to top, var(--cream) 30%, rgba(254,248,240,.35) 70%, rgba(254,248,240,0));
    border: none; box-shadow: none;
    padding: 34px 16px calc(14px + env(safe-area-inset-bottom));
    pointer-events: none;
  }
  .quiz-fab__row {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
  }
  .quiz-fab__back, .quiz-fab .cta, .quiz-fab__all > button { pointer-events: auto; }
  .quiz-fab__back {
    flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%;
    border: 1.5px solid var(--line); background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: var(--brown-soft); font-size: 20px; font-family: inherit;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 2px 8px rgba(93,58,31,.12);
  }
  .quiz-fab__back:active { background: var(--cream-2); }
  .quiz-fab .cta {
    flex: 1; width: auto; margin: 0; padding: 14px 22px; font-size: 15px;
    box-shadow: 0 6px 18px rgba(232,149,74,.5);
  }
  /* botão "quero todas" no fab — discreto */
  .quiz-fab__all:empty { display: none; }
  .quiz-fab__all > button {
    width: 100%; border: 1.5px solid var(--orange); background: rgba(255,255,255,.92);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    color: var(--orange-dark); font-family: inherit; font-weight: 700; font-size: 13px;
    padding: 10px 14px; border-radius: 12px; cursor: pointer; line-height: 1.25;
    box-shadow: 0 4px 12px rgba(93,58,31,.1);
  }
  .quiz-fab__all > button.is-on {
    background: var(--green-soft); border-color: var(--green); color: var(--green);
  }
   .quiz-fab .cta:disabled { opacity: .4; }
  .screen--quiz.has-answer .quiz-fab .cta:not(:disabled) { animation: fabPop .35s ease; }
  @keyframes fabPop { 0%{transform:scale(.97)} 50%{transform:scale(1.02)} 100%{transform:scale(1)} }
}

/* ============================================================
   V3.4 — Lightbox (zoom tela cheia) + botão "todas" no rodapé
   ============================================================ */
.rel-footer { margin-top: 12px; }
.rel-footer:empty { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(45, 31, 16, .92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__top {
  display: flex; align-items: center; justify-content: space-between;
  padding: calc(12px + env(safe-area-inset-top)) 18px 8px;
}
.lightbox__count { color: rgba(255,255,255,.8); font-size: 13px; font-weight: 600; }
.lightbox__close {
  width: 36px; height: 36px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.16); color: #fff;
  font-size: 17px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.lightbox__close:active { background: rgba(255,255,255,.28); }
.lightbox__stage {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; padding: 0 8px; min-height: 0;
}
.lightbox__img {
  max-height: 100%; max-width: 100%; width: auto; object-fit: contain;
  border-radius: 10px; box-shadow: 0 12px 40px rgba(0,0,0,.4);
  animation: lbZoom .25s cubic-bezier(.34,1.3,.64,1);
}
@keyframes lbZoom { from { transform: scale(.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.lightbox__nav {
  flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%;
  border: none; background: rgba(255,255,255,.16); color: #fff;
  font-size: 26px; line-height: 1; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.lightbox__nav:active { background: rgba(255,255,255,.3); }
.lightbox__nav:disabled { opacity: .25; }
.lightbox__bar {
  padding: 10px 18px calc(16px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; gap: 10px; align-items: center;
}
.lightbox__title {
  color: rgba(255,255,255,.85); font-size: 13px; font-weight: 500; text-align: center;
  letter-spacing: .01em;
}
.lightbox__actions { display: flex; gap: 14px; align-items: center; }
/* "Ver outra" como link discreto (estilo Apple) */
.lightbox__actions .btn-ghost {
  flex: 0 0 auto; color: rgba(255,255,255,.6); border: none; background: transparent;
  font-size: 14px; font-weight: 500; padding: 8px 6px;
}
.lightbox__actions .btn-ghost:hover { background: transparent; color: #fff; }
/* "Adicionar" pill compacto */
.lightbox__actions .cta {
  flex: 0 0 auto; width: auto; margin: 0;
  padding: 11px 22px; font-size: 15px; font-weight: 600;
  border-radius: 980px; box-shadow: none;
}
.lightbox__actions .cta:hover:not(:disabled) { transform: none; box-shadow: none; opacity: .92; }
.lightbox__actions .cta.is-added {
  background: rgba(255,255,255,.16); color: #fff;
}

/* dica de tocar pra ampliar */
.rel-hint {
  font-size: 12px; color: var(--muted); margin: 2px 0 10px; text-align: center;
}
/* botão "todas" no rodapé reaproveita .rel-allbtn */

/* ============================================================
   V3.5 — Animação "página voando pro planner" (construção)
   ============================================================ */
.fly-page {
  position: fixed; z-index: 300; pointer-events: none;
  object-fit: cover; object-position: top;
  border-radius: 6px; border: 2px solid #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  transition: left .7s cubic-bezier(.5,0,.3,1), top .7s cubic-bezier(.5,0,.3,1),
              width .7s ease, height .7s ease, opacity .7s ease, transform .7s ease;
}
/* leve "respiração" do contador ao receber página */
.qpc.bump, .build-bar.pulse { will-change: transform; }

/* ============================================================
   V3.6 — Landing enxuta (estilo da arte) + lightbox refinado
   ============================================================ */
.landing__title { margin-top: 8px; }
.landing__sub { margin-bottom: 14px; }
.landing__hero { margin: 16px 0; padding: 18px; }
.landing__hero .hero-img { max-height: 260px; }

.brain-box {
  background: linear-gradient(180deg, #fdf6e9 0%, #fbeed6 100%);
  border: 1px solid var(--orange-light);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 18px 0;
}
.brain-box__title {
  font-weight: 800; color: var(--brown); font-size: 15px; margin-bottom: 12px;
}
.brain-list { list-style: none; display: grid; gap: 10px; }
.brain-list li {
  position: relative; padding-left: 26px; font-size: 14.5px; color: var(--brown-soft); line-height: 1.4;
}
.brain-list li::before {
  content: '✓'; position: absolute; left: 0; top: 0;
  color: var(--green); font-weight: 800;
}

/* ============ Logo no header ============ */
.brand-logo { height: 30px; width: auto; display: block; }
@media (max-width: 480px){ .brand-logo { height: 26px; } }

/* ============ Home mockup (capa + páginas) ============ */
.screen--landing .landing__hero {
  background: none; box-shadow: none; padding: 8px 0; margin: 10px 0 6px;
}
.screen--landing .hero-img { max-height: none; width: 100%; max-width: 460px; filter: drop-shadow(0 14px 30px rgba(93,58,31,.16)); }


/* ============ Resultado centralizado ============ */
.screen--diag .container { text-align: center; }
.screen--diag .bars { text-align: left; }
.screen--diag .diag-insight__card { text-align: left; }

/* ============ Build: resumo do que foi montado ============ */
.build-resumo {
  background: var(--green-soft); border: 1px solid #c2e6d3;
  border-radius: var(--radius); padding: 16px 18px; margin: 6px 0 22px;
}
.build-resumo__head { font-size: 15px; color: var(--brown); margin-bottom: 12px; text-align: center; }
.build-resumo__head strong { color: var(--green); }
.build-resumo__empty { font-size: 14px; color: var(--brown-soft); text-align: center; }
.build-resumo__chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.resumo-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; border: 1px solid #c2e6d3; border-radius: 99px;
  padding: 6px 12px; font-size: 13px; font-weight: 600; color: var(--brown);
}
.resumo-chip__n {
  background: var(--green); color: #fff; font-size: 11px; font-weight: 800;
  border-radius: 99px; padding: 0 7px; line-height: 17px; min-width: 17px; text-align: center;
}
.build-more-title {
  font-size: 15px; font-weight: 700; color: var(--brown); text-align: center; margin: 8px 0 12px;
}

/* ============ Oferta: ações da galeria + preço ============ */
.offer-pages__actions { display: flex; flex-direction: column; gap: 8px; align-items: center; margin-top: 6px; }
.offer-pages__actions .btn-ghost { width: auto; }
.price-box__pages { font-size: 14px; color: var(--brown-soft); margin-bottom: 8px; }

/* ============ Depoimentos em slider ============ */
.tslider {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch; padding: 4px 2px 8px; margin: 0 -4px;
}
.tslider::-webkit-scrollbar { display: none; }
.tcard {
  flex: 0 0 84%; scroll-snap-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px; box-shadow: var(--shadow-sm); text-align: center;
}
@media (min-width: 700px){ .tcard { flex-basis: 32%; } }
.tcard img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px;
  border: 3px solid var(--orange-light);
}
.tcard blockquote {
  font-size: 14px; color: var(--brown); line-height: 1.5; font-style: italic; margin-bottom: 10px;
}
.tcard figcaption { font-size: 12px; font-weight: 700; color: var(--orange-dark); }
.tslider__dots { display: flex; gap: 6px; justify-content: center; margin-top: 6px; }
.tdot { width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: all .2s; }
.tdot.is-on { background: var(--orange-dark); width: 18px; border-radius: 99px; }


/* ============ Ajustes finos ============ */
.screen--build > .container > .pill { display: block; width: fit-content; margin-left: auto; margin-right: auto; }

/* ============ Popup "adicionar mais páginas" ============ */
.addmore {
  position: fixed; inset: 0; z-index: 180;
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .3s cubic-bezier(.4,0,.2,1);
  visibility: hidden;
}
.addmore.is-open { transform: translateY(0); visibility: visible; }
.addmore__head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 18px 12px;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.addmore__head strong { display: block; font-size: 16px; color: var(--brown); }
.addmore__sub { font-size: 12px; color: var(--muted); }
.addmore__close {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  border: 1.5px solid var(--line); background: var(--white); color: var(--brown-soft);
  font-size: 16px; cursor: pointer;
}
.addmore__body { flex: 1; overflow-y: auto; padding: 16px 18px 20px; }
.addmore__foot {
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  background: var(--white); border-top: 1px solid var(--line);
}
.addmore-sec { margin-bottom: 22px; }
.addmore-sec__t { font-size: 15px; font-weight: 800; color: var(--brown); margin-bottom: 10px; }
.addmore-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
@media (min-width: 560px){ .addmore-grid { grid-template-columns: repeat(3,1fr); } }
@media (min-width: 860px){ .addmore-grid { grid-template-columns: repeat(4,1fr); } }
.addmore-empty { text-align: center; font-size: 15px; color: var(--brown-soft); padding: 40px 0; }


/* build-bar: sem mini-pilha (evita sobreposição com o texto) */
.build-bar__mini { display: none !important; }
.build-bar__txt { white-space: nowrap; }

/* ============================================================
   PÁGINA DE VENDAS V4 — antes/depois, por que funciona, checkout
   ============================================================ */
/* Antes × Depois */
.ba { margin: 30px 0; }
.ba__grid { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; }
.ba__row {
  display: flex; gap: 14px; align-items: center;
  background: var(--white); border-radius: var(--radius); padding: 16px;
  box-shadow: var(--shadow-sm);
}
.ba__icon { font-size: 26px; flex-shrink: 0; }
.ba__bars { flex: 1; }
.ba__label { font-size: 13px; font-weight: 600; color: var(--brown); display: block; margin-bottom: 8px; }
.ba__line { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.ba__tag { font-size: 10px; font-weight: 700; width: 72px; flex-shrink: 0; text-transform: uppercase; letter-spacing: .03em; }
.ba__tag--bad { color: var(--red); }
.ba__tag--good { color: var(--green); }
.ba__track { flex: 1; height: 9px; background: var(--cream-2); border-radius: 99px; overflow: hidden; }
.ba__track i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg,#f0a98a,var(--red)); }
.ba__track i.good { background: linear-gradient(90deg,#7fd0a8,var(--green)); }
.ba__bad, .ba__good { font-size: 12px; font-weight: 800; width: 46px; text-align: right; flex-shrink: 0; }
.ba__bad { color: var(--red); }
.ba__good { color: var(--green); }

/* Por que funciona */
.why { margin: 30px 0; }
.why__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.why__card {
  background: var(--white); border-radius: var(--radius); padding: 16px 14px;
  box-shadow: var(--shadow-sm); text-align: center;
}
.why__card span { font-size: 26px; display: block; margin-bottom: 8px; }
.why__card strong { display: block; font-size: 14px; color: var(--brown); margin-bottom: 6px; }
.why__card p { font-size: 12.5px; color: var(--brown-soft); line-height: 1.45; }

/* Checkout rico */
.checkout {
  margin: 30px 0 16px; text-align: center;
  background: linear-gradient(165deg, #fff 0%, var(--orange-light) 130%);
  border: 2px solid var(--orange); border-radius: var(--radius-lg);
  padding: 26px 20px; box-shadow: 0 12px 34px rgba(232,149,74,.22);
}
.checkout__badge {
  display: inline-block; background: var(--brown); color: #fff;
  font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 99px; margin-bottom: 14px;
}
.checkout__name { font-size: 14px; color: var(--brown-soft); margin-bottom: 10px; }
.checkout__anchor { font-size: 14px; color: var(--muted); margin-bottom: 2px; }
.checkout__anchor s { margin: 0 4px; }
.checkout__off { background: var(--green); color: #fff; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 6px; margin-left: 4px; }
.checkout__price { display: flex; align-items: flex-start; justify-content: center; gap: 2px; color: var(--green); line-height: 1; margin: 6px 0; }
.checkout__cur { font-size: 24px; font-weight: 700; margin-top: 8px; }
.checkout__val { font-size: 68px; font-weight: 800; letter-spacing: -0.03em; }
.checkout__cents { font-size: 28px; font-weight: 800; margin-top: 8px; }
.checkout__inst { font-size: 15px; color: var(--brown); margin-bottom: 16px; }
.checkout__inst strong { color: var(--brown); }
.checkout__cta { animation: pulse 2.4s ease-in-out infinite; }
.checkout__timer { font-size: 13px; color: var(--muted); margin-top: 12px; }
.checkout__trust { display: flex; flex-wrap: wrap; gap: 10px 16px; justify-content: center; margin-top: 16px; font-size: 12px; color: var(--brown-soft); font-weight: 600; }


/* lista de montagem do loading: altura limitada + scroll suave */
.loading-checks { max-height: 200px; overflow-y: auto; scroll-behavior: smooth; }
.loading-checks li { animation: fadeUp .3s ease; }

/* imagem + cupom no checkout */
.checkout__img { max-width: 230px; width: 70%; margin: 4px auto 10px; display: block; filter: drop-shadow(0 10px 22px rgba(93,58,31,.18)); }
.checkout__coupon {
  display: inline-block; margin: 0 auto 14px; font-size: 12px; color: var(--green);
  background: var(--green-soft); border: 1px dashed var(--green); border-radius: 8px; padding: 5px 12px; font-weight: 700;
}
.checkout__coupon strong { letter-spacing: .02em; }

/* ============================================================
   LOADING V2 — anel de progresso elegante
   ============================================================ */
.load2 { text-align: center; padding-top: 18px; }
/* palco do mockup com páginas voando por trás */
.load-stage {
  position: relative;
  width: 100%; max-width: 320px;
  height: 240px;
  margin: 6px auto 18px;
  display: flex; align-items: center; justify-content: center;
}
.load-mockup {
  position: relative;
  z-index: 3;
  max-height: 220px; max-width: 80%;
  object-fit: contain;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,.18));
  animation: bounceSoft 1.8s ease-in-out infinite;
}
/* barra de progresso horizontal */
.load-bar {
  display: flex; align-items: center; gap: 10px;
  max-width: 340px; margin: 0 auto 18px;
}
.load-bar__track {
  flex: 1; height: 12px;
  background: var(--cream-2);
  border-radius: 99px; overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.06);
}
.load-bar__fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  border-radius: 99px;
  transition: width .15s linear;
}
.load-bar__pct {
  font-size: 15px; font-weight: 800; color: var(--orange-dark);
  min-width: 42px; text-align: right; letter-spacing: -0.02em;
}
.load2__title { font-size: 20px; font-weight: 800; color: var(--brown); margin: 6px 0 4px; }
.load2__status { font-size: 14px; color: var(--brown-soft); min-height: 20px; margin-bottom: 16px; transition: opacity .2s; }
.load2__checks { text-align: left; max-height: 220px; }
.load2__checks li {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 4px; font-size: 14px; color: var(--brown);
  border-bottom: 1px dashed var(--line); animation: slideCheck .35s ease;
}
.load2__checks li:last-child { border-bottom: none; }
.load2__checks li::before {
  content: '✓'; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: #fff; font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
@keyframes slideCheck { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: translateX(0); } }


/* ===== Loading: sucesso + selo + confete ===== */
.load-success {
  display: none;
  background: #e7f6e9; color: #2e7d4f;
  border: 1px solid rgba(46,125,79,.25);
  border-radius: 14px; padding: 14px 18px;
  font-weight: 800; font-size: 16px;
  margin-bottom: 16px; text-align: center;
  opacity: 0; transform: translateY(-6px);
  transition: opacity .4s ease, transform .4s ease;
}
.load-success.is-show { display: block; opacity: 1; transform: translateY(0); animation: fadeUp .4s ease; }
.load-badge {
  position: absolute; top: 4px; right: 34px; z-index: 6;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green, #4caf72); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 800;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  opacity: 0; transform: scale(.4);
  transition: opacity .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}
.load-badge.is-show { opacity: 1; transform: scale(1); }
.confetti { position: absolute; inset: -20px 0 0 0; z-index: 5; pointer-events: none; overflow: visible; }
.confetti i {
  position: absolute; top: -20px; border-radius: 2px; opacity: 0;
  animation-name: confettiFall; animation-timing-function: linear; animation-fill-mode: forwards;
}
@keyframes confettiFall {
  0%   { opacity: 0; transform: translateY(-20px) rotate(0deg); }
  10%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(300px) rotate(540deg); }
}


/* ===== Atalho "Escolher por mim" ===== */
.cta-auto{
  display:block; width:100%; max-width:440px; margin:12px auto 0;
  background:#fff; border:1.5px solid var(--orange);
  color:var(--orange-dark); font-weight:700; font-size:15px;
  padding:14px 18px; border-radius:980px; cursor:pointer; text-align:center;
  transition:background .15s ease, transform .1s ease;
}
.cta-auto:active{ background:var(--cream-2); transform:scale(.99); }
