/* ===== Carrossel do topo: posts claros + conversas respondidas pelo Lino ===== */
.marquee-track { animation-duration: 150s; }
.mq-wa { width: 300px; aspect-ratio: 4 / 5; flex: none; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; background: #efeae2;
  box-shadow: 0 26px 50px -30px rgba(35, 38, 43, .5), 0 0 0 1px rgba(35, 38, 43, .06); transition: transform .4s var(--spring); }
.mq-wa:hover { transform: translateY(-6px) scale(1.02); }
.mq-wa .wa-head { padding: 12px 14px; }
.mq-wa .wa-body { padding: 12px 10px; gap: 6px; justify-content: center; }
.mq-wa .wa-msg { font-size: 13px; max-width: 86%; animation: none; }
.mq-tag { flex: none; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 12px; background: var(--dino-orange); color: var(--fossil); font-size: 13px; font-weight: 600; letter-spacing: -.01em; }
.mq-tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--fossil); }
@media (max-width: 760px) {
  .marquee-track { animation-duration: 120s; }
  .mq-wa { width: 220px; border-radius: 16px; }
  .mq-wa .wa-head { padding: 8px 10px; }
  .mq-wa .wa-head .av { width: 28px; height: 28px; font-size: 12px; }
  .mq-wa .wa-head b { font-size: 13px; }
  .mq-wa .wa-body { padding: 8px 7px; gap: 4px; }
  .mq-wa .wa-msg { font-size: 10.5px; padding: 4px 7px 5px; }
  .mq-wa .wa-msg .t { font-size: 9px; margin-top: 4px; }
  .mq-tag { font-size: 11px; padding: 7px 8px; }
}
@media (prefers-reduced-motion: reduce) { .mq-wa { scroll-snap-align: start; } }

/* ===== Um dia com o Lino: celular preso na tela que desce com o scroll ===== */
.story { background: #fff; }
.story .sec-head { margin-bottom: 24px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 72px; max-width: 1040px; margin: 0 auto; }
.story-steps { list-style: none; padding: 0; margin: 0; }
.story-step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; max-width: 470px; opacity: .28; transition: opacity .45s ease; }
.story-step.on { opacity: 1; }
.story-step .time { align-self: flex-start; font: 600 15px/1 var(--font); color: var(--fossil); background: var(--c); color: #fff; padding: 7px 12px; border-radius: 999px; margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.story-step h3 { font: 600 clamp(30px, 3.3vw, 44px)/1.08 var(--font-display); letter-spacing: -.035em; color: var(--fossil); text-wrap: balance; }
.story-step p { margin-top: 16px; font-size: 19px; line-height: 1.5; color: #55595f; text-wrap: pretty; max-width: 420px; }
.story-pin { position: sticky; top: calc(50vh - 330px); height: 660px; align-self: start; display: grid; place-items: center; margin-top: calc(39vh - 330px); }
.story-back { position: absolute; inset: 34px 30px 40px; border-radius: 48px; background: var(--dino-orange); transform: rotate(-4deg); transition: background .6s ease, transform .3s ease-out; }
.story-phone { position: relative; width: 300px; height: 612px; transition: transform .25s ease-out; transform-style: preserve-3d; }
.story-layer { position: absolute; inset: 0; opacity: 0; transform: translateY(24px) scale(.97); transition: opacity .45s ease, transform .55s var(--spring); pointer-events: none; }
.story-layer.on { opacity: 1; transform: none; }
.story-layer .phone { transform: none; }
.story-dots { position: absolute; bottom: -2px; display: flex; gap: 8px; }
.story-dots i { width: 8px; height: 8px; border-radius: 50%; background: #d2d2d7; transition: background .3s, width .3s; }
.story-dots i.on { width: 22px; border-radius: 4px; background: var(--fossil); }
@media (max-height: 760px) and (min-width: 1024px) { .story-pin { transform: scale(.86); } }
/* celular e tablet: os passos viram uma lista simples (o celular interativo vem logo abaixo) */
@media (max-width: 1023px) {
  .story-grid { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 520px; }
  .story-pin { display: none; }
  .story-steps { display: grid; gap: 28px; }
  .story-step { min-height: 0; opacity: 1; }
  .story-step .time { margin-bottom: 10px; font-size: 13px; }
  .story-step h3 { font-size: 26px; }
  .story-step p { margin-top: 8px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .story-layer, .story-step, .story-back { transition: none; }
  .story-layer { transform: none; }
}

/* ===== Escolha o seu negócio: celular à esquerda, um painel só à direita ===== */
#funcionando { padding: 96px 0; }
#funcionando .tour { grid-template-columns: auto minmax(0, 1fr); gap: 56px; max-width: 1000px; align-items: center; }
#funcionando .tour-side { display: grid; gap: 18px; align-content: center; justify-items: start; padding: 36px; border-radius: 28px; background: rgba(18, 22, 28, .58); }
#funcionando .tour-side h2 { font: 600 clamp(32px, 3.6vw, 46px)/1.04 var(--font-display); letter-spacing: -.04em; color: #fff; margin: -4px 0 4px; }
#funcionando .niche-tabs { justify-content: flex-start; margin: 0; gap: 8px; }
#funcionando .niche-tabs button { min-height: 40px; padding: 0 16px; font-size: 15px; }
#funcionando .auto-row { margin: 0; max-width: none; width: 100%; }
#funcionando #tour { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .16); width: 100%; }
.tour-text { font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .82); text-wrap: pretty; }
.tour-text b { color: #fff; font-weight: 600; }
#funcionando .ask { justify-items: start; text-align: left; max-width: none; }
#funcionando .ask > span { text-shadow: none; color: rgba(255, 255, 255, .7); font-weight: 500; }
#funcionando .ask-chips { justify-content: flex-start; }
@media (max-width: 900px) {
  #funcionando { padding: 64px 0; }
  #funcionando .tour { grid-template-columns: minmax(0, 1fr); gap: 20px; max-width: 420px; }
  #funcionando .tour-side { padding: 20px; border-radius: 22px; justify-items: stretch; text-align: center; gap: 14px; }
  #funcionando .tour-side .kicker { justify-self: center; }
  #funcionando .niche-select { margin: 0; max-width: none; }
  #funcionando .ask { justify-items: center; text-align: center; }
  #funcionando .ask-chips { justify-content: center; }
  #funcionando .tour-stage { order: 2; }
}
