/* The question pages (public/<slug>/index.html). Plain HTML with no JavaScript,
   so a crawler reads all of it and a phone paints it at once. */
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
}
:root {
  --paper: #fbfaf6;
  --ink: #1c1a15;
  --soft: #5b5648;
  --line: #e3ddcf;
  --gold: #8a6a12;
  --gold-bright: #d4af37;
  --night: #121212;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Outfit", var(--sans);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--gold); }

.top { background: var(--night); }
.top div { max-width: 760px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { font: 700 18px/1 var(--display); letter-spacing: .12em; color: #fff; text-decoration: none; }
.brand b { color: var(--gold-bright); font-weight: 700; }
.top a.go { color: var(--night); background: var(--gold-bright); font: 700 14px/1 var(--display); padding: 10px 16px; border-radius: 999px; text-decoration: none; white-space: nowrap; }

html { overflow-x: clip; }
.col { max-width: 760px; margin: 0 auto; padding: 0 20px; }
.col:last-of-type { padding-bottom: 56px; }

.head { padding-top: 36px; }
.crumb { font-size: 14px; color: var(--soft); margin: 0 0 18px; }
.crumb a { color: var(--soft); }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 2.75rem); font-weight: 800; margin: 0 0 18px; letter-spacing: -.01em; }
h2 { font-size: 1.6rem; font-weight: 700; margin: 44px 0 12px; }
h3 { font-size: 1.1rem; font-weight: 700; margin: 26px 0 6px; }
p { margin: 0 0 16px; }
.answer { font-size: 1.14rem; line-height: 1.55; }
ul, ol { margin: 0 0 18px; padding-left: 22px; }
li { margin-bottom: 8px; }
.note { font-size: 15px; color: var(--soft); }

.by { display: flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: 15px; color: var(--soft); }
.by img { width: 44px; height: 44px; border-radius: 50%; }
.by span { display: block; }
.by strong { color: var(--ink); font-weight: 600; }

/* Two bars: their lengths are the two amounts, so the eye reads the multiple. */
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 62px 1fr; align-items: center; column-gap: 8px; font-variant-numeric: tabular-nums; }
.bar span { font-size: 13px; color: var(--soft); }
.bar i { display: block; grid-column: 2; height: 12px; border-radius: 3px; background: #b9b19d; }
.bar b { grid-column: 2; font-size: 15px; font-weight: 700; }
.bar.sold i { background: var(--gold-bright); }

.typical { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 18px; }
.typical div { background: var(--night); color: #d9d4c7; border-radius: 10px; padding: 16px 18px; }
.typical b { display: block; font: 800 2.1rem/1.1 var(--display); color: var(--gold-bright); }
.typical span { font-size: 15px; }

.cases { list-style: none; padding: 0; margin: 14px 0 16px; display: grid; gap: 12px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 0; }
.case-top { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.case h3 { margin: 0; }
.case strong { font: 800 1.7rem/1 var(--display); color: var(--gold); }
.proc { font-size: 15px; color: var(--soft); margin: 4px 0 14px; }
.sales { font-size: 14px; color: var(--soft); margin: 10px 0 0; }
.case.total { background: var(--night); border-color: var(--night); color: #fff; }
.case.total strong { color: var(--gold-bright); }
.case.total .proc, .case.total .sales, .case.total .bar span { color: #a9a394; }

/* A dark band across the whole page, breaking the column for one picture. */
.band { background: var(--night); color: #f3efe6; margin: 40px calc(50% - 50vw); padding: 34px max(20px, calc(50vw - 360px)); }
.band h2 { color: #fff; margin-top: 0; }
.band img { width: 100%; }
.band figure { margin: 10px 0 0; }
.band figcaption, .band .note { color: #a9a394; }

.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 16px 0 8px; }
.side { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.city { font-size: 14px; color: var(--soft); margin: 0; }
.big { font: 800 1.9rem/1.1 var(--display); margin: 4px 0 0; }
.unit { font-size: 14px; color: var(--soft); margin: 0 0 12px; }
.dots { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; margin-bottom: 12px; }
.dots i { display: block; aspect-ratio: 1; border-radius: 50%; background: #e3ddcf; }
.dots i.on { background: var(--gold-bright); }
.result { font-weight: 700; margin: 0; }

.chart { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; margin: 14px 0; }
.chart h3 { margin: 0 0 10px; }
.camp { margin-top: 14px; }
.camp p { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.camp .bar { grid-template-columns: 52px 1fr 76px; }
.camp .bar i { grid-column: auto; height: 10px; justify-self: start; }
.camp .bar b { grid-column: auto; text-align: right; font-size: 14px; }

.path { list-style: none; counter-reset: step; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.path li { counter-increment: step; background: #1d1b17; border: 1px solid #3a352a; border-radius: 10px; padding: 12px 14px 12px 48px; margin: 0; position: relative; }
.path li::before { content: counter(step); position: absolute; left: 14px; top: 13px; width: 24px; height: 24px; border-radius: 50%; background: var(--gold-bright); color: var(--night); font: 700 14px/24px var(--display); text-align: center; }
.path b { display: block; font-family: var(--display); color: #fff; }
.path span { font-size: 15px; color: #d9d4c7; }

.split { display: grid; gap: 22px; margin-bottom: 14px; }
.split .city { color: #a9a394; }
.split .big { color: #fff; margin-bottom: 8px; }
.split .bar { display: block; }
.split .bar i { height: 16px; }
.split p:last-child { margin: 8px 0 0; }

figure { margin: 24px 0; }
/* The product screens, staged as on /agencias: dark ground, gold glow, tilted layers. */
.stage-fig { margin: 28px 0; }
.stage { position: relative; aspect-ratio: 16 / 11; border-radius: 14px; overflow: hidden; perspective: 1600px; isolation: isolate;
  background: radial-gradient(90% 70% at 78% 8%, rgba(227, 181, 60, .34), transparent 60%), radial-gradient(70% 60% at 10% 100%, rgba(227, 181, 60, .12), transparent 60%), linear-gradient(160deg, #1a160d, #0a0a0a 62%); }
.stage::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(227, 181, 60, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(227, 181, 60, .09) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent 75%); mask-image: radial-gradient(80% 70% at 60% 30%, #000, transparent 75%); }
.layer { position: absolute; border-radius: 10px; overflow: hidden; box-shadow: 0 40px 70px -24px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .09), 0 0 50px -14px rgba(227, 181, 60, .45); }
.layer img { width: 100%; }
.layer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, .1), transparent 34%); pointer-events: none; }
.chip { border-radius: 12px; box-shadow: 0 24px 50px -12px rgba(0, 0, 0, .95), 0 0 0 1px rgba(227, 181, 60, .5), 0 0 40px -6px rgba(227, 181, 60, .55); }
.s-funil .back { width: 86%; left: 7%; top: 12%; transform: rotateX(14deg) rotateZ(-1.5deg); }
.s-funil .pill { width: 40%; right: 5%; top: 6%; transform: rotate(2deg); }
.s-funil .rem { width: 56%; left: 4%; bottom: 7%; transform: rotate(-2deg); }
.s-duo .back { width: 66%; left: 3%; top: 7%; transform: rotateY(14deg) rotateX(5deg); opacity: .92; }
.s-duo .front { width: 68%; right: 3%; bottom: 6%; transform: rotateY(-11deg) rotateX(4deg); }
.s-flat { aspect-ratio: auto; padding: 6% 5%;
  background: radial-gradient(75% 85% at 50% 45%, rgba(227, 181, 60, .5), transparent 72%), radial-gradient(90% 70% at 85% 0%, rgba(227, 181, 60, .3), transparent 60%), linear-gradient(160deg, #1f1a0f, #0a0a0a 70%); }
.window { position: relative; border-radius: 12px; overflow: hidden; background: #15140f;
  box-shadow: 0 0 0 1px rgba(227, 181, 60, .55), 0 34px 70px -24px rgba(0, 0, 0, .95), 0 0 90px -6px rgba(227, 181, 60, .65); }
.window-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #24221c; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: #e0695c; }
.window-bar i:nth-child(2) { background: #e3b53c; }
.window-bar i:nth-child(3) { background: #5cb874; }
.window-bar span { margin-left: 10px; font-size: 12px; color: #a9a394; }
.window img { width: 100%; filter: brightness(1.14) saturate(1.1); }
.window::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255, 255, 255, .1), transparent 30%); pointer-events: none; }
figcaption { font-size: 14px; color: var(--soft); margin-top: 8px; }
.quote { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.quote img { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.quote blockquote { margin: 0; }
.quote p { font: 700 1.2rem/1.3 var(--display); margin: 0 0 6px; }
.quote footer { border: 0; font-size: 14px; color: var(--soft); }

table { width: 100%; border-collapse: collapse; margin: 14px 0 12px; font-size: 16px; }
th { text-align: left; font-size: 14px; color: var(--soft); font-weight: 600; border-bottom: 2px solid var(--ink); padding: 8px 12px 8px 0; }
td { border-bottom: 1px solid var(--line); padding: 11px 12px 11px 0; vertical-align: top; }

.cta { background: var(--night); color: #f3efe6; padding: 26px 24px; border-radius: 10px; margin: 40px 0 10px; }
.cta h2 { color: #fff; margin: 0 0 8px; font-size: 1.4rem; }
.cta p { margin: 0 0 16px; }
.cta a { display: inline-block; background: var(--gold-bright); color: var(--night); font: 700 16px/1 var(--display); padding: 15px 24px; border-radius: 999px; text-decoration: none; }
a:focus-visible { outline: 3px solid var(--gold-bright); outline-offset: 2px; }

@media (min-width: 760px) {
  .cases { grid-template-columns: 1fr 1fr; }
  .path { grid-template-columns: 1fr 1fr 1fr; }
  .split { grid-template-columns: 1fr 1fr; }
}

footer { border-top: 1px solid var(--line); }
footer div { max-width: 760px; margin: 0 auto; padding: 22px 20px 34px; font-size: 14px; color: var(--soft); }
footer a { color: var(--soft); margin-right: 14px; display: inline-block; padding: 3px 0; }
