/* ProsUp landing. Tokens do app (apps/mobile/src/theme.ts): fundo #f6f4f1, laranja da logo #F94603.
   O laranja da logo fica para gráficos; texto e botões usam um tom mais escuro (contraste 4.8:1). */
:root {
  --sc-canvas: #f6f4f1;
  --sc-surface: #ffffff;
  --sc-ink: #1d1d1f;
  --sc-ink-soft: #5c5853;
  --sc-accent: #c43a00;
  --sc-accent-ink: #ffffff;
  --sc-font-display: "Geist", system-ui, sans-serif;
  --sc-font-text: "Geist", system-ui, sans-serif;
  --sc-font-mono: "Geist Mono", ui-monospace, monospace;

  --brand: #f94603;
  --brand-soft: #fff0e8;
  --border: #e3dfda;
  --ok: #2e7d32;
  --ok-soft: #e8f5e9;
  --warn-bg: #fff8e1;
  --warn-ink: #7a5f00;
  --rail-w: 92px;
  --bar-h: 64px;

  /* Fundo claro: sombras mais leves e tingidas para o tom do fundo, borda de luz branca. */
  --sc-shadow-color: 28 25% 35%;
  --sc-e1: 0 1px 2px hsl(var(--sc-shadow-color) / 0.12), 0 1px 1px hsl(var(--sc-shadow-color) / 0.08);
  --sc-e2: 0 2px 4px hsl(var(--sc-shadow-color) / 0.1), 0 8px 18px hsl(var(--sc-shadow-color) / 0.1);
  --sc-e3: 0 4px 8px hsl(var(--sc-shadow-color) / 0.1), 0 22px 48px hsl(var(--sc-shadow-color) / 0.16);
  --sc-edge: inset 0 1px 0 rgb(255 255 255 / 0.9);
}

.sc-grain { opacity: 0.03; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

main { margin-left: var(--rail-w); }
svg use { pointer-events: none; }

/* ------------------------------------------------------------ tipografia -- */
.h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; margin: 0; }
.h3 { font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.6rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; margin: 0; }
.guide-p { color: var(--sc-ink-soft); max-width: 46ch; margin: 0; text-wrap: pretty; }
.sc-stack > .guide-p { margin-top: var(--sc-3); }
.sample { font-family: var(--sc-font-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--sc-ink-soft); font-weight: 500; }
.sample--below { margin: var(--sc-3) 0 0; }
.soon { font-style: normal; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em; color: var(--warn-ink); background: var(--warn-bg); border-radius: var(--sc-r-pill); padding: 0.1em 0.55em; white-space: nowrap; vertical-align: 0.1em; }
.lnk { color: #2a6db0; }

/* ------------------------------------------------------------- CTA e botões -- */
.cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--sc-accent); color: var(--sc-accent-ink);
  font-weight: 700; text-decoration: none; white-space: nowrap;
  padding: 0.8rem 1.35rem; border-radius: var(--sc-r-pill);
  box-shadow: var(--sc-e2);
  transition: transform var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out);
}
.cta:hover { background: #a93200; }
.cta:active { transform: scale(0.97); }
.chip-btn, .segmented button, .vars button, .link-btn {
  font: inherit; cursor: pointer; border: 1px solid var(--border); background: var(--sc-surface); color: var(--sc-ink);
  border-radius: var(--sc-r-pill); padding: 0.45rem 0.95rem; font-size: 0.92rem; font-weight: 600;
  transition: background-color var(--sc-d-fast) var(--sc-ease-out), border-color var(--sc-d-fast) var(--sc-ease-out), transform 120ms var(--sc-ease-out);
}
.chip-btn:active, .segmented button:active, .vars button:active { transform: scale(0.97); }
.chip-btn[aria-pressed="true"] { background: var(--brand-soft); border-color: var(--sc-accent); color: var(--sc-accent); }
@media (hover: hover) and (pointer: fine) {
  .chip-btn:hover, .vars button:hover, .link-btn:hover { border-color: #cfc8c0; }
}
.segmented { display: inline-flex; gap: 4px; padding: 4px; background: #ebe7e2; border-radius: var(--sc-r-pill); }
.segmented button { border-color: transparent; background: transparent; padding: 0.4rem 1rem; }
.segmented button[aria-pressed="true"] { background: #fff; border-color: var(--sc-accent); box-shadow: var(--sc-e1); }
.link-btn { border: 0; background: none; padding: 0.2rem 0; color: var(--sc-accent); text-decoration: underline; text-underline-offset: 0.2em; font-weight: 600; }

/* ---------------------------------------------------- abas (navegação) -- */
.tabs {
  position: fixed; z-index: var(--sc-z-chrome); left: 0; top: 0; bottom: 0; width: var(--rail-w);
  display: flex; flex-direction: column; align-items: center; gap: var(--sc-2); padding: var(--sc-5) 0;
  background: var(--sc-surface); border-right: 1px solid var(--border);
}
.tabs__mark { margin-bottom: var(--sc-5); padding: 6px; border-radius: var(--sc-r-md); }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px; width: 76px; padding: 8px 0;
  color: var(--sc-ink); text-decoration: none; font-size: 0.72rem; font-weight: 600; border-radius: var(--sc-r-md);
  transition: color var(--sc-d-fast) var(--sc-ease-out), background-color var(--sc-d-fast) var(--sc-ease-out);
}
.tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab[aria-current="page"] { color: var(--sc-accent); }
.tab[aria-current="page"] svg { stroke-width: 2.2; }
@media (hover: hover) and (pointer: fine) { .tab:hover { background: #f3efea; } }
.tab--new { margin-block: var(--sc-2); }
.tab__plus { width: 46px; height: 46px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; box-shadow: var(--sc-e2); }
.tab__plus svg { stroke: #fff; stroke-width: 2.6; width: 24px; height: 24px; }

/* ----------------------------------------------------- peças do app -- */
.phone {
  background: var(--sc-surface); border: 1px solid var(--border); border-radius: 30px;
  box-shadow: var(--sc-e3), var(--sc-edge); padding: 16px; width: 300px; max-width: none;
}
.ph-head { display: flex; align-items: center; gap: 6px; font-weight: 800; letter-spacing: -0.02em; }
.ph-avatar { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--brand-soft); color: var(--sc-accent); display: grid; place-items: center; font-size: 0.8rem; font-weight: 800; }
.seg { display: flex; gap: 3px; padding: 3px; margin: 12px 0; background: #ebe7e2; border-radius: var(--sc-r-pill); font-size: 0.78rem; font-weight: 600; }
.seg span { flex: 1; text-align: center; padding: 5px 0; border-radius: var(--sc-r-pill); color: var(--sc-ink-soft); }
.seg .seg__on { background: #fff; color: var(--sc-ink); border: 1px solid var(--brand); }
.feed { display: grid; gap: 8px; }
.feed__item { display: flex; gap: 10px; align-items: center; padding: 10px; border: 1px solid var(--border); border-radius: 14px; font-size: 0.8rem; }
.feed__item > div { display: grid; gap: 2px; min-width: 0; }
.feed__item b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__item span { font-family: var(--sc-font-mono); font-weight: 600; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.feed__item--dim { opacity: 0.55; }
.feed__img { flex: none; width: 42px; height: 42px; padding: 7px; border-radius: 10px; background: #f3efea; fill: none; stroke: #8a8178; stroke-width: 2.2; stroke-linejoin: round; }
.chip { font-style: normal; font-family: var(--sc-font-text); font-size: 0.68rem; font-weight: 700; padding: 0.15em 0.55em; border-radius: var(--sc-r-pill); background: var(--brand-soft); color: var(--sc-accent); white-space: nowrap; }
.chip--ok { background: var(--ok-soft); color: var(--ok); }
.ph-btn { display: block; text-align: center; padding: 11px; border-radius: 12px; background: var(--brand); color: #fff; font-weight: 700; font-size: 0.86rem; user-select: none; }
.ph-btn--ghost { background: #fff; color: var(--sc-ink); border: 1px solid var(--border); }

/* ------------------------------------------------------- 1 · hero -- */
/* Vídeo do carrinho à direita, apagando nas bordas para o fundo da página; o texto fica no fundo limpo. */
.hero__stage {
  display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center;
  padding: var(--sc-7) var(--sc-gutter); background: var(--sc-canvas);
}
.hero__media {
  position: absolute; top: 0; bottom: 0; right: 0; width: 64%; z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, transparent 6%, #000 38%), linear-gradient(to bottom, #000 82%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, transparent 6%, #000 38%), linear-gradient(to bottom, #000 82%, transparent 100%);
  mask-composite: intersect;
}
.hero__media :is(video, img) { object-position: 38% 55%; }
.hero__guide { position: relative; z-index: 2; }
.hero__title { font-size: clamp(2.3rem, 1.4rem + 3.2vw, 4.1rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.04em; text-wrap: balance; margin: 0; max-width: 13ch; }
.hero__lede { margin: var(--sc-5) 0 0; font-size: var(--sc-t-lg); line-height: 1.45; color: var(--sc-ink-soft); max-width: 34ch; text-wrap: pretty; }
.hero__act { margin: var(--sc-6) 0 0; display: flex; align-items: center; gap: var(--sc-4); flex-wrap: wrap; }
.hero__act span { font-size: 0.86rem; color: var(--sc-ink-soft); }
.hero__card { position: absolute; z-index: 3; }
.hero__card--link { right: var(--sc-gutter); bottom: 9%; }
.hero__card--sent { right: var(--sc-gutter); top: 10%; }
.hero__card .sheet { width: 280px; }
.sent {
  margin: 0; display: flex; gap: 8px; align-items: center; padding: 12px 16px; border-radius: 14px;
  background: #1d1d1f; color: #fff; font-weight: 600; font-size: 0.9rem; box-shadow: var(--sc-e3);
}
.sent svg { width: 18px; height: 18px; fill: none; stroke: #7ee08a; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.sheet {
  width: 300px; background: var(--sc-surface); border-radius: 22px; padding: 18px; display: grid; gap: 10px;
  box-shadow: var(--sc-e3), var(--sc-edge); border: 1px solid var(--border);
}
.sheet__head { display: flex; gap: 10px; align-items: center; }
.sheet__head > div { display: grid; min-width: 0; }
.sheet__head b { font-size: 0.95rem; }
.sheet__head span:not(.sheet__icon) { font-size: 0.76rem; color: var(--sc-ink-soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sheet__icon { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; }
.sheet__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--brand); stroke-width: 2.2; stroke-linecap: round; }

/* --------------------------------------------- 2 · o post se monta -- */
.compose {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--sc-7);
  padding: var(--sc-6) var(--sc-gutter); max-width: 74rem; margin-inline: auto;
}
.compose__guide .guide-p { margin-top: var(--sc-3); }
.chores { list-style: none; padding: 0; margin: var(--sc-6) 0 0; display: grid; gap: var(--sc-3); }
.chores li { display: flex; align-items: center; gap: var(--sc-3); font-weight: 500; transition: color var(--sc-d-base) var(--sc-ease-out); }
.chores .box { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid #c9c2ba; display: grid; place-items: center; transition: background-color var(--sc-d-base) var(--sc-ease-out), border-color var(--sc-d-base) var(--sc-ease-out); }
.chores .box svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity var(--sc-d-base) var(--sc-ease-out); }
.chores li.is-done { color: var(--sc-ink-soft); text-decoration: line-through; text-decoration-color: color-mix(in oklab, var(--sc-ink-soft) 60%, transparent); }
.chores li.is-done .box { background: var(--ok); border-color: var(--ok); }
.chores li.is-done .box svg { opacity: 1; }

.phone--compose { width: 340px; display: grid; gap: 12px; position: relative; }
.ph-title { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em; }
.fld { display: grid; gap: 4px; }
.fld > span { font-size: 0.74rem; font-weight: 600; color: var(--sc-ink-soft); }
.fld__in { border: 1px solid var(--border); border-radius: 10px; padding: 8px 10px; font-size: 0.84rem; font-family: var(--sc-font-mono); }
.prod { display: flex; gap: 10px; align-items: center; font-size: 0.82rem; }
.prod > div { display: grid; gap: 2px; }
.prod span { font-family: var(--sc-font-mono); font-weight: 700; }
.prod s { color: var(--sc-ink-soft); font-weight: 500; }
.prod__img { flex: none; width: 46px; height: 46px; padding: 8px; border-radius: 10px; background: #f3efea; fill: none; stroke: #8a8178; stroke-width: 2.2; stroke-linejoin: round; }
.cap { border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; font-size: 0.84rem; line-height: 1.45; min-height: 11.5em; }
.cap-line { display: block; opacity: 0.08; transform: translateY(3px); transition: opacity 260ms var(--sc-ease-out), transform 260ms var(--sc-ease-out); overflow-wrap: anywhere; }
.cap-line.is-on { opacity: 1; transform: none; }
.ph-btn--publish { transition: transform 140ms var(--sc-ease-out), background-color 200ms var(--sc-ease-out); }
[data-state="pressing"] .ph-btn--publish { transform: scale(0.97); background: #d93d02; }
[data-state="published"] .ph-btn--publish { background: var(--ok); }
.toast {
  position: absolute; left: 16px; right: 16px; bottom: -22px; margin: 0; padding: 10px 12px; border-radius: 12px;
  background: #1d1d1f; color: #fff; font-size: 0.82rem; font-weight: 600; display: flex; gap: 8px; align-items: center;
  opacity: 0; transform: translateY(8px); transition: opacity 260ms var(--sc-ease-out), transform 260ms var(--sc-ease-out);
}
.toast svg { width: 16px; height: 16px; fill: none; stroke: #7ee08a; stroke-width: 3; stroke-linecap: round; }
[data-state="published"] .toast { opacity: 1; transform: none; }

/* --------------------------------------------- 3 · formatos (interativo) -- */
.formats { padding-block: clamp(3rem, 7vw, 7rem); }
.formats__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sc-8); align-items: center; }
.pick { display: grid; gap: var(--sc-2); }
.sc-stack > .pick { margin-top: var(--sc-5); }
.pick__label { font-size: 0.78rem; font-weight: 600; color: var(--sc-ink-soft); }
.chips { display: flex; gap: var(--sc-2); flex-wrap: wrap; }
.chat { background: #dfe6ec; border-radius: 26px; padding: var(--sc-5); }
.chat__app { margin: 0 0 var(--sc-3); font-size: 0.8rem; font-weight: 700; color: #3b4a57; }
.bubble {
  background: #fff; border-radius: 18px 18px 18px 6px; padding: 10px; max-width: 420px; box-shadow: var(--sc-e1);
  font-size: 0.92rem; line-height: 1.45; display: grid; gap: 8px;
}
.bubble[data-app="whatsapp"] { background: #d9fdd3; border-radius: 18px 18px 6px 18px; margin-left: auto; }
.chat:has(.bubble[data-app="whatsapp"]) { background: #efeae2; }
.chat:has(.bubble[data-app="whatsapp"]) .chat__app { color: #54656f; }
.bubble__img { width: 100%; height: 150px; padding: 26px; border-radius: 12px; background: #f3efea; fill: none; stroke: #8a8178; stroke-width: 1.4; stroke-linejoin: round; }
.bubble__text { white-space: pre-wrap; overflow-wrap: anywhere; padding-inline: 4px; }
.bubble__text code { font-family: var(--sc-font-mono); font-size: 0.86em; background: #f0eeeb; padding: 0 0.25em; border-radius: 4px; }
.bubble__text tg-spoiler { background: #c9c9c9; color: transparent; border-radius: 3px; }
.bubble__meta { justify-self: end; font-size: 0.7rem; color: #6b7b88; }

/* ---------------------------------------------------- 4 · agenda (calma) -- */
.agenda { padding-block: clamp(3rem, 6vw, 6rem); }
.agenda__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--sc-5); flex-wrap: wrap; }
.strip { position: relative; margin: var(--sc-6) 0 0; padding: 0 0 var(--sc-4); height: 170px; border-bottom: 1px solid var(--border); }
.strip__axis { position: absolute; left: 0; right: 0; bottom: -1.7rem; display: flex; justify-content: space-between; font-family: var(--sc-font-mono); font-size: 0.75rem; color: var(--sc-ink-soft); }
.strip__posts { list-style: none; margin: 0; padding: 0; }
.strip__posts li {
  position: absolute; bottom: 0; left: calc(var(--at) * 100%); translate: -50% 0;
  display: grid; justify-items: center; gap: 4px; text-align: center; font-size: 0.8rem; width: 11rem;
}
.strip__posts li::after { content: ""; width: 2px; height: 40px; background: var(--brand); border-radius: 2px; order: 3; }
.strip__posts li:nth-child(2n)::after { height: 78px; }
.strip__posts b { font-family: var(--sc-font-mono); font-size: 0.95rem; }
.strip__posts span { color: var(--sc-ink-soft); }
.strip__posts li:first-child { translate: -10% 0; }
.strip__posts li:last-child { translate: -85% 0; }

/* ------------------------------------- 5 · pico: histórico de preço -- */
.history {
  --sc-ink: #f2f2f4; --sc-ink-soft: #b3b0b8; color: var(--sc-ink);
  --hist-bg: #141416; --hist-card: #1d1d20; --hist-line: #34343a;
}
.history__stage {
  background: var(--hist-bg);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: center; gap: var(--sc-7);
  padding: var(--sc-6) var(--sc-gutter);
}
.history__guide { position: relative; min-height: 15rem; }
.tip { position: absolute; inset: 0 0 auto 0; }
.tip .guide-p { margin-top: var(--sc-3); }
.history__panels { display: grid; gap: var(--sc-4); max-width: 44rem; }
.store {
  background: #fff; color: #1d1d1f; border-radius: 20px; padding: 16px 18px; box-shadow: 0 10px 30px rgb(0 0 0 / 0.35);
  position: relative;
}
.store__label { font-size: 0.72rem; font-weight: 700; color: #6b6b70; letter-spacing: 0.02em; }
.store__row { display: flex; gap: 14px; align-items: center; margin-top: 6px; }
.store__img { flex: none; width: 58px; height: 58px; padding: 9px; border-radius: 12px; background: #f3efea; fill: none; stroke: #8a8178; stroke-width: 2.2; stroke-linejoin: round; }
.store__title { margin: 0; font-weight: 600; font-size: 0.95rem; }
.store__price { margin: 2px 0 0; font-family: var(--sc-font-mono); display: flex; align-items: baseline; gap: 8px; }
.store__price b { font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; }
.store__price s { color: #6b6b70; font-size: 0.95rem; }
.store__badge {
  position: absolute; top: 14px; right: 14px; margin: 0; background: #d12a1f; color: #fff; font-weight: 800; font-size: 0.82rem;
  padding: 6px 10px; border-radius: 10px; opacity: 0; transform: scale(0.95) rotate(-3deg);
  transition: opacity 200ms var(--sc-ease-out), transform 260ms var(--sc-ease-out);
}
.store[data-phase="bf"] .store__badge { opacity: 1; transform: rotate(-3deg); }
.store[data-phase="bf"] .store__price b { color: #d12a1f; }

.chart-card { background: var(--hist-card); border: 1px solid var(--hist-line); border-radius: 20px; padding: 18px; box-shadow: var(--sc-e2); }
.chart-card__head { display: flex; justify-content: space-between; align-items: baseline; }
.chart-card__head b { font-size: 0.95rem; }
.history .sample { color: #a9a6ae; }
.readout { display: flex; align-items: baseline; gap: var(--sc-3); margin-top: var(--sc-3); font-family: var(--sc-font-mono); }
.readout__date { color: var(--sc-ink-soft); font-size: 0.85rem; min-width: 4.5em; }
.readout__price { font-size: 1.6rem; font-weight: 600; letter-spacing: -0.02em; }
.readout__min { margin-left: auto; color: #8fd498; font-size: 0.78rem; }
.chart { width: 100%; height: auto; margin-top: var(--sc-2); overflow: visible; }
.ch-grid { stroke: rgb(255 255 255 / 0.07); }
.ch-axis { fill: #a9a6ae; font-family: var(--sc-font-mono); font-size: 11px; }
.ch-min { stroke: #8fd498; stroke-width: 1; stroke-dasharray: 4 5; opacity: 0.7; }
.ch-band { fill: var(--brand); opacity: 0; transition: opacity 320ms var(--sc-ease-out); }
.history[data-reveal="true"] .ch-band { opacity: 0.16; }
.ch-ghost { fill: none; stroke: rgb(255 255 255 / 0.1); stroke-width: 2; }
.ch-line { fill: none; stroke: #ff6a2e; stroke-width: 2.6; stroke-linejoin: round; }
.ch-head { stroke: rgb(255 255 255 / 0.3); stroke-dasharray: 3 4; }
.ch-dot { fill: #ff6a2e; stroke: var(--hist-card); stroke-width: 3; }
.verdict {
  margin: var(--sc-3) 0 0; padding: 10px 12px; border-radius: 12px; background: #3a2b10; color: #ffd28c;
  font-weight: 600; font-size: 0.9rem; display: flex; gap: 10px; align-items: center;
  opacity: 0; transform: translateY(6px); transition: opacity 300ms var(--sc-ease-out), transform 300ms var(--sc-ease-out);
}
.verdict__dot { flex: none; width: 10px; height: 10px; border-radius: 50%; background: #ffb84d; }
.history[data-reveal="true"] .verdict { opacity: 1; transform: none; }

/* ------------------------------------------------- 6 · onde trabalha -- */
.where__stage { display: flex; align-items: center; }
.rail { display: flex; gap: var(--sc-5); padding-inline: var(--sc-gutter); align-items: stretch; }
.rail__lead { flex: none; width: 21rem; align-self: center; }
.rail__lead .guide-p { margin-top: var(--sc-3); }
.spot { flex: none; width: clamp(17rem, 24vw, 21rem); display: grid; align-content: start; gap: var(--sc-3); }
.spot__name { margin: 0; display: flex; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; }
.spot__name svg { width: 22px; height: 22px; fill: none; stroke: var(--sc-accent); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.spot__panel { background: var(--sc-surface); border: 1px solid var(--border); border-radius: 20px; padding: 14px; display: grid; gap: 8px; box-shadow: var(--sc-e2), var(--sc-edge); min-height: 11.5rem; align-content: start; }
.spot__text { margin: 0; color: var(--sc-ink-soft); font-size: 0.95rem; text-wrap: pretty; }
.mini-title { margin: 0; font-weight: 700; font-size: 0.9rem; }
.mini-price { margin: 0 0 4px; font-family: var(--sc-font-mono); font-weight: 600; display: flex; align-items: center; gap: 8px; }
.mini-row { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; padding: 7px 0; border-bottom: 1px solid #f0ece7; }
.mini-row:last-of-type { border-bottom: 0; }
.mini-row svg { flex: none; width: 26px; height: 26px; padding: 4px; border-radius: 7px; background: #f3efea; fill: none; stroke: #8a8178; stroke-width: 2.6; }
.mini-row span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row b { font-family: var(--sc-font-mono); font-weight: 600; font-size: 0.78rem; text-align: right; }
.mini-status { margin: 4px 0 0; font-size: 0.74rem; color: var(--sc-ink-soft); text-align: center; }
.spot__panel--popup { border-radius: 12px; }
.rail__note { flex: none; width: 17rem; align-self: center; padding: var(--sc-5); border-radius: 20px; background: var(--brand-soft); color: #5a2a12; font-weight: 500; }
.rail__note p { margin: 0; }
@media (prefers-reduced-motion: no-preference) {
  .rail .spot { opacity: calc(0.55 + clamp(0, (var(--sc-p, 0) - 0.05) * 3, 0.45)); }
}

/* --------------------------------------------------------- 7 · planos -- */
.plans { padding-block: clamp(3rem, 7vw, 7rem); }
.plans__grid { display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr); gap: var(--sc-7); align-items: start; }
.plans__table { overflow-x: auto; background: var(--sc-surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--sc-e2); }
.plans table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.plans th, .plans td { padding: 14px 16px; text-align: left; border-bottom: 1px solid #f0ece7; vertical-align: top; }
.plans thead th { font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; border-bottom: 1px solid var(--border); }
.plans thead th:last-child { color: var(--sc-accent); }
.plans tbody th { font-weight: 600; color: var(--sc-ink-soft); width: 32%; }
.plans tbody td { font-variant-numeric: tabular-nums; }
.plans tbody tr:last-child > * { border-bottom: 0; }
.plans__price td { font-weight: 700; }

/* ------------------------------------------------- 8 · fechamento -- */
.close { padding-block: clamp(3rem, 7vw, 7rem) var(--sc-6); }
.close__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--sc-7); align-items: start; }
.editor .guide-p { margin-top: var(--sc-3); }
.vars { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sc-5); }
.vars button { font-family: var(--sc-font-mono); font-size: 0.8rem; padding: 0.3rem 0.65rem; font-weight: 500; }
.editor textarea {
  display: block; width: 100%; margin-top: var(--sc-3); resize: vertical; min-height: 15rem;
  font-family: var(--sc-font-mono); font-size: 0.9rem; line-height: 1.55; padding: 14px;
  background: var(--sc-surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--sc-edge);
  transition: border-color var(--sc-d-fast) var(--sc-ease-out);
}
.editor textarea:focus-visible { outline: 2px solid var(--sc-accent); outline-offset: 2px; border-color: var(--sc-accent); }
.editor__meta { display: flex; justify-content: space-between; align-items: center; margin-top: var(--sc-2); font-size: 0.82rem; color: var(--sc-ink-soft); font-variant-numeric: tabular-nums; }
.editor__meta .is-over { color: #b3261e; font-weight: 600; }
.warn { margin: var(--sc-2) 0 0; font-size: 0.85rem; color: var(--warn-ink); min-height: 1.3em; }
.chat--close { display: grid; gap: var(--sc-4); justify-items: start; }
.chat--close .bubble { width: 100%; }
.final { margin: var(--sc-8) 0 0; font-size: var(--sc-t-lg); line-height: 2.2; max-width: 50ch; text-wrap: pretty; }
.final .cta { margin-inline: 0.15em; line-height: 1.2; }
.foot { margin-top: var(--sc-7); padding-top: var(--sc-4); border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; gap: var(--sc-3) var(--sc-5); align-items: center; font-size: 0.8rem; color: var(--sc-ink-soft); }
.foot span:last-child { margin-left: auto; }

/* ------------------------------------------------------------ tablet -- */
@media (max-width: 1180px) {
  .hero__title { max-width: 12ch; }
}

/* ---------------------------------------------- celular: abas embaixo -- */
@media (max-width: 860px) {
  main { margin-left: 0; padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
  .tabs {
    top: auto; right: 0; width: auto; height: calc(var(--bar-h) + env(safe-area-inset-bottom)); flex-direction: row;
    justify-content: space-around; align-items: flex-end; padding: 0 0 calc(6px + env(safe-area-inset-bottom));
    border-right: 0; border-top: 1px solid var(--border);
  }
  .tabs__mark { display: none; }
  .tab { width: auto; flex: 1; padding: 6px 0 0; font-size: 0.66rem; }
  .tab--new { margin: 0; }
  .tab__plus { width: 50px; height: 50px; margin-top: -22px; border: 4px solid var(--sc-surface); }

  .hero__stage { grid-template-columns: 1fr; align-content: start; padding: var(--sc-6) var(--sc-gutter) 0; }
  .hero__title { font-size: clamp(2rem, 8.2vw, 2.5rem); }
  .hero__lede { font-size: 1.02rem; margin-top: var(--sc-3); }
  .hero__act { margin-top: var(--sc-4); }
  .hero__media {
    top: auto; height: 54svh; bottom: var(--bar-h); width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%); mask-image: linear-gradient(to bottom, transparent 0, #000 18%);
  }
  .hero__media :is(video, img) { object-position: 45% 60%; }
  .hero__card--link { display: none; }
  .hero__card--sent { top: auto; bottom: calc(var(--bar-h) + 12px); left: var(--sc-gutter); right: var(--sc-gutter); }
  .sent { font-size: 0.82rem; }

  .compose { grid-template-columns: 1fr; gap: var(--sc-4); padding: var(--sc-5) var(--sc-gutter) calc(var(--bar-h) + var(--sc-6)); align-content: center; }
  .compose .guide-p { display: none; }
  .compose .h2 { font-size: 1.45rem; }
  .chores { grid-template-columns: 1fr 1fr; gap: 6px 12px; margin-top: var(--sc-3); font-size: 0.8rem; }
  .chores .box { width: 18px; height: 18px; border-radius: 6px; }
  .phone--compose { width: 100%; padding: 12px; gap: 9px; border-radius: 22px; }
  .cap { min-height: 10.2em; font-size: 0.78rem; }
  .prod { font-size: 0.76rem; }

  .formats__grid, .close__grid, .plans__grid { grid-template-columns: 1fr; gap: var(--sc-6); }

  .strip { height: auto; border-bottom: 0; padding: 0; }
  .strip__axis { display: none; }
  .strip__posts { display: grid; gap: var(--sc-3); }
  .strip__posts li, .strip__posts li:first-child, .strip__posts li:last-child {
    position: static; translate: none; width: auto; display: flex; justify-items: start; text-align: left; gap: var(--sc-3);
    padding: 12px 14px; border-left: 2px solid var(--brand); background: var(--sc-surface); border-radius: 0 12px 12px 0;
  }
  .strip__posts li::after { display: none; }

  .history__stage { grid-template-columns: 1fr; align-content: center; gap: var(--sc-3); padding: var(--sc-4) var(--sc-gutter) calc(var(--bar-h) + var(--sc-4)); }
  .history__guide { min-height: 7.6rem; }
  .history .h2, .history .h3 { font-size: 1.3rem; }
  .history .guide-p { font-size: 0.9rem; line-height: 1.45; }
  .store { padding: 12px 14px; }
  .store__img { width: 44px; height: 44px; padding: 7px; }
  .store__price b { font-size: 1.2rem; }
  .store__badge { top: 10px; right: 10px; font-size: 0.72rem; }
  .chart-card { padding: 14px; }
  .readout { flex-wrap: wrap; row-gap: 2px; }
  .readout__date, .readout__price { white-space: nowrap; }
  .readout__price { font-size: 1.25rem; }
  .readout__min { flex-basis: 100%; margin-left: 0; }
  .verdict { font-size: 0.8rem; }

  .rail { gap: var(--sc-4); }
  .rail__lead { width: 80vw; }
  .spot { width: 78vw; }
  .rail__note { width: 70vw; }

  .plans th, .plans td { padding: 10px 10px; font-size: 0.82rem; }
  .plans tbody th { width: auto; }
  .final { line-height: 2; }
  .foot span:last-child { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cap-line, .toast, .verdict, .store__badge { transition-duration: 1ms; transform: none !important; }
}
