/* Prime House — BIO PRIME
   Direção: balcão de açougue à noite. Carvão da fachada, ouro do selo reservado à ação,
   papel kraft onde a carne é escolhida, sangue-de-boi como cor de carimbo. */

:root {
  /* cor */
  --carvao: #1C1714;       /* fundo: preto quente da fachada */
  --tijolo: #2A211C;       /* superfície escura */
  --ouro: #E8B417;         /* ação principal, só */
  --ouro-press: #D4A30F;
  --osso: #F3EBDD;         /* texto sobre escuro */
  --osso-2: #BFB3A2;       /* texto de apoio sobre escuro */
  --kraft: #E9DCC4;        /* papel de açougue */
  --kraft-2: #D9C9AE;      /* placeholder de imagem no kraft */
  --boi: #5A1A15;          /* carimbo / superfície da terça */
  --tinta: #33120F;        /* texto sobre kraft */
  --tinta-2: #5B3A2E;      /* apoio sobre kraft */
  --linha: rgba(243, 235, 221, 0.12);
  --focus: #F6D25E;        /* foco em superfícies escuras */
  --focus-ink: #5A1A15;    /* foco no kraft (o ouro some ali: 1,08:1) */

  /* tipo */
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* espaço */
  --gutter: 20px;
  --scene: 56px;           /* respiro entre cenas */
  --stack: 14px;           /* respiro dentro de uma cena */

  /* motion */
  --motion-instant: 80ms;
  --motion-fast: 140ms;
  --motion-standard: 220ms;
  --motion-emphasis: 320ms;
  --motion-scene: 420ms;
  --motion-signature: 700ms;
  --ease-enter: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-exit: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-standard: cubic-bezier(0.65, 0, 0.35, 1);
  --shift-sm: 3px;
  --shift-md: 14px;
  --sheet-shift: 40px;
  --press-scale: 0.97;

  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --shift-sm: 0px;
    --shift-md: 0px;
    --sheet-shift: 0px;
    --press-scale: 1;
    --motion-scene: 180ms;
    --motion-signature: 0ms;
  }
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 16px;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
/* ficha aberta: o fundo não rola atrás dela (iOS inclusive) */
html:has(.sheet[open]) { overflow: hidden; }

body {
  margin: 0;
  background: #120F0D;
  color: var(--osso);
  font-family: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0; text-wrap: pretty; }

/* ícones: espaço reservado antes do Font Awesome chegar, sem empurrar rótulos */
.btn i,
.text-link i,
.place__map-btn i,
.cuts-nav__btn i {
  display: inline-block;
  width: 1.25em;
  text-align: center;
  flex: none;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 16px;
  background: var(--ouro);
  color: var(--carvao);
  font-weight: 600;
  border-radius: 8px;
}
.skip:focus { top: calc(12px + var(--safe-top)); }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.counter :focus-visible,
.sheet :focus-visible {
  outline-color: var(--focus-ink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.page {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  background: var(--carvao);
  overflow-x: clip;
}

.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
.title--ink { color: var(--tinta); }

/* ---------- botões ---------- */

.btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 20px;
  border-radius: 12px;
  font-family: var(--text);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--motion-fast) var(--ease-standard),
    background-color var(--motion-fast) var(--ease-standard),
    border-color var(--motion-fast) var(--ease-standard);
}
.btn i { font-size: 1.15em; }
.btn:active { transform: scale(var(--press-scale)); }

.btn--main {
  background: var(--ouro);
  color: var(--carvao);
  font-size: 17px;
}
.btn--main:active { background: var(--ouro-press); }

.btn--line {
  border: 1.5px solid rgba(243, 235, 221, 0.35);
  color: var(--osso);
  background: transparent;
}
.btn--line:active { background: rgba(243, 235, 221, 0.08); border-color: var(--osso); }

/* carregando: o toque no WhatsApp foi recebido e o app está abrindo */
/* o próprio ícone vira o indicador, no mesmo lugar */
.btn.is-opening i {
  width: 18px;
  height: 18px;
  margin: 0 2px;
  font-size: 0;
  border: 2.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

@media (hover: hover) and (pointer: fine) {
  .btn--main:hover { background: #F2C230; }
  .btn--line:hover { border-color: var(--osso); background: rgba(243, 235, 221, 0.04); }
}

/* ---------- cena 1: a brasa ---------- */

.hero {
  position: relative;
  padding-bottom: 36px;
}

/* a foto fica em cima e o texto embaixo, no carvão: a carne não disputa com o título */
.hero__media {
  position: relative;
  height: 58vh;
  height: min(118vw, 60svh, 640px);
  overflow: hidden;
  background: #0E0B0A;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 42%;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(28, 23, 20, 0.5) 0%, rgba(28, 23, 20, 0) 26%),
    linear-gradient(0deg, var(--carvao) 0%, var(--carvao) 8%, rgba(28, 23, 20, 0.9) 22%, rgba(28, 23, 20, 0) 50%);
}
/* brilho de brasa na linha da grelha */
.hero__glow {
  position: absolute;
  left: -20%;
  right: -20%;
  top: 44%;
  height: 46%;
  background: radial-gradient(50% 50% at 60% 50%, rgba(240, 120, 30, 0.4), rgba(240, 120, 30, 0) 100%);
  mix-blend-mode: screen;
}

/* fogo vivo (WebGL): desenha a mesma foto por cima, então o cruzamento com a imagem não aparece */
.live-fire {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 700ms var(--ease-standard);
}
.live-fire.is-on { opacity: 1; }

/* assinatura: a brasa acende. Só com JS e sem reduced motion; o estado final é o padrão. */
.js .hero:not(.is-lit) .hero__glow { opacity: 0; }
.js .hero:not(.is-lit) .hero__img { opacity: 0.55; }
.hero__glow,
.hero__img {
  transition: opacity var(--motion-signature) var(--ease-enter);
}
.hero__glow { transition-delay: calc(var(--motion-signature) * 0.35); }

.hero__top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: calc(16px + var(--safe-top)) var(--gutter) 0;
}
.hero__controls {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.fire-toggle {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 16, 14, 0.6);
  color: var(--osso);
  font-size: 13px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard);
}
.fire-toggle[hidden] { display: none; }
.fire-toggle:active { transform: scale(0.92); background: rgba(20, 16, 14, 0.85); }
@media (hover: hover) and (pointer: fine) {
  .fire-toggle:hover { background: rgba(20, 16, 14, 0.85); }
}

.hero__seal {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.5);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(20, 16, 14, 0.78);
  color: var(--osso);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
}
.status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9A8F80;
  box-shadow: 0 0 0 3px rgba(154, 143, 128, 0.2);
}
.status.is-open .status__dot { background: #6FCF7B; box-shadow: 0 0 0 3px rgba(111, 207, 123, 0.2); }

.hero__body {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: -64px;
  padding: 0 var(--gutter);
}
.hero__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 52px;
  line-height: 0.9;
  letter-spacing: 0.005em;
}
.hero__sub {
  color: #D9CBB5;
  font-weight: 600;
  font-size: 16px;
}
.hero__lead {
  max-width: 34ch;
  color: var(--osso);
  font-size: 17px;
  line-height: 1.5;
  margin: 2px 0 12px;
}

/* telas baixas (SE, barras do navegador abertas): o botão continua na primeira dobra */
@media (max-height: 620px) {
  .hero__media { height: 44svh; }
  .hero__title { font-size: 44px; }
  .hero__body { margin-top: -52px; }
  .hero__seal { width: 60px; height: 60px; }
}

/* ---------- cena 2: o essencial ---------- */

.links { padding: 4px var(--gutter) var(--scene); }
.links__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--linha);
}
.link-row {
  display: grid;
  grid-template-columns: 44px 1fr 16px;
  align-items: center;
  gap: 14px;
  min-height: 72px;
  padding: 12px 4px;
  border-bottom: 1px solid var(--linha);
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: background-color var(--motion-fast) var(--ease-standard);
}
.link-row:active { background: rgba(243, 235, 221, 0.06); }
.link-row__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--tijolo);
  color: var(--osso);
  font-size: 18px;
  transition: background-color var(--motion-fast) var(--ease-standard);
}
.link-row__text { display: grid; gap: 2px; min-width: 0; }
.link-row__text strong { font-weight: 600; font-size: 17px; line-height: 1.25; }
.link-row__text small { color: var(--osso-2); font-size: 14px; line-height: 1.35; }
.link-row__go {
  color: var(--osso-2);
  font-size: 13px;
  text-align: center;
  transition: transform var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}
.link-row:active .link-row__go { transform: translateX(var(--shift-sm)); color: var(--osso); }
.link-row:active .fa-chevron-down { transform: translateY(var(--shift-sm)); }

@media (hover: hover) and (pointer: fine) {
  .link-row:hover { background: rgba(243, 235, 221, 0.035); }
  .link-row:hover .link-row__icon { background: #3A2E27; }
  .link-row:hover .link-row__go { transform: translateX(var(--shift-sm)); color: var(--osso); }
  .link-row:hover .fa-chevron-down { transform: translateY(var(--shift-sm)); }
}

/* ---------- cena 3: o balcão ---------- */

.counter {
  position: relative;
  padding: 48px 0 40px;
  background: var(--kraft);
  color: var(--tinta);
}
/* fibra do papel: textura estática, leve */
.counter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    repeating-linear-gradient(97deg, rgba(90, 60, 30, 0.05) 0 1px, transparent 1px 7px),
    repeating-linear-gradient(3deg, rgba(90, 60, 30, 0.04) 0 1px, transparent 1px 11px);
}
.counter > * { position: relative; }
.counter__head { padding: 0 var(--gutter); display: grid; gap: 10px; }
.counter__note { max-width: 40ch; font-size: 16px; color: var(--tinta-2); }

.cuts {
  list-style: none;
  margin: 24px 0 0;
  padding: 4px var(--gutter) 10px;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 62%;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.cuts::-webkit-scrollbar { display: none; }
.cuts > li { scroll-snap-align: start; }

.cut {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--tinta);
  border-radius: 3px;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--motion-fast) var(--ease-standard);
}
.cut:active { transform: scale(var(--press-scale)); }
.cut__media {
  display: block;
  overflow: hidden;
  border-radius: 3px;
  background: var(--kraft-2);
}
.cut__media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 600ms var(--ease-standard);
}

/* apresentação automática: o corte da vez é carimbado e a foto se aproxima devagar enquanto ele fica em cena */
.cuts.is-playing .is-current .cut__media img {
  transform: scale(1.05);
  transition: transform var(--dwell, 3400ms) linear;
}
.cuts.is-playing .is-current .cut__tag { background: var(--boi); color: var(--kraft); }
/* etiqueta de açougue: fio duplo em cor de carimbo */
.cut__tag {
  display: block;
  margin-top: 10px;
  padding: 8px 10px 7px;
  border: 1.5px solid var(--boi);
  outline: 1px solid var(--boi);
  outline-offset: 2px;
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.05;
  color: var(--boi);
  text-wrap: balance;
  transition: background-color var(--motion-fast) var(--ease-standard), color var(--motion-fast) var(--ease-standard);
}
/* tocar/passar o mouse "carimba" a etiqueta: confirma qual peça foi escolhida */
.cut:active .cut__tag { background: var(--boi); color: var(--kraft); }
@media (hover: hover) and (pointer: fine) {
  .cut:hover .cut__tag { background: var(--boi); color: var(--kraft); }
}
/* selo sobre a foto: não acrescenta linha ao card, então todos ficam da mesma altura */
.cut__house {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 9px;
  border-radius: 3px;
  background: var(--kraft);
  color: var(--boi);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* navegação do carrossel: posição + setas (mouse e teclado alcançam todos os cortes) */
.cuts-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 var(--gutter);
}
.cuts-nav[hidden] { display: none; }
.cuts-nav__track {
  position: relative;
  flex: 1;
  height: 3px;
  margin-right: 8px;
  border-radius: 2px;
  background: rgba(90, 26, 21, 0.16);
  overflow: hidden;
}
.cuts-nav__thumb {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--thumb-w, 30%);
  border-radius: 2px;
  background: var(--boi);
  transform: translateX(var(--thumb-x, 0px));
}
/* cópia do marcador uma volta atrás: ao passar do último corte ele reaparece no começo, sem salto */
.cuts-nav__thumb::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(-1 * var(--track-w, 0px));
  width: 100%;
  border-radius: inherit;
  background: inherit;
}
.cuts-nav__btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--boi);
  border-radius: 50%;
  background: transparent;
  color: var(--boi);
  font-size: 15px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition:
    transform var(--motion-fast) var(--ease-standard),
    background-color var(--motion-fast) var(--ease-standard),
    color var(--motion-fast) var(--ease-standard),
    opacity var(--motion-standard) var(--ease-standard);
}
.cuts-nav__btn:active:not(:disabled) { transform: scale(0.92); background: var(--boi); color: var(--kraft); }
.cuts-nav__btn:disabled { opacity: 0.3; cursor: default; }
@media (hover: hover) and (pointer: fine) {
  .cuts-nav__btn:hover:not(:disabled) { background: var(--boi); color: var(--kraft); }
}

.counter__more {
  margin-top: 16px;
  padding: 0 var(--gutter);
  font-size: 15px;
  color: var(--tinta-2);
}
.counter__more a {
  display: flex;
  width: fit-content;
  align-items: center;
  min-height: 48px;
  font-weight: 600;
  color: var(--boi);
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* ---------- cena 4: terça ---------- */

.tuesday {
  display: grid;
  gap: var(--stack);
  padding: 44px var(--gutter);
  background: var(--boi);
}
.tuesday p { color: #EAD7C8; max-width: 40ch; }
.tuesday .btn { margin-top: 6px; }
.tuesday .tuesday__today {
  justify-self: start;
  padding: 6px 12px;
  border: 1.5px solid var(--ouro);
  border-radius: 999px;
  color: var(--ouro);
  font-weight: 600;
  font-size: 15px;
  line-height: 1.3;
}
.tuesday__today[hidden] { display: none; }

/* ---------- cena 5: eventos ---------- */

.events { padding: var(--scene) 0 0; }
.events__media {
  position: relative;
  margin: 0;
  overflow: hidden;
}
.events__fire-toggle {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 1;
}
.events__media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.events__body {
  display: grid;
  gap: var(--stack);
  padding: 26px var(--gutter) 0;
}
.events__body p { color: var(--osso-2); max-width: 42ch; }
.events__actions { display: grid; gap: 10px; margin-top: 8px; }

/* ---------- cena 6: avaliações ---------- */

.reviews {
  display: grid;
  gap: 18px;
  padding: var(--scene) var(--gutter) 0;
}
.reviews__src {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
  color: var(--osso-2);
  font-size: 14px;
}
.stars { color: var(--ouro); font-size: 12px; letter-spacing: 2px; }

.quote {
  margin: 0;
  padding-left: 16px;
  border-left: 2px solid rgba(243, 235, 221, 0.2);
}
.quote p { font-size: 16px; color: var(--osso); }
.quote footer { margin-top: 6px; font-size: 14px; color: var(--osso-2); }
.quote--lead { padding-left: 0; border: 0; }
.quote--lead p {
  font-family: var(--display);
  font-weight: 700;
  font-size: 29px;
  line-height: 1.08;
  text-wrap: balance;
}

.text-link {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 8px;
  min-height: 48px;
  font-weight: 600;
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

/* ---------- cena 7: onde ---------- */

.place {
  display: grid;
  gap: 18px;
  padding: var(--scene) var(--gutter) 0;
}
.place__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 6px;
  background: var(--tijolo);
}
.place__media img,
.place__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: 50% 40%;
}
.place__media iframe {
  opacity: 0;
  transition: opacity var(--motion-scene) var(--ease-standard);
}
.place__media iframe.is-ready { opacity: 1; }
.place__map-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 16, 14, 0.88);
  color: var(--osso);
  font: 600 15px/1 var(--text);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard);
}
.place__map-btn:active { transform: scale(var(--press-scale)); }
.place__map-btn[aria-busy="true"] { cursor: progress; }
.place__map-btn[aria-busy="true"] i { animation: breathe 900ms var(--ease-standard) infinite alternate; }
@media (hover: hover) and (pointer: fine) {
  .place__map-btn:hover { background: #000; }
}

.place__addr {
  font-style: normal;
  color: var(--osso-2);
}
.place__addr strong {
  display: block;
  margin-bottom: 2px;
  color: var(--osso);
  font-size: 18px;
  font-weight: 600;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  font-variant-numeric: tabular-nums;
}
.hours th,
.hours td {
  padding: 11px 0;
  border-bottom: 1px solid var(--linha);
  text-align: left;
  font-weight: 400;
}
.hours td { text-align: right; color: var(--osso-2); }
.hours tr.is-today th,
.hours tr.is-today td { color: var(--osso); font-weight: 600; }
.hours tr.is-today th::after {
  content: " (hoje)";
  font-weight: 400;
  color: var(--osso-2);
}

.place__actions { display: grid; gap: 10px; margin-top: 4px; }

/* ---------- fecho ---------- */

.closing {
  display: grid;
  justify-items: center;
  gap: var(--stack);
  margin-top: var(--scene);
  padding: 52px var(--gutter) 44px;
  text-align: center;
  background:
    radial-gradient(80% 60% at 50% 100%, rgba(232, 110, 23, 0.16), transparent 70%),
    var(--tijolo);
}
.closing__seal { width: 88px; height: 88px; border-radius: 50%; }
.closing p { color: var(--osso-2); max-width: 36ch; }
.closing .btn { width: 100%; margin-top: 8px; }

.foot {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 28px var(--gutter) calc(32px + var(--safe-bottom));
  text-align: center;
  font-size: 13px;
  color: var(--osso-2);
  background: var(--tijolo);
  border-top: 1px solid var(--linha);
}
.foot__tag { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--osso); }
/* rede social secundária: discreta, mas com alvo de toque inteiro */
.foot__social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px 0 6px;
  border: 1px solid rgba(243, 235, 221, 0.18);
  border-radius: 999px;
  color: var(--osso);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard), border-color var(--motion-fast) var(--ease-standard);
}
.foot__social i {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--carvao);
  font-size: 15px;
}
.foot__social:active { transform: scale(var(--press-scale)); background: rgba(243, 235, 221, 0.06); }
@media (hover: hover) and (pointer: fine) {
  .foot__social:hover { border-color: rgba(243, 235, 221, 0.4); background: rgba(243, 235, 221, 0.04); }
}

/* ---------- barra fixa ---------- */

.dock {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  max-width: 560px;
  margin: 0 auto;
  padding: 14px 16px calc(12px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(28, 23, 20, 0), rgba(28, 23, 20, 0.94) 38%);
  transform: translateY(110%);
  visibility: hidden;
  transition:
    transform var(--motion-emphasis) var(--ease-enter),
    visibility 0s linear var(--motion-emphasis);
}
.dock.is-on {
  transform: none;
  visibility: visible;
  transition: transform var(--motion-emphasis) var(--ease-enter), visibility 0s;
}
.dock .btn { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
@media (prefers-reduced-motion: reduce) {
  .dock { transform: none; opacity: 0; transition: opacity var(--motion-scene) linear, visibility 0s linear var(--motion-scene); }
  .dock.is-on { opacity: 1; transition: opacity var(--motion-scene) linear, visibility 0s; }
}

/* ---------- ficha do corte ---------- */

.sheet {
  width: 100%;
  max-width: 560px;
  max-height: 92vh;
  max-height: 92svh;
  margin: auto auto 0;
  padding: 0;
  border: 0;
  border-radius: 20px 20px 0 0;
  background: var(--kraft);
  color: var(--tinta);
  overflow: hidden;
  overscroll-behavior: contain;
}
.sheet::backdrop { background: rgba(10, 8, 7, 0.62); }
.sheet[open] { animation: sheet-in var(--motion-emphasis) var(--ease-enter); }
.sheet[open]::backdrop { animation: fade-in var(--motion-emphasis) linear; }
/* quando a foto viaja do card (View Transition), a ficha não repete a própria entrada.
   A classe fica até fechar, para a entrada não disparar de novo ao ser removida. */
.sheet.via-vt[open],
.sheet.via-vt[open]::backdrop { animation: none; }
.sheet.is-closing[open] { animation: sheet-out var(--motion-standard) var(--ease-exit) forwards; }
.sheet.is-closing[open]::backdrop,
.sheet.is-dismissing[open]::backdrop { animation: fade-out var(--motion-standard) linear forwards; }
/* fechar arrastando: a ficha segue o dedo e sai pelo mesmo caminho */
.sheet.is-dragging { transition: none; }
.sheet.is-settling { transition: transform var(--motion-standard) var(--ease-enter); }
.sheet.is-dismissing { transition: transform var(--motion-standard) var(--ease-exit); }

.sheet__panel {
  position: relative;
  max-height: inherit;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-bottom: calc(20px + var(--safe-bottom));
}
.sheet__grab {
  position: relative;
  touch-action: none;   /* o gesto vertical aqui é de fechar, não de rolar */
}
.sheet__handle {
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 40px;
  height: 5px;
  margin-left: -20px;
  border-radius: 3px;
  background: rgba(243, 235, 221, 0.85);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.sheet__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--kraft-2);
}
.sheet__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(20, 16, 14, 0.8);
  color: var(--osso);
  font-size: 20px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform var(--motion-fast) var(--ease-standard), background-color var(--motion-fast) var(--ease-standard);
}
.sheet__close:active { transform: scale(0.92); }
.sheet__close:focus-visible { outline-color: var(--focus); }
@media (hover: hover) and (pointer: fine) {
  .sheet__close:hover { background: #000; }
}
.sheet__body { display: grid; gap: 12px; padding: 20px var(--gutter) 0; }
.sheet__house { font-size: 14px; font-weight: 600; color: #6B4434; }
.sheet__house[hidden] { display: none; }
.sheet__title {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: 38px;
  line-height: 0.98;
  color: var(--boi);
  text-wrap: balance;
}
.sheet__prep {
  display: grid;
  gap: 2px;
  margin-top: 2px;
  padding: 12px 14px;
  border: 1.5px solid rgba(90, 26, 21, 0.35);
  border-radius: 4px;
}
.sheet__prep strong { color: var(--boi); }
.sheet .btn--main { margin-top: 6px; }

::view-transition-group(cut-photo) {
  animation-duration: var(--motion-emphasis);
  animation-timing-function: var(--ease-enter);
}
::view-transition-old(cut-photo),
::view-transition-new(cut-photo) {
  height: 100%;
  object-fit: cover;
  overflow: clip;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: var(--motion-standard);
}

@keyframes sheet-in { from { transform: translateY(var(--sheet-shift)); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheet-out { to { transform: translateY(var(--sheet-shift)); opacity: 0; } }
@keyframes fade-in { from { opacity: 0; } }
@keyframes fade-out { to { opacity: 0; } }
@keyframes spin { to { rotate: 1turn; } }
@keyframes breathe { from { opacity: 1; } to { opacity: 0.35; } }

/* ---------- reveal (só com JS) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(var(--shift-md));
  transition:
    opacity var(--motion-scene) var(--ease-enter),
    transform var(--motion-scene) var(--ease-enter);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* loops curtos de estado (carregando) param com reduced motion; o estado continua visível */
@media (prefers-reduced-motion: reduce) {
  .btn.is-opening i { animation: none; border-right-color: currentColor; opacity: 0.6; }
  .place__map-btn[aria-busy="true"] i { animation: none; opacity: 0.5; }
  .cuts-nav__btn:active:not(:disabled),
  .sheet__close:active { transform: none; }
  .cuts.is-playing .is-current .cut__media img { transform: none; }
}

/* ---------- telas estreitas e largas ---------- */

@media (max-width: 350px) {
  :root { --gutter: 16px; --scene: 48px; }
  .cuts-nav { gap: 8px; }
  .hero__title { font-size: 46px; }
  .title { font-size: 32px; }
  .cuts { grid-auto-columns: 70%; }
}

@media (min-width: 600px) {
  html { scrollbar-gutter: stable; }
  /* fora do celular a coluna flutua sobre a brasa, em vez de um vazio liso */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: #120F0D url("assets/web/ambiente.webp") center / cover no-repeat;
  }
  .page {
    margin: 32px auto;
    border-radius: 18px;
    overflow: clip;
    box-shadow: 0 0 0 1px rgba(243, 235, 221, 0.07), 0 30px 80px rgba(0, 0, 0, 0.55);
  }
  .hero__media { height: min(600px, 64svh); }
  .cuts { grid-auto-columns: 42%; }
  .dock { bottom: 12px; padding: 0 20px; background: none; }
  .foot { padding-bottom: 32px; }

  /* ficha vira janela central: gesto de arrastar não faz sentido aqui */
  .sheet {
    max-width: 480px;
    max-height: 88vh;
    margin: auto;
    border-radius: 16px;
  }
  .sheet__handle { display: none; }
  .sheet__grab { touch-action: auto; }
  .sheet__panel { padding-bottom: 24px; }
}
