/* Corta Pra Mim, proposta "Stories da Prata".
   Quadros verticais de story na identidade amarela e preta da casa.
   Anybody (largura variável) nas figurinhas, Hanken Grotesk no texto. */

:root {
  --amarelo: #F6C10F;
  --preto: #000;
  --branco: #fff;
  --vermelho: #E2321B;            /* só estados ao vivo */
  --tinta: #3d2e00;               /* texto secundário sobre amarelo, tingido do próprio amarelo */
  --creme: #FFF1BF;               /* linhas da enquete branca */
  --palha: #FFE7A0;               /* texto secundário sobre preto, tingido do amarelo */
  --f-fig: "Anybody", "Arial Narrow", sans-serif;
  --f-texto: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --sombra: 0 6px 18px rgb(0 0 0 / .25);
  --sombra-alta: 0 12px 28px rgb(0 0 0 / .32);
  --sombra-baixa: 0 3px 9px rgb(0 0 0 / .28);
  --saida: cubic-bezier(.16, 1, .3, 1);
  --topo-h: 68px;                 /* cabeçalho fixo do story no celular */
  --base-h: 76px;                 /* barra de resposta fixa no celular */
  color-scheme: light;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-snap-type: y mandatory;
  scrollbar-color: var(--preto) var(--amarelo);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--amarelo);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--amarelo);
  color: var(--preto);
  font: 400 1rem/1.5 var(--f-texto);
  caret-color: var(--vermelho);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

::selection { background: var(--preto); color: var(--amarelo); }
.quadro--foto ::selection,
.quadro--preto ::selection { background: var(--amarelo); color: var(--preto); }

:focus-visible { outline: 3px solid var(--foco, var(--preto)); outline-offset: 3px; }

a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .09em; }
img, svg { display: block; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; }
ul { padding: 0; list-style: none; }
small { font-size: inherit; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1em; height: 1em; flex: none; }

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

.pular {
  position: fixed; z-index: 100;
  top: 12px; left: 12px;
  padding: .75em 1.1em;
  border-radius: .35em;
  background: var(--preto);
  color: var(--amarelo);
  font-weight: 700;
  text-decoration: none;
  translate: 0 calc(-100% - 24px);
  transition: translate .2s var(--saida);
}
.pular:focus { translate: 0 0; outline-color: var(--amarelo); }

/* ---------- Cabeçalho do story (banner) ---------- */

.topo {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding: calc(env(safe-area-inset-top, 0px) + 8px) 10px 0;
  color: var(--branco);
  --anel: var(--amarelo);
  --foco: currentColor;
  transition: color .25s;
  pointer-events: none;
}
.topo a { pointer-events: auto; }

.progresso {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 4px;
}
.seg {
  height: 3px;
  border-radius: 3px;
  overflow: hidden;
  background: rgb(255 255 255 / .38);
  transition: background-color .25s;
}
.seg i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: currentColor;
  transform-origin: left center;
  transform: scaleX(0);
}

.perfil {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: 6px;
}
.perfil-id {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: 10px;
  align-items: center;
  min-height: 44px;
  padding-right: 6px;
  border-radius: 999px;
  color: inherit;
  text-decoration: none;
}
.anel {
  display: block;
  width: 40px; height: 40px;
  padding: 2px;
  border-radius: 50%;
  border: 2px solid var(--anel, var(--amarelo));
  background: var(--preto);
  transition: border-color .25s;
}
.anel img { width: 100%; height: 100%; }
.perfil-id .anel { grid-row: 1 / 3; }
.perfil-nome { align-self: end; font: 700 .95rem/1.1 var(--f-texto); }
.perfil-local { align-self: start; font: 500 .8125rem/1.25 var(--f-texto); }

.topo-agendar {
  font-size: .95rem;
  transition: opacity .25s, visibility .25s, translate .25s var(--saida), scale .14s var(--saida), box-shadow .2s;
}
html[data-quadro="capa"] .topo-agendar { opacity: 0; visibility: hidden; translate: 0 -6px; }

/* ---------- Figurinhas ---------- */

.fig {
  --rot: 0deg;
  display: inline-flex; align-items: center; gap: .5em;
  max-width: 100%;
  padding: .42em .7em .46em;
  border-radius: .35em;
  background: var(--fig-fundo, var(--branco));
  color: var(--fig-tinta, var(--preto));
  font-family: var(--f-fig);
  font-size: 1em;
  font-weight: 800;
  font-stretch: 100%;
  line-height: 1.1;
  rotate: var(--rot);
  box-shadow: var(--sombra);
  text-decoration: none;
}

/* texto de story com fundo por linha (cada linha ganha seu retângulo) */
.fig-texto {
  --rot: 0deg;
  rotate: var(--rot);
  color: var(--preto);
  font-family: var(--f-fig);
  font-size: 3.05em;
  font-weight: 900;
  font-stretch: 150%;
  line-height: 1.04;
  letter-spacing: -.025em;
  filter: drop-shadow(0 6px 10px rgb(0 0 0 / .22));
}
.fig-texto > span {
  padding: .03em .2em .1em;
  border-radius: .2em;
  background: var(--amarelo);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.fig-texto--preto { color: var(--amarelo); }
.fig-texto--preto > span { background: var(--preto); }

.fig--fato {
  --fig-fundo: var(--preto);
  --fig-tinta: var(--branco);
  font-size: 1.12em;
  font-weight: 750;
  font-stretch: 62%;
  letter-spacing: .01em;
  padding: .42em .7em .46em;
}

.fig--legenda {
  --fig-fundo: var(--preto);
  --fig-tinta: var(--branco);
  font: 600 .92em/1.2 var(--f-texto);
  padding: .48em .8em;
}

.fig--link {
  min-height: 48px;
  padding: .3em .9em .3em .32em;
  gap: .55em;
  font-size: 1.12em;
  font-weight: 850;
  font-stretch: 112%;
  letter-spacing: -.01em;
}
.fig-icone {
  display: grid; place-items: center;
  flex: none;
  width: 1.9em; height: 1.9em;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--preto);
}
.fig-icone .ico { width: 1.05em; height: 1.05em; }
.fig--escuro { --fig-fundo: var(--preto); --fig-tinta: var(--branco); }
.fig--grande { min-height: 64px; font-size: 1.42em; padding: .34em 1.05em .34em .36em; }
.fig--mini { min-height: 44px; font-size: .92em; font-stretch: 92%; padding: .3em .85em; }
.fig--mini.fig--link { padding-left: .28em; gap: .45em; }
.fig--mini .fig-icone { width: 1.75em; height: 1.75em; }

.fig--nota {
  font: 650 .86em/1.25 var(--f-texto);
  padding: .55em .8em;
  max-width: 15.5em;
}

/* estados das figurinhas clicáveis: parada, foco/hover (sobe 2px), pressionada (.97) */
.clica {
  cursor: pointer;
  transition: translate .2s var(--saida), box-shadow .2s var(--saida), scale .14s var(--saida), background-color .2s, color .2s;
}
@media (hover: hover) {
  .clica:hover { translate: 0 -2px; box-shadow: var(--sombra-alta); }
}
.clica:focus-visible { translate: 0 -2px; box-shadow: var(--sombra-alta); }
.clica:active { scale: .97; translate: 0 0; box-shadow: var(--sombra-baixa); }

/* ---------- Barra de resposta (WhatsApp) ---------- */

.resposta {
  --r-borda: rgb(255 255 255 / .92);
  --r-fundo: rgb(0 0 0 / .62);
  --r-tinta: var(--branco);
  --r-icone-fundo: var(--amarelo);
  --r-icone-tinta: var(--preto);
  display: flex; align-items: center; gap: .75em;
  min-height: 52px;
  padding: 5px 5px 5px 1.15em;
  border: 1.5px solid var(--r-borda);
  border-radius: 999px;
  background: var(--r-fundo);
  color: var(--r-tinta);
  font: 600 1em/1.2 var(--f-texto);
  text-decoration: none;
}
.resposta-texto { flex: 1; min-width: 0; display: grid; }
.resposta-texto small { font-size: .8em; font-weight: 500; line-height: 1.25; }
.resposta-icone {
  display: grid; place-items: center;
  flex: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--r-icone-fundo);
  color: var(--r-icone-tinta);
}
.resposta-icone .ico { width: 20px; height: 20px; translate: -1px 1px; }
.resposta--clara {
  --r-borda: var(--preto);
  --r-fundo: transparent;
  --r-tinta: var(--preto);
  --r-icone-fundo: var(--preto);
  --r-icone-tinta: var(--amarelo);
}

.resposta--fixa {
  position: fixed; z-index: 50;
  left: 12px; right: 12px;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 12px);
  font-size: 1rem;
}

/* ---------- Destaques (círculos) ---------- */

.destaques ul { display: flex; justify-content: center; gap: 1rem; }
.destaques a {
  display: flex; flex-direction: column; align-items: center; gap: .4rem;
  border-radius: .6rem;
  color: inherit;
  text-decoration: none;
}
.destaque-anel {
  display: block;
  width: 62px; height: 62px;
  padding: 3px;
  border-radius: 50%;
  border: 2px solid currentColor;
  transition: scale .2s var(--saida), box-shadow .2s;
}
.destaque-capa {
  display: grid; place-items: center;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--amarelo);
  color: var(--preto);
}
.destaque-capa .ico { width: 27px; height: 27px; }
.destaque-nome {
  font-family: var(--f-fig);
  font-size: .8125rem;
  font-weight: 700;
  font-stretch: 78%;
  line-height: 1.1;
  letter-spacing: .01em;
}
@media (hover: hover) {
  .destaques a:hover .destaque-anel { scale: 1.06; }
}
.destaques a:active .destaque-anel { scale: .96; }

/* ---------- Quadros ---------- */

.quadro {
  position: relative;
  isolation: isolate;
  display: flex; flex-direction: column;
  min-height: 100svh;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  container: quadro / inline-size;
  background: var(--preto);
  color: var(--branco);
  --foco: var(--amarelo);
}
.quadro:focus-visible { outline-offset: -6px; }
.quadro--amarelo { background: var(--amarelo); color: var(--preto); --foco: var(--preto); }

.palco {
  flex: 1;
  width: 100%;
  max-width: 32rem;
  margin-inline: auto;
  display: flex; flex-direction: column; align-items: flex-start;
  padding:
    calc(env(safe-area-inset-top, 0px) + var(--topo-h) + 10px)
    16px
    calc(env(safe-area-inset-bottom, 0px) + var(--base-h) + 10px);
  font-size: clamp(14px, 4.1cqi, 18px);
}

/* camada da foto, atrás das figurinhas */
.foto-figura { display: contents; }
.foto {
  position: absolute; inset: 0; z-index: -1;
  overflow: hidden;
  container-type: size;
}
.foto-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.foto::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgb(0 0 0 / .5), rgb(0 0 0 / 0) 132px),
    linear-gradient(to top, rgb(0 0 0 / .58), rgb(0 0 0 / .2) 24%, rgb(0 0 0 / 0) 44%);
}

/* caixa da foto no tamanho "cover": as marcações ficam presas ao assunto da foto */
.foto-caixa {
  --w: max(100cqw, 100cqh * (var(--ar)));
  --h: calc(var(--w) / (var(--ar)));
  position: absolute;
  width: var(--w);
  height: var(--h);
  left: calc((100cqw - var(--w)) * var(--px, .5));
  top: calc((100cqh - var(--h)) * var(--py, .5));
}
.foto-caixa img { width: 100%; height: 100%; }

/* marcação: etiqueta com ponteiro, como a de marcar alguém na foto */
.marcacao {
  position: absolute; z-index: 2;
  left: var(--x); top: var(--y);
  translate: -50% .75em;
  padding: .5em .85em;
  border-radius: .45em;
  background: var(--preto);
  color: var(--branco);
  font: 650 clamp(12.5px, 3.5cqi, 15px)/1.15 var(--f-texto);
  white-space: nowrap;
  box-shadow: var(--sombra);
}
.marcacao::before {
  content: "";
  position: absolute;
  left: 50%; bottom: calc(100% - 1px);
  translate: -50% 0;
  border: .5em solid transparent;
  border-top: 0;
  border-bottom-color: var(--preto);
}
.marcacao--baixo { translate: -50% calc(-100% - .75em); }
.marcacao--baixo::before {
  bottom: auto; top: calc(100% - 1px);
  border: .5em solid transparent;
  border-bottom: 0;
  border-top-color: var(--preto);
}

/* tocar na metade direita avança, na esquerda volta */
@media (hover: hover) and (pointer: fine) {
  .quadro--foto[data-lado="dir"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='%23000'/%3E%3Ccircle cx='20' cy='20' r='17' fill='none' stroke='%23F6C10F' stroke-width='2'/%3E%3Cpath d='M17 13l7 7-7 7' fill='none' stroke='%23F6C10F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 20 20, e-resize;
  }
  .quadro--foto[data-lado="esq"] {
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='17' fill='%23000'/%3E%3Ccircle cx='20' cy='20' r='17' fill='none' stroke='%23F6C10F' stroke-width='2'/%3E%3Cpath d='M23 13l-7 7 7 7' fill='none' stroke='%23F6C10F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 20 20, w-resize;
  }
}

/* 1. Capa */
.quadro--capa .foto-img { object-position: 58% 30%; }
.capa-topo {
  align-self: stretch;
  display: flex; flex-direction: column; align-items: flex-start;
  margin-top: .35em;
}
.capa-topo .fig--fato { margin: -.3em 5% 0 auto; z-index: 1; }
.quadro--capa .fig--legenda { margin-top: auto; }
.capa-agendar { margin-top: .6em; }

/* 2 e 4. Serviços em enquete: título no alto, enquete no meio, ação embaixo */
.quadro--servicos .palco { justify-content: flex-start; }
.titulo-quadro { position: relative; z-index: 1; font-size: 2.3em; margin-left: .15em; }

.enquete {
  --rot: 0deg;
  --e-fundo: var(--branco);
  --e-regua: rgb(0 0 0 / .13);
  --e-linha-hover: #FCE08A;
  align-self: stretch;
  margin-block: auto;
  padding: .55em .55em .6em;
  border-radius: 1em;
  background: var(--e-fundo);
  color: var(--preto);
  box-shadow: var(--sombra);
  rotate: var(--rot);
}
.enquete-opcoes { display: grid; }
.enquete-dica {
  margin-top: .6em;
  text-align: center;
  font: 600 .8em/1.3 var(--f-texto);
  color: var(--tinta);
}
.enquete--amarela {
  --e-fundo: var(--amarelo);
  --e-regua: rgb(0 0 0 / .2);
  --e-linha-hover: rgb(0 0 0 / .1);
}
/* uma camada só: linhas tipografadas separadas por fio; preto só na escolhida */
.opcao {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: .75em;
  min-height: max(44px, 2.7em);
  padding: .42em .55em .42em .7em;
  border-radius: .5em;
  background: transparent;
  font: 600 1em/1.15 var(--f-texto);
  cursor: pointer;
  transition: background-color .18s, color .18s, scale .14s var(--saida);
}
.opcao + .opcao { box-shadow: inset 0 1px 0 var(--e-regua); }
.opcao input {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.opcao-nome { display: flex; align-items: center; gap: .45em; }
.opcao-nome::before {
  content: "";
  display: none;
  flex: none;
  width: 1.05em; height: 1.05em;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.3 4.3L19 7.2' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.3 4.3L19 7.2' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.opcao-preco {
  font-family: var(--f-fig);
  font-size: 1.12em;
  font-weight: 850;
  font-stretch: 100%;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
}
.opcao-preco small { font: 600 .68em/1 var(--f-texto); margin-right: .15em; }
@media (hover: hover) {
  .opcao:hover { background: var(--e-linha-hover); }
}
.opcao:has(:checked) { background: var(--preto); color: var(--amarelo); }
.opcao:has(:checked) .opcao-nome::before { display: block; }
.opcao:has(:focus-visible) { outline: 3px solid var(--preto); outline-offset: 2px; }
.quadro--preto .opcao:has(:focus-visible) { outline-color: var(--preto); }
.opcao:active { scale: .985; }

.acao {
  align-self: stretch;
  display: flex; align-items: center; gap: .6em;
  margin-top: 1.15em;
}
.acao .fig--link { flex: none; }
.resposta--servico { flex: 1; font-size: .95em; padding-left: 1em; }
.resposta--servico small { display: block; }

/* 3. Barba */
.quadro--barba .palco { align-items: flex-end; }
.fig--preco {
  --fig-fundo: var(--amarelo);
  position: relative;
  flex-direction: column; align-items: flex-start; gap: 0;
  margin: .5em .2em 0 0;
  padding: .45em .85em .55em;
  border-radius: .5em;
}
.preco-nome { font-size: 1.5em; font-weight: 900; font-stretch: 122%; line-height: 1; letter-spacing: -.02em; }
.quadro--barba .fig--nota { margin: -.35em .9em 0 0; z-index: 1; }
.preco-valor {
  font-size: 2.9em;
  font-weight: 900;
  font-stretch: 100%;
  line-height: .95;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}

/* 5. Corte infantil */
.quadro--infantil .foto-img { object-position: 84% 40%; }
.infantil-legenda {
  margin-top: auto;
  display: flex; flex-direction: column; align-items: flex-start;
}
.infantil-legenda .fig-texto { font-size: 2.55em; }
.infantil-legenda .fig--fato { margin: -.15em 0 0 1.4em; z-index: 1; }

/* 6. Caixa de perguntas */
.quadro--duvidas .palco { justify-content: center; gap: 1em; }
.caixa {
  --rot: 0deg;
  position: relative;
  align-self: stretch;
  display: grid; justify-items: center; gap: .6em;
  margin-top: 1.3em;
  padding: 1.75em .7em .7em;
  border-radius: 1em;
  background: var(--preto);
  color: var(--branco);
  box-shadow: var(--sombra);
  rotate: var(--rot);
}
.caixa-anel {
  position: absolute; top: 0; left: 50%;
  translate: -50% -50%;
  width: 2.9em; height: 2.9em;
  border-color: var(--amarelo);
  box-shadow: 0 0 0 3px var(--preto);
}
.caixa-titulo {
  font-family: var(--f-fig);
  font-size: 1.95em;
  font-weight: 900;
  font-stretch: 150%;
  line-height: 1;
  letter-spacing: -.02em;
}
.caixa-campo {
  justify-self: stretch;
  display: flex; align-items: center; justify-content: space-between; gap: .6em;
  min-height: 48px;
  padding: 4px 4px 4px 1em;
  border-radius: .7em;
  background: var(--branco);
  color: var(--preto);
  font: 600 .95em/1.2 var(--f-texto);
  text-decoration: none;
}
.caixa-campo .resposta-icone { width: 38px; height: 38px; background: var(--amarelo); color: var(--preto); }
.caixa-campo .resposta-icone .ico { width: 19px; height: 19px; translate: -1px 1px; }

.respostas { align-self: stretch; display: grid; gap: .75em; }
.par {
  --rot: 0deg;
  overflow: hidden;
  border-radius: .8em;
  background: var(--branco);
  color: var(--preto);
  box-shadow: var(--sombra);
  rotate: var(--rot);
}
.par dt {
  padding: .5em .9em .45em;
  background: var(--preto);
  color: var(--branco);
  font: 700 .92em/1.2 var(--f-texto);
}
.par dd {
  padding: .5em .9em .62em;
  font-family: var(--f-fig);
  font-size: 1.12em;
  font-weight: 850;
  font-stretch: 82%;
  line-height: 1.15;
}
.par dd a { text-decoration-thickness: .12em; text-decoration-skip-ink: none; text-underline-offset: .3em; --foco: var(--preto); }

/* 7. Endereço e horário */
.local-topo { display: flex; flex-direction: column; align-items: flex-start; gap: .5em; }
.fig--local { padding: .38em .95em .42em .38em; gap: .6em; }
.local-texto { display: grid; }
.local-rua { font-size: 1.22em; font-weight: 900; font-stretch: 112%; line-height: 1.05; letter-spacing: -.01em; }
.local-bairro { font: 600 .8em/1.3 var(--f-texto); }
.local-links { display: flex; flex-wrap: wrap; gap: .45em; margin-left: .35em; }

.fig--contagem {
  --fig-fundo: var(--preto);
  --fig-tinta: var(--branco);
  align-self: flex-end;
  flex-direction: column; align-items: flex-start; gap: .18em;
  min-width: 10.5em;
  margin-top: .9em;
  padding: .7em .95em .8em;
  border-radius: .6em;
}
.contagem-estado { display: flex; align-items: center; gap: .5em; font: 700 .86em/1.2 var(--f-texto); }
.contagem-luz { flex: none; width: .72em; height: .72em; border-radius: 50%; background: #55504a; }
.contagem-antes { font: 500 .84em/1.2 var(--f-texto); color: var(--palha); }
.contagem-antes:empty { display: none; }
.contagem-numero {
  font-size: 2.15em;
  font-weight: 900;
  font-stretch: 84%;
  line-height: 1;
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
}
.fig--contagem[data-estado="aberto"] .contagem-luz { background: var(--vermelho); }
.fig--contagem[data-estado="fechando"] { --fig-fundo: var(--vermelho); --fig-tinta: var(--preto); }
.fig--contagem[data-estado="fechando"] .contagem-antes { color: var(--preto); font-weight: 700; }
.fig--contagem[data-estado="fechando"] .contagem-luz { background: var(--branco); }
.fig--contagem[data-estado="fechado"] .contagem-numero,
.fig--contagem[data-estado="neutro"] .contagem-numero { font-size: 1.45em; font-stretch: 92%; }

/* horário estreito, à esquerda do selo bordado na capa (que fica à mostra) */
.fig--horario {
  --fig-fundo: var(--preto);
  --fig-tinta: var(--branco);
  flex-direction: column; align-items: stretch;
  width: 10.4em;
  margin-top: auto;
  padding: .4em;
  border-radius: .75em;
}
.horario { display: grid; gap: .12em; }
.horario li {
  display: grid; gap: .08em;
  padding: .34em .55em .4em;
  border-radius: .45em;
}
.horario-dia { font: 600 .82em/1.2 var(--f-texto); }
.horario-hora {
  font-family: var(--f-fig);
  font-size: 1.08em;
  font-weight: 850;
  font-stretch: 96%;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.horario li.hoje { background: var(--amarelo); color: var(--preto); }
.horario-feriado {
  display: flex; align-items: center;
  min-height: 44px;
  margin-top: .2em;
  padding: .2em .55em;
  color: var(--palha);
  font: 600 .78em/1.25 var(--f-texto);
  text-decoration: underline;
  text-underline-offset: .22em;
  --foco: var(--amarelo);
}
.local-ligar { margin-top: .6em; }
.hoje-chip {
  display: inline-block;
  margin-left: .45em;
  padding: .12em .45em .16em;
  border-radius: .35em;
  background: var(--preto);
  color: var(--amarelo);
  font: 700 .72em/1 var(--f-texto);
  vertical-align: .12em;
}

/* 8. Fim */
.quadro--fim .palco { align-items: center; justify-content: center; gap: .8em; text-align: center; }
.fim-selo {
  width: min(56%, 13em);
  height: auto;
  rotate: -4deg;
  filter: drop-shadow(0 10px 16px rgb(0 0 0 / .22));
}
.fim-slogan { margin-top: -1.5em; z-index: 1; font-size: 1.08em; }
.quadro--fim .fig--grande { margin-top: .35em; }
.fim-whats { display: none; align-self: stretch; }
.fig--mencao {
  flex-direction: column; gap: .12em;
  min-height: 44px;
  padding: .4em .95em .45em;
  font-stretch: 78%;
  font-weight: 800;
}
.mencao-rede { font: 600 .74em/1.2 var(--f-texto); }
.fim-endereco { max-width: 24em; font: 500 .86em/1.45 var(--f-texto); font-style: normal; color: var(--tinta); }
.fim-vagas { max-width: 23em; font: 600 .86em/1.4 var(--f-texto); }
.fim-copy { font: 500 .78em/1.3 var(--f-texto); color: var(--tinta); }

/* ---------- Colunas laterais (desktop) ---------- */

.marca, .ao-vivo { display: none; }

.marca-selo {
  width: clamp(92px, 8.5vw, 136px);
  height: auto;
  rotate: -5deg;
  margin-bottom: .3rem;
  filter: drop-shadow(0 8px 14px rgb(0 0 0 / .16));
}
.marca-titulo {
  font-family: var(--f-fig);
  font-size: clamp(3.4rem, min(6.2vw, 10.6vh), 6rem);
  font-weight: 900;
  font-stretch: 56%;
  line-height: .84;
  letter-spacing: -.012em;
}
.marca-slogan { font: 700 clamp(1.1rem, 1.45vw, 1.35rem)/1.25 var(--f-texto); }
.marca-fatos { max-width: 34ch; font: 500 1rem/1.5 var(--f-texto); color: var(--tinta); }

.destaques--lado { margin-top: 1rem; }
.destaques--lado ul { display: grid; justify-content: start; gap: .45rem; }
.destaques--lado a { flex-direction: row; gap: .85rem; padding: .2rem .8rem .2rem .2rem; border-radius: 999px; }
.destaques--lado .destaque-anel { width: 54px; height: 54px; border-color: var(--preto); }
.destaques--lado .destaque-capa { background: var(--preto); color: var(--amarelo); }
.destaques--lado .destaque-capa .ico { width: 24px; height: 24px; }
.destaques--lado .destaque-nome {
  font-size: 1.3rem;
  font-weight: 800;
  font-stretch: 68%;
  transition: font-stretch .35s var(--saida), font-weight .35s var(--saida);
}
.destaques--lado a[aria-current] .destaque-nome { font-stretch: 132%; font-weight: 900; }
.destaques--lado a[aria-current] .destaque-anel { box-shadow: inset 0 0 0 1px var(--preto); }

.lampada-fio { position: relative; display: block; width: 104px; }
.lampada-fio::before {
  content: "";
  position: absolute;
  left: 51px; bottom: calc(100% - 2px);
  width: 2px; height: 100vh;
  background: var(--preto);
}
.lampada { width: 104px; height: 104px; overflow: visible; }
.lampada-cupula { fill: var(--preto); transition: fill .3s; }
.lampada-bulbo { fill: #3b3732; transition: fill .3s; }
.lampada-cone { opacity: 0; transition: opacity .3s; }
.ao-vivo:is([data-estado="aberto"], [data-estado="fechando"]) .lampada-cupula { fill: var(--vermelho); }
.ao-vivo:is([data-estado="aberto"], [data-estado="fechando"]) .lampada-bulbo { fill: #FFF6D8; }
.ao-vivo:is([data-estado="aberto"], [data-estado="fechando"]) .lampada-cone { opacity: 1; }

.vivo-curto {
  font-family: var(--f-fig);
  font-size: clamp(1.5rem, 2.45vw, 2.6rem);
  font-weight: 900;
  font-stretch: 110%;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.vivo-detalhe { align-self: flex-start; font: 700 1.15rem/1.3 var(--f-texto); font-variant-numeric: tabular-nums; }
.ao-vivo[data-estado="fechando"] .vivo-detalhe {
  padding: .3em .65em .34em;
  border-radius: .35em;
  background: var(--vermelho);
  color: var(--preto);
  rotate: -1.5deg;
  box-shadow: var(--sombra);
}
.vivo-hoje { font: 500 1rem/1.45 var(--f-texto); color: var(--tinta); }
.vivo-feriado { margin-top: -.35rem; font: 500 .92rem/1.4 var(--f-texto); color: var(--tinta); }
.vivo-feriado a { font-weight: 700; color: var(--preto); }
.ao-vivo .fig--grande {
  align-self: flex-start;
  margin-top: 1.1rem;
  font-size: clamp(1.05rem, 1.6vw, 1.45rem);
  font-stretch: 100%;
  white-space: nowrap;
}
.ao-vivo .resposta { font-size: 1rem; }

/* ---------- Celular e tablet: cabeçalho e barra fixos acompanham o tom do quadro ---------- */

@media (max-width: 1023.98px) {
  /* story de verdade: quem rola é uma camada fixa do tamanho da tela, e cada quadro tem exatamente
     a altura visível (dvh). Como o documento não rola, as barras do Safari/Instagram não encolhem
     no meio do caminho e o quadro seguinte nunca aparece pela metade. */
  html, body { height: 100%; overflow: hidden; overscroll-behavior: none; }
  html { scroll-snap-type: none; }
  .coluna {
    position: fixed; inset: 0;
    overflow-x: hidden; overflow-y: auto;
    overscroll-behavior-y: contain;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
  }
  .coluna::-webkit-scrollbar { display: none; }
  .quadro { height: 100vh; height: 100dvh; min-height: 0; }
  /* em tela alta (iPhone Pro Max) as linhas da enquete crescem junto, sem faixas vazias */
  .quadro--servicos .opcao { min-height: max(44px, 2.7em, 6.4dvh); }

  /* no celular a barra fixa de resposta é quem pede o serviço escolhido na enquete */
  .resposta--servico { display: none; }
  html[data-tom="claro"] .topo { color: var(--preto); --anel: var(--preto); }
  html[data-tom="claro"] .seg { background: rgb(0 0 0 / .2); }
  html:not([data-tom="claro"]) .perfil-id { text-shadow: 0 1px 2px rgb(0 0 0 / .45), 0 0 14px rgb(0 0 0 / .35); }
  html[data-tom="claro"] .topo-agendar { --fig-fundo: var(--preto); --fig-tinta: var(--branco); }
  html[data-tom="claro"] .resposta--fixa {
    --r-borda: var(--preto);
    --r-fundo: var(--amarelo);
    --r-tinta: var(--preto);
    --r-icone-fundo: var(--preto);
    --r-icone-tinta: var(--amarelo);
  }
  .resposta--fixa { transition: background-color .25s, border-color .25s, color .25s, translate .2s var(--saida), box-shadow .2s, scale .14s var(--saida); }
}

/* tablet em pé: o mesmo quadro, com a letra um degrau acima */
@media (min-width: 700px) and (max-width: 1023.98px) and (min-height: 900px) {
  .palco { max-width: 34rem; font-size: 20px; }
}

/* ---------- Desktop: parede amarela, três colunas ---------- */

@media (min-width: 1024px) {
  :root {
    --qh: max(560px, min(88vh, 820px));
    --qw: calc(var(--qh) * 9 / 16);
    --margem: calc((100vh - var(--qh)) / 2);
  }
  html { scroll-snap-type: y proximity; }

  .parede {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--qw) minmax(0, 1fr);
    column-gap: clamp(32px, 4.2vw, 88px);
    padding-inline: clamp(20px, 2.5vw, 48px);
  }
  .coluna { grid-column: 2; grid-row: 1; padding-block: var(--margem); }
  main { display: flex; flex-direction: column; gap: 6vh; }
  main:focus { outline: none; }
  footer { margin-top: 6vh; }

  .quadro {
    height: var(--qh);
    min-height: 0;
    border-radius: 22px;
    scroll-snap-align: center;
    scroll-snap-stop: normal;
    scroll-margin-block: var(--margem);
    box-shadow: 0 26px 50px -20px rgb(0 0 0 / .5), 0 2px 8px rgb(0 0 0 / .12);
  }
  .quadro--amarelo { box-shadow: inset 0 0 0 1.5px rgb(0 0 0 / .16), 0 26px 50px -20px rgb(0 0 0 / .42), 0 2px 8px rgb(0 0 0 / .1); }
  .quadro:focus-visible { outline-offset: 5px; }

  /* o quadro tem altura fixa: se a tela for baixa demais, o conteúdo rola dentro dele em vez de ser cortado */
  .palco {
    min-height: 0;
    padding: 26px 22px;
    overflow-y: auto;
    scrollbar-width: none;
    font-size: clamp(13px, 4.1cqi, 18px);
  }
  .palco::-webkit-scrollbar { display: none; }
  .quadro--capa .palco { padding-top: 80px; padding-bottom: 90px; }
  .quadro--servicos .opcao { min-height: max(44px, 2.7em, calc(var(--qh) * .062)); }
  .fim-whats { display: flex; }
  .quadro:not(.quadro--capa) .foto::after {
    background: linear-gradient(to top, rgb(0 0 0 / .55), rgb(0 0 0 / .18) 24%, rgb(0 0 0 / 0) 44%);
  }

  /* cabeçalho do story preso ao topo da capa; a barra de progresso fica fixa sobre a coluna */
  .topo {
    position: absolute;
    top: var(--margem);
    left: calc(50% - var(--qw) / 2);
    right: auto;
    width: var(--qw);
    z-index: 5;
    padding: 18px 16px 0;
  }
  .topo .progresso {
    position: fixed;
    top: max(10px, calc(var(--margem) - 18px));
    left: calc(50% - var(--qw) / 2);
    width: var(--qw);
    color: var(--preto);
  }
  .topo .seg { background: rgb(0 0 0 / .18); }
  .perfil { margin-top: 0; }
  .perfil-id { text-shadow: 0 1px 2px rgb(0 0 0 / .45), 0 0 14px rgb(0 0 0 / .35); }
  .topo-agendar { display: none; }

  .resposta--fixa {
    position: absolute;
    top: calc(var(--margem) + var(--qh) - 70px);
    left: calc(50% - var(--qw) / 2 + 16px);
    right: auto;
    bottom: auto;
    width: calc(var(--qw) - 32px);
    z-index: 5;
  }

  .marca, .ao-vivo {
    position: sticky; top: 0;
    align-self: start;
    height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
  }
  .marca {
    grid-column: 1; grid-row: 1;
    justify-self: end;
    width: min(100%, 23rem);
    gap: 1rem;
    padding-block: 4vh;
  }
  .ao-vivo {
    grid-column: 3; grid-row: 1;
    justify-self: start;
    width: min(100%, 24rem);
    gap: .85rem;
  }
}

/* com altura de sobra, "Agendar" e o pedido pelo WhatsApp ficam um embaixo do outro */
@media (min-width: 1024px) and (min-height: 761px) {
  .acao { flex-direction: column; align-items: flex-start; }
  .resposta--servico { align-self: stretch; flex: none; }
}

@media (min-width: 1024px) and (max-height: 760px) {
  .marca-fatos { display: none; }
  .destaques--lado .destaque-anel { width: 46px; height: 46px; }
}

/* ---------- Movimento ---------- */

/* o único momento orquestrado: as três figurinhas da capa são coladas uma a uma */
@media (prefers-reduced-motion: no-preference) {
  .colar {
    animation: colar .56s var(--saida) both;
    animation-delay: calc(.18s + var(--i, 0) * 90ms);
  }
  /* espera a Anybody chegar (no máximo 1,5 s) para a letra não trocar no meio da colagem */
  .js:not(.fontes-ok) .colar { animation-play-state: paused; }

  /* a escolha na enquete responde na barra: um toque rápido mostra o que mudou */
  .resposta.is-avisada { animation: avisar .62s var(--saida); }
}
@keyframes avisar {
  0% { scale: 1; }
  30% { scale: 1.045; }
  100% { scale: 1; }
}
@keyframes colar {
  from { opacity: 0; scale: 1.06; }
  35% { opacity: 1; }
  to { opacity: 1; scale: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .clica, .pular, .topo, .seg, .anel, .topo-agendar, .resposta--fixa,
  .destaque-anel, .destaques--lado .destaque-nome, .opcao,
  .lampada-cupula, .lampada-bulbo, .lampada-cone { transition: none; }
  .clica:hover, .clica:focus-visible { translate: none; }
  .clica:active, .opcao:active { scale: none; }
  .destaques a:hover .destaque-anel, .destaques a:active .destaque-anel { scale: none; }
}

/* barra de progresso: o segmento do quadro atual enche com a rolagem dentro dele */
@supports (animation-timeline: view()) {
  body { timeline-scope: --q1, --q2, --q3, --q4, --q5, --q6, --q7, --q8; }
  #capa { view-timeline-name: --q1; }
  #com-corte { view-timeline-name: --q2; }
  #barba { view-timeline-name: --q3; }
  #sem-corte { view-timeline-name: --q4; }
  #infantil { view-timeline-name: --q5; }
  #duvidas { view-timeline-name: --q6; }
  #endereco { view-timeline-name: --q7; }
  #fim { view-timeline-name: --q8; }
  .seg i { animation: encher linear both; animation-range: entry 50% exit 50%; }
  .seg:nth-child(1) i { animation-timeline: --q1; }
  .seg:nth-child(2) i { animation-timeline: --q2; }
  .seg:nth-child(3) i { animation-timeline: --q3; }
  .seg:nth-child(4) i { animation-timeline: --q4; }
  .seg:nth-child(5) i { animation-timeline: --q5; }
  .seg:nth-child(6) i { animation-timeline: --q6; }
  .seg:nth-child(7) i { animation-timeline: --q7; }
  .seg:nth-child(8) i { animation-timeline: --q8; }
}
@keyframes encher {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}
