/* Site final (28/10/2026): o que entrou depois da versão 4.
   Destaques do início, galeria da casa, ficha do prato por cima da página e foto em tela cheia.
   Usa as mesmas cores e letras da versão 4 (variáveis do :root da página). */

.sobretitulo { font-weight: 700; font-size: .72rem; line-height: 1.3; letter-spacing: .22em; text-transform: uppercase; color: var(--acento); margin: 0 0 8px; }
.selo-real { display: inline-block; font-weight: 700; font-size: .62rem; line-height: 1; letter-spacing: .12em; text-transform: uppercase; background: var(--acento); color: #fff; padding: 5px 8px; border-radius: 6px; }

/* ---------- Início: os pratos da casa ---------- */
.destaques { padding: 56px 0 24px; }
.dest-lista { display: grid; gap: 16px; margin: 22px 0 22px; }
@media (min-width: 760px) { .dest-lista { grid-template-columns: repeat(3, 1fr); } }
.dest-card { display: flex; flex-direction: column; background: var(--papel-3); border: 1px solid var(--fio); border-radius: 18px; overflow: hidden; color: var(--tinta); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.dest-card:hover { transform: translateY(-3px); box-shadow: 0 18px 36px -24px rgba(51, 38, 28, .55); }
.dest-foto { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--papel-2); }
.dest-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dest-foto .selo-real { position: absolute; left: 10px; bottom: 10px; }
.dest-corpo { display: flex; flex-direction: column; gap: 6px; padding: 16px 16px 18px; }
.dest-corpo b { font: 700 1.25rem/1.15 var(--ff-t); }
.dest-corpo > span { color: var(--tinta-2); font-size: .92rem; line-height: 1.4; }
.dest-pe { display: flex; justify-content: space-between; align-items: center; margin-top: 4px; }
.dest-pe strong { font: 700 1.3rem/1 var(--ff-t); }
.dest-pe em { font-style: normal; font-weight: 700; color: var(--verde); font-size: .9rem; }
.dest-todos { width: 100%; justify-content: center; }
@media (min-width: 760px) { .dest-todos { width: auto; } }

/* ---------- Cardápio: o prato é tocável ---------- */
.prato-foto, .prato-nome { cursor: pointer; }
.prato-foto { position: relative; }
.prato-foto::after { content: "+"; position: absolute; right: 4px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 253, 248, .92); color: var(--tinta); font: 700 15px/22px system-ui, sans-serif; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.prato-nome:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- A casa: galeria ---------- */
.galeria { padding: 48px 0 40px; }
.gal-intro { color: var(--tinta-2); margin: 6px 0 18px; }
.gal-grade { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 760px) { .gal-grade { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.gal-item { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.gal-item button { padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; aspect-ratio: 4 / 3; background: var(--papel-2); display: block; width: 100%; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s ease; }
.gal-item button:hover img { transform: scale(1.04); }
.gal-item figcaption { font-size: .85rem; color: var(--tinta-2); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.gal-vazio { aspect-ratio: 4 / 3; border-radius: 14px; border: 2px dashed var(--fio); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--tinta-2); text-align: center; padding: 10px; }
.gal-vazio .ic { width: 26px; height: 26px; }
.gal-vazio b { font: 700 1.05rem/1.2 var(--ff-t); color: var(--tinta); }
.gal-vazio span { font-size: .8rem; }

/* ---------- Ficha do prato, por cima da página ---------- */
.ficha { position: fixed; inset: 0; z-index: 90; display: flex; align-items: flex-end; justify-content: center; }
.ficha[hidden] { display: none; }
.ficha-fundo { position: absolute; inset: 0; background: rgba(35, 26, 20, .55); animation: fichaFundo .25s ease; }
.ficha-painel { position: relative; width: 100%; max-width: 560px; max-height: 92vh; overflow: auto; background: var(--papel-3); border-radius: 22px 22px 0 0; padding-bottom: max(18px, env(safe-area-inset-bottom)); animation: fichaSobe .32s cubic-bezier(.2, .8, .2, 1); }
@media (min-width: 700px) { .ficha { align-items: center; } .ficha-painel { border-radius: 22px; } }
.ficha-foto { position: relative; display: block; width: 100%; padding: 0; border: 0; aspect-ratio: 4 / 3; background: var(--papel-2); cursor: zoom-in; }
.ficha-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ficha-foto .selo-real { position: absolute; left: 12px; bottom: 12px; }
.ficha-foto .selo-real[data-real="0"] { background: rgba(35, 26, 20, .7); }
.ficha-x { position: absolute; right: 12px; top: 12px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 253, 248, .95); color: var(--tinta); font: 700 22px/42px system-ui, sans-serif; cursor: pointer; box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
.ficha-corpo { padding: 18px 20px 6px; display: flex; flex-direction: column; gap: 10px; }
.ficha-nome { font: 700 1.6rem/1.1 var(--ff-t); margin: 0; }
.ficha-desc { color: var(--tinta-2); margin: 0; line-height: 1.45; }
.ficha-preco { font: 700 1.6rem/1 var(--ff-t); }
.ficha-nota { font-size: .85rem; color: var(--tinta-2); background: var(--papel); border-radius: 10px; padding: 8px 10px; margin: 0; }
.ficha-acoes { display: grid; gap: 10px; margin-top: 6px; }
.ficha-acoes .btn { width: 100%; justify-content: center; }
.ficha-mais { display: flex; gap: 10px; }
.ficha-mais a, .ficha-mais button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: 12px; border: 1.5px solid var(--fio); background: transparent; color: var(--tinta); font-family: inherit; font-weight: 700; font-size: .9rem; line-height: 1; text-decoration: none; cursor: pointer; }
.ficha-ok { font-size: .85rem; color: var(--verde); min-height: 1.2em; margin: 0; }
@keyframes fichaSobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fichaFundo { from { opacity: 0; } to { opacity: 1; } }

/* ---------- Foto em tela cheia ---------- */
.tela-cheia { position: fixed; inset: 0; z-index: 120; background: rgba(20, 15, 11, .96); display: flex; align-items: center; justify-content: center; }
.tela-cheia[hidden] { display: none; }
.tela-cheia img { max-width: 100%; max-height: 82vh; object-fit: contain; display: block; }
.tela-cheia figcaption { position: absolute; left: 0; right: 0; bottom: max(18px, env(safe-area-inset-bottom)); text-align: center; color: #F3ECDD; font-size: .9rem; padding: 0 60px; }
.tela-cheia button { position: absolute; border: 0; background: rgba(243, 236, 221, .14); color: #F3ECDD; width: 48px; height: 48px; border-radius: 50%; font: 700 24px/48px system-ui, sans-serif; cursor: pointer; }
.tc-x { right: 14px; top: max(14px, env(safe-area-inset-top)); }
.tc-ant { left: 10px; top: 50%; transform: translateY(-50%); }
.tc-prox { right: 10px; top: 50%; transform: translateY(-50%); }

@media (prefers-reduced-motion: reduce) {
  .ficha-painel, .ficha-fundo { animation: none; }
  .dest-card, .gal-item img { transition: none; }
}

/* ---------- 28/10, à tarde: a home repaginada ---------- */
.marca-ramo, .rodape-marca .ramo { display: none; }
.heroi { display: grid; background: var(--papel); }
.heroi-foto { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--papel-2); }
.heroi-foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.heroi-foto::after { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; background: linear-gradient(0deg, rgba(35, 26, 20, .55), rgba(35, 26, 20, 0)); }
.heroi-legenda { position: absolute; left: 16px; bottom: 14px; z-index: 1; margin: 0; display: flex; align-items: center; gap: 8px; color: #FFFDF8; font-size: .9rem; }
.heroi-texto { padding: 24px 18px 36px; padding-left: max(18px, env(safe-area-inset-left)); padding-right: max(18px, env(safe-area-inset-right)); }
.heroi-texto .capa-titulo { margin-top: 14px; }
@media (min-width: 900px) {
  .heroi { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); min-height: max(560px, calc(100svh - 72px - 150px)); }
  .heroi-texto { order: 1; align-self: center; justify-self: end; width: 100%; max-width: 780px; padding: 40px clamp(32px, 4vw, 64px) 48px clamp(32px, 5vw, 96px); }
  .heroi-texto .capa-titulo { font-size: clamp(3.2rem, 4.2vw, 4.8rem); }
  .heroi-texto .capa-botoes { flex-wrap: nowrap; }
  .heroi-texto .capa-botoes .btn { flex: 0 0 auto; }
  .heroi-foto { order: 2; aspect-ratio: auto; min-height: 100%; }
  .heroi-foto img { position: absolute; inset: 0; }
  .heroi-foto::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 22%; z-index: 1; background: linear-gradient(90deg, var(--papel), rgba(243, 236, 221, 0)); }
  .heroi-legenda { left: auto; right: 24px; bottom: 22px; }
}
.fatos { background: var(--escuro); color: var(--claro); }
.fatos-grade { display: grid; grid-template-columns: repeat(2, 1fr); max-width: 1320px; }
.fato { padding: 22px 14px 24px; display: flex; flex-direction: column; gap: 4px; border-top: 1px solid rgba(243, 236, 221, .12); }
.fato:nth-child(odd) { border-right: 1px solid rgba(243, 236, 221, .12); }
.fato:nth-child(-n+2) { border-top: 0; }
.fato b { font: 700 clamp(1.45rem, 6vw, 2.2rem)/1 var(--ff-t); color: #FFFDF8; letter-spacing: -.01em; white-space: nowrap; }
.fato span { color: var(--claro-2); font-size: .92rem; line-height: 1.35; }
.fato .fato-estrelas { color: var(--acento-claro); letter-spacing: 3px; font-size: 1rem; }
@media (min-width: 900px) {
  .fatos-grade { grid-template-columns: repeat(4, 1fr); }
  .fato { padding: 34px 26px 36px; border-top: 0; border-right: 1px solid rgba(243, 236, 221, .12); }
  .fato:last-child { border-right: 0; }
}
.fato-pag b { white-space: normal; font-size: clamp(1.25rem, 4.6vw, 1.75rem); line-height: 1.1; }

/* 30/10: o cardápio novo e o pagamento no pedido */
.segmento-3 { grid-template-columns: repeat(3, 1fr); }
.linha.hoje { background: rgba(63, 107, 71, .08); margin: 0 -8px; padding-left: 8px; padding-right: 8px; border-radius: 8px; }
.tag-hoje { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--verde); color: #FFFFFF; font-size: .75rem; font-weight: 800; letter-spacing: .02em; }
