/* Hioki Sushi Campolim — "laca e bordo"
   Marrom-laca da madeira do salão, laranja da árvore de outono. */

:root {
  --laca: #170e0a;
  --laca-2: #24160f;
  --arroz: #f3ece3;
  --fumaca: #bba996;
  --outono: #e8662a;
  --outono-claro: #f59a62;
  --linha: rgba(243, 236, 227, 0.14);
  --aberto: #8fd19e;

  --serifa: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", Georgia, serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;

  --margem: clamp(1.25rem, 5vw, 2.5rem);
  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--laca);
  color: var(--arroz);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--outono-claro);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--outono-claro);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Topo ---------- */

.topo {
  position: relative;
}

.topo__foto {
  position: relative;
  height: 62svh;
  min-height: 420px;
  overflow: hidden;
}

.topo__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.topo__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(23, 14, 10, 0.55) 0%, rgba(23, 14, 10, 0) 28%),
    linear-gradient(to top, var(--laca) 2%, rgba(23, 14, 10, 0.7) 30%, rgba(23, 14, 10, 0) 60%);
}

.topo__conteudo {
  position: relative;
  z-index: 1;
  margin-top: -9rem;
  padding: 0 var(--margem);
}

.topo__logo {
  margin: 0 0 1.25rem;
}

.topo__logo img {
  width: 150px;
}

/* ---------- Aberto agora ---------- */

.status {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--fumaca);
}

.status__ponto {
  flex: none;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--fumaca);
}

.status--aberto {
  color: var(--arroz);
}

.status--aberto .status__ponto {
  background: var(--aberto);
  box-shadow: 0 0 0 0 rgba(143, 209, 158, 0.6);
  animation: pulso 2.4s ease-out infinite;
}

@keyframes pulso {
  to {
    box-shadow: 0 0 0 0.6rem rgba(143, 209, 158, 0);
  }
}

/* ---------- Botões ---------- */

.acoes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

.botao {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: 0.6rem 1rem;
  border: 1px solid rgba(243, 236, 227, 0.35);
  border-radius: 6px;
  background: rgba(23, 14, 10, 0.55);
  color: var(--arroz);
  font-weight: 500;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.15s, border-color 0.15s;
}

.botao:hover {
  border-color: var(--arroz);
  background: var(--laca-2);
}

.botao--largo {
  grid-column: 1 / -1;
}

.botao--principal {
  grid-column: 1 / -1;
  border-color: var(--outono);
  background: var(--outono);
  color: var(--laca);
  font-weight: 700;
  font-size: 1.05rem;
}

.botao--principal:hover {
  border-color: var(--outono-claro);
  background: var(--outono-claro);
}

/* Links que ainda esperam o cliente (iFood, telefone...). Remover quando chegarem. */
[data-pendente] {
  outline: 1px dashed var(--outono-claro);
  outline-offset: 2px;
}

/* ---------- Dúvidas ---------- */

.duvidas {
  padding: 3.5rem var(--margem) 1rem;
  max-width: 44rem;
}

.so-leitor {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.atalhos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.atalhos a {
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--linha);
  border-radius: 999px;
  color: var(--fumaca);
  font-size: 0.9rem;
  text-decoration: none;
}

.atalhos a:hover {
  border-color: var(--fumaca);
  color: var(--arroz);
}

.grupo {
  margin-bottom: 3rem;
  scroll-margin-top: 1.5rem;
}

.grupo__titulo {
  margin: 0 0 0.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--outono);
  color: var(--outono-claro);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

details {
  border-bottom: 1px solid var(--linha);
  scroll-margin-top: 1.5rem;
}

summary {
  position: relative;
  display: block;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-family: var(--serifa);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

/* Sinal de + que vira × ao abrir */
summary::before,
summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.9rem;
  height: 1.5px;
  background: var(--outono-claro);
  transition: transform 0.25s ease;
}

summary::after {
  transform: rotate(90deg);
}

details[open] > summary::before {
  transform: rotate(45deg);
}

details[open] > summary::after {
  transform: rotate(135deg);
}

summary:hover {
  color: #fff;
}

details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.3s ease, content-visibility 0.3s allow-discrete;
}

details[open]::details-content {
  block-size: auto;
}

.resposta {
  padding: 0 0 1.4rem;
  max-width: 36rem;
  color: var(--arroz);
}

.resposta p {
  margin: 0 0 0.8rem;
}

.resposta p:last-child {
  margin-bottom: 0;
}

.resposta__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

/* Listas de preços e horários, com pontilhado como num cardápio */
.precos,
.horarios {
  margin: 0 0 1rem;
}

.precos div,
.horarios div {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.35rem 0;
}

.precos dt,
.horarios dt {
  color: var(--fumaca);
}

.precos div::after,
.horarios div::after {
  content: "";
  order: 1;
  flex: 1;
  min-width: 1.5rem;
  border-bottom: 1px dotted rgba(243, 236, 227, 0.3);
}

.precos dd,
.horarios dd {
  order: 2;
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.horarios .hoje dt,
.horarios .hoje dd {
  color: var(--outono-claro);
}

.horarios .hoje dt::after {
  content: " (hoje)";
}

.video {
  margin: 1rem 0 0;
}

.video video {
  display: block;
  width: 100%;
  max-width: 24rem;
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  border-radius: 6px;
  background: var(--laca-2);
}

/* ---------- Rodapé ---------- */

.rodape {
  padding: 2.5rem var(--margem) 3rem;
  color: var(--fumaca);
  font-size: 0.9rem;
}

.rodape p {
  margin: 0 0 0.6rem;
}

/* ---------- Computador: topo fixo à esquerda, dúvidas à direita ---------- */

@media (min-width: 960px) {
  .pagina {
    display: grid;
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    grid-template-areas:
      "topo duvidas"
      "topo rodape";
    grid-template-rows: 1fr auto;
  }

  .topo {
    grid-area: topo;
    position: sticky;
    top: 0;
    height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .topo__foto {
    position: absolute;
    inset: 0;
    height: auto;
  }

  .topo__conteudo {
    margin: 0;
    padding: 0 3rem 3rem;
    max-width: 30rem;
  }

  .topo__logo img {
    width: 170px;
  }

  .duvidas {
    grid-area: duvidas;
    padding: 5rem 4rem 1rem;
  }

  .rodape {
    grid-area: rodape;
    padding: 2rem 4rem 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after,
  details::details-content {
    animation: none !important;
    transition: none !important;
  }
}
