/* Shiramoto · experiência (carregado por último: refina sem reescrever style.css e montagem.css)
   2 ritmo e pausa · 3 apresentação · 4 leitura · 5 navegação · 6 celular · 7 filme · 8 card · 9 contato · 10 acabamento */

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

/* ================= 4 · LEITURA E HIERARQUIA ================= */
html { scroll-padding-top: 84px; }
body { font-size: 1.0625rem; line-height: 1.7; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, blockquote { text-wrap: balance; }
p { text-wrap: pretty; }
/* linhas de 60 a 70 letras: o olho não se perde na volta */
.case-text p, .section-head p, .lead, .manifesto .values span, .contact .muted, .steps p, .tool span { max-width: 66ch; }
.section-head.center p { margin-inline: auto; }
.case-text p { font-size: 1.05rem; line-height: 1.72; }
.muted { color: color-mix(in srgb, var(--muted) 82%, var(--text)); }      /* cinza um pouco mais forte */
.small { font-size: .94rem; }
.eyebrow { font-size: .76rem; letter-spacing: .28em; }
.tag { font-size: .74rem; letter-spacing: .2em; }
.chips li { font-size: .84rem; padding: 8px 14px; }
.hint { font-size: .92rem; }
.hero-stats span { font-size: .9rem; line-height: 1.45; display: block; margin-top: 4px; }
.values span { font-size: 1rem; line-height: 1.6; }
.steps p, .tool span { font-size: 1rem; line-height: 1.6; }
.kpi span, .stage small { font-size: .92rem; line-height: 1.5; }
/* mesmo respiro entre todas as partes */
.section-head { padding: clamp(72px, 9vw, 128px) 0 clamp(36px, 4.5vw, 60px); }
.case { padding: clamp(60px, 7.5vw, 104px) 0; }
.case-cafe { padding: 0; }
.manifesto { padding: clamp(80px, 9vw, 128px) 0 clamp(64px, 7vw, 96px); }
.case-info { padding: clamp(64px, 8vw, 104px) 0 clamp(28px, 4vw, 48px); }
.steps { padding-bottom: clamp(72px, 9vw, 128px); }
.contact { padding: clamp(88px, 11vw, 150px) 0; }
.case-title { margin-bottom: 20px; }
.case-text > .tag { margin-bottom: 18px; }

/* ================= 5 · NAVEGAÇÃO ================= */
.nav nav > a:not(.btn) { position: relative; padding: 12px 0; }
.nav nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: .2em; bottom: 4px; height: 1.5px; background: var(--ouro); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav nav > a.is-here:not(.btn) { color: var(--text); }
.nav nav > a.is-here:not(.btn)::after { transform: scaleX(1); }
.mobile-menu a.is-here:not(.btn), .footer nav a.is-here { color: var(--ouro-claro); }
/* índice lateral dos projetos: aparece só dentro do portfólio e só em tela larga */
.side-index { position: fixed; right: 18px; top: 50%; z-index: 45; display: none; gap: 8px; transform: translateY(-50%); opacity: 0; pointer-events: none; transition: opacity .4s; }
@media (min-width: 1340px) { .side-index { display: grid; } }
.side-index.is-on { opacity: 1; pointer-events: auto; }
.sh-modal-open .side-index { opacity: 0; pointer-events: none; }
.side-index a { display: flex; flex-direction: row-reverse; align-items: center; justify-content: flex-start; gap: 10px; min-height: 36px; }
.side-index b { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 50%; font: 700 .68rem var(--font); letter-spacing: .06em;
  background: #181D22; color: #A7A49C; border: 1px solid rgba(245, 242, 234, .16); transition: background .25s, color .25s, border-color .25s, transform .25s; }
.side-index span { padding: 5px 11px; border-radius: 999px; background: #181D22; color: #F5F2EA; border: 1px solid rgba(214, 163, 74, .35); font-size: .78rem; white-space: nowrap;
  opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none; }
.side-index a:hover span, .side-index a:focus-visible span { opacity: 1; transform: none; }
.side-index a.is-done b { color: #D6A34A; border-color: rgba(214, 163, 74, .45); }
.side-index a.is-here b { background: #D6A34A; color: #0B0E11; border-color: #D6A34A; transform: scale(1.12); }

/* ================= 8 · CARD DE NAVEGAÇÃO ================= */
.sh-modal-tools { gap: 10px 16px; }
.sh-jump { order: 3; flex: 1 1 100%; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.sh-jump::-webkit-scrollbar { display: none; }
.sh-jump button { flex: none; min-height: 36px; padding: 0 13px; border-radius: 999px; border: 1px solid var(--line); background: none; color: var(--muted); cursor: pointer;
  font: 700 .74rem var(--font); letter-spacing: .06em; white-space: nowrap; transition: color .2s, border-color .2s, background .2s; }
.sh-jump button:hover { color: var(--text); border-color: var(--line-ouro); }
.sh-jump button.is-on { color: var(--ouro-claro); border-color: var(--ouro); background: rgba(214, 163, 74, .1); }
.sh-modal-hint { position: sticky; left: 0; bottom: 18px; display: block; width: max-content; margin: -44px auto 0; padding: 9px 16px; border-radius: 999px;
  background: rgba(11, 14, 17, .86); color: #F5F2EA; border: 1px solid rgba(214, 163, 74, .5); font: 700 .72rem var(--font); letter-spacing: .16em; text-transform: uppercase;
  pointer-events: none; transition: opacity .4s; animation: sh-nudge 1.8s ease-in-out infinite; }
@keyframes sh-nudge { 50% { transform: translateY(5px); } }
.sh-modal-hint.is-off, .sh-modal-view:not(.is-ready) .sh-modal-hint { opacity: 0; }
.sh-modal-win { transition: transform .25s var(--ease); }

/* ================= 9 · CONTATO EM PASSOS ================= */
.brief-top { display: grid; gap: 8px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ouro); }
.brief-bar { height: 2px; background: color-mix(in srgb, var(--text) 14%, transparent); border-radius: 2px; overflow: hidden; }
.brief-bar i { display: block; height: 100%; width: 33%; background: linear-gradient(90deg, #D6A34A, #F3CC7C); transition: width .4s var(--ease); }
.brief-step { display: grid; gap: 16px; }
.brief.is-steps { min-height: 372px; align-content: start; }
.brief.is-steps .brief-step:not(.is-on) { display: none; }
.brief.is-steps .brief-step.is-on { animation: sh-step .35s var(--ease); }
@keyframes sh-step { from { opacity: 0; transform: translateX(14px); } }
.brief:not(.is-steps) .brief-top, .brief:not(.is-steps) #briefAvancar, .brief:not(.is-steps) .brief-previa { display: none; }
.brief:not(.is-steps) #briefEnviar { display: inline-flex !important; }
.brief-erro { margin: -4px 0 0; padding: 10px 14px; border-radius: 10px; background: rgba(214, 163, 74, .12); border: 1px solid var(--line-ouro); color: var(--ouro-claro); font-size: .92rem; }
.brief input[aria-invalid="true"] { border-color: var(--ouro); }
.brief-dica { font-size: .9rem; color: var(--muted); }
.brief-previa { display: grid; gap: 8px; padding: 14px 16px; border-radius: 12px 12px 12px 3px; background: rgba(214, 163, 74, .09); border: 1px solid var(--line-ouro); }
.brief-previa small { font-size: .78rem; color: var(--muted); }
.brief-previa p { white-space: pre-line; font-size: .96rem; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.brief-nav { display: flex; gap: 10px; align-items: center; margin-top: auto; }
.brief-nav .btn-solid { flex: 1; }
.brief-nav .btn-sm { min-height: 48px; }

/* ================= 10 · ACABAMENTO ================= */
:focus-visible { outline-width: 2.5px; }
.btn:focus-visible, .sh-bar-btn:focus-visible, .nav-btn:focus-visible { outline: 2.5px solid var(--ouro-claro); outline-offset: 3px; }
img { height: auto; }
.cafe-gallery img, .dragon-stack img { background: var(--bg-2); }              /* reserva o lugar enquanto a foto chega */

/* ================= 6 · CELULAR DE PONTA A PONTA ================= */
/* o cartão NFC só vira com o mouse onde existe mouse; no toque, vira no toque (sem ficar preso virado) */
@media (hover: none) { .card3d:hover:not(.flipped) .card3d-inner { transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 6deg)); } }
/* o antes/depois deixa a página rolar na vertical e arrasta na horizontal */
.compare input { touch-action: pan-y; }
.btn-sm { min-height: 44px; }
.pill span { min-height: 44px; display: inline-flex; align-items: center; padding: 8px 16px; }
.footer nav a, .footer > a { min-height: 44px; display: inline-flex; align-items: center; }
.footer-legal a { padding: 10px 0; }
@media (max-width: 820px) {
  body { font-size: 1.03rem; }
  .hero h1 { letter-spacing: .07em; line-height: 1.24; font-size: clamp(1.9rem, 8.4vw, 3rem); margin-top: 20vh; }
  .eyebrow { letter-spacing: .22em; }
  .logo span { letter-spacing: .26em; }
  .manifesto blockquote { font-size: clamp(1.6rem, 6.4vw, 2.4rem); margin-bottom: 44px; }
  .values div { padding: 22px 0 0; }
  .hero-stats { gap: 22px 16px; }
  .hero-cta .btn { flex: 1 1 auto; }
  .case-info { gap: 36px; }
  .cafe-gallery { gap: 10px; }
  .cafe-gallery img:nth-child(2) { translate: 0 22px; }
  .shop-visual { padding-bottom: 70px; }
  .phones { gap: 12px; }
  .phone { border-radius: 30px; padding: 7px; }
  .phone-screen { border-radius: 23px; }
  .phone-2 { margin-top: 48px; }
  .compare { width: min(100%, 420px); }
  .brief { padding: 22px 18px; border-radius: 18px; }
  .contact-links .btn { flex: 1 1 100%; }
  .footer nav { gap: 0 20px; }
  .sh-bar.is-present { left: 10px; right: 10px; width: auto; justify-content: space-between; }
}
@media (max-width: 760px) {
}
@media (max-width: 420px) {
  .kpis { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .sh-seg button { padding: 0 10px; letter-spacing: .08em; }
  .sh-modal-tools h3 small { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sh-modal-hint, .brief.is-steps .brief-step.is-on { animation: none; } }

/* ================= BARRA DA APRESENTAÇÃO (◀ sessão ▶ e "⋯") ================= */
.sh-bar { gap: 8px; padding: 5px 6px 5px 14px; min-height: 46px; max-width: calc(100% - 180px); }
.sh-bar-txt { font-size: 12px; color: var(--muted); }
.sh-bar-txt small { margin-left: 4px; padding: 2px 6px; border-radius: 999px; background: color-mix(in srgb, var(--text) 9%, transparent); font-size: 10px; }
.sh-bar .sh-bar-btn { min-height: 36px; padding: 0 13px; font-size: 12px; white-space: nowrap; flex: none; }
.sh-bar .sh-bar-next { background: var(--ouro); color: var(--on-ouro); }
.sh-bar .sh-bar-next:hover { background: var(--ouro-claro); }
.sh-bar-btn:disabled { opacity: .3; cursor: default; pointer-events: none; }
.sh-bar-btn[aria-pressed="true"] { background: var(--ouro); color: var(--on-ouro); }
.sh-bar-more-btn { font-size: 15px; letter-spacing: .1em; }
.sh-bar.is-auto .sh-bar-dots i { animation: sh-pulse 1s ease-in-out infinite; }
/* opções extras: quadrinho que abre para cima */
.sh-bar-more { position: absolute; right: 0; bottom: calc(100% + 10px); display: none; gap: 6px; min-width: 210px; padding: 8px; border-radius: 16px;
  background: var(--bg-2); border: 1px solid var(--line-ouro); box-shadow: 0 20px 50px -18px #000; }
.sh-bar-more.is-open { display: grid; }
.sh-bar-more .sh-bar-btn { min-height: 44px; text-align: left; padding: 0 14px; }
.sh-bar-more .sh-bar-btn::after { display: none; }
/* linha de luz horizontal→ (textos) usada na criação; a vertical (.sh-scan) já existe */
.sh-caret { position: absolute; width: 2px; background: #F3CC7C; box-shadow: 0 0 14px 3px rgba(214, 163, 74, .8), -22px 0 30px 4px rgba(214, 163, 74, .12); }
.sh-cur.is-parked { opacity: 0; }

/* ================= 01 · SHOPP CAFÉ AO VIVO ================= */
.case-live { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.live { border-radius: 14px; overflow: hidden; background: #181D22; border: 1px solid rgba(214, 163, 74, .35); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .85); color: #F5F2EA; }
.live .browser-bar { padding: 8px 8px 8px 14px; background: #20262C; }
.live .browser-bar i { background: #3A424B; }
.live .browser-bar i:first-child { background: #D6A34A; }
.live .browser-bar span { flex: 1; min-width: 0; background: #0B0E11; color: #A7A49C; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live-seg { background: #0B0E11; border-color: rgba(245, 242, 234, .1); flex: none; }
.live-seg button { min-height: 32px; padding: 0 12px; font-size: .66rem; color: #A7A49C; }
.live-seg button.is-on { background: #D6A34A; color: #0B0E11; }
.live-view { position: relative; height: min(64vh, 620px); overflow: hidden; background: #000; }
.live-capa { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .6s; }
.live.is-live .live-capa { opacity: 0; pointer-events: none; }
.live-frame { position: absolute; inset: 0; }
.live-frame iframe { position: absolute; top: 0; left: 0; border: 0; background: #000; transform-origin: 0 0; opacity: 0; transition: opacity .6s; }
.live.is-live .live-frame iframe { opacity: 1; }
.live-entrar { position: absolute; left: 50%; top: 50%; translate: -50% -50%; box-shadow: 0 16px 40px -10px #000; }
.live.is-on:not(.is-live) .live-view::after { content: "Abrindo o site…"; position: absolute; left: 0; right: 0; bottom: 18px; margin-inline: auto; width: max-content; padding: 8px 14px; border-radius: 999px;
  background: rgba(11, 14, 17, .86); color: #F5F2EA; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; }
.live-sair { position: absolute; right: 10px; top: 10px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid #D6A34A; background: rgba(11, 14, 17, .9); color: #F5F2EA; font: 700 .74rem var(--font); letter-spacing: .1em; cursor: pointer; }
.live-dica .so-toque { display: none; }
@media (hover: hover) and (pointer: fine) { .live-entrar { display: none; } }
@media (hover: none), (pointer: coarse) { .live-dica .so-mouse { display: none; } .live-dica .so-toque { display: inline; } }
@media (max-width: 900px) {
  .case-live { grid-template-columns: 1fr; }
  .live-view { height: min(66vh, 560px); }
}
@media (max-width: 760px) {
  .sh-bar { left: 12px; right: 86px; width: auto; max-width: none; padding-left: 6px; }
  .sh-bar-dots, .sh-bar-line { display: none; }
  .sh-bar-txt { flex: 1; min-width: 0; text-align: center; }
  .sh-bar .sh-bar-btn { min-height: 40px; }
  .sh-bar .sh-bar-next { font-size: 0; padding: 0 14px; }
  .sh-bar .sh-bar-next::before { content: "▶"; font-size: 12px; }
  .live .browser-bar span { display: none; }
  .live .browser-bar { justify-content: space-between; }
}

/* os números do topo ficam acima da barra de navegação da apresentação */
@media (min-width: 821px) {
  .hero { padding-bottom: 230px; }
  .hero-stats { bottom: 92px; }
}
@media (max-width: 820px) { .hero { padding-bottom: 96px; } }

.sh-bar .sh-bar-more .sh-bar-btn { min-height: 44px; }

/* mídias reservam o lugar antes de chegar (a página não "pula" e as paradas ficam certas) */
.dragon-stack img { aspect-ratio: 1365 / 768; object-fit: cover; height: auto; }
.burger-video { aspect-ratio: 16 / 9; height: auto; }

/* a caixa do prompt tem altura fixa: o texto digitado não empurra a página enquanto o cliente lê */
#typer { height: 470px; min-height: 0; max-height: none; }
