/* Kenichi Sushi — preto e o vermelho do logo. */

:root {
  --preto: #000;
  --carvao: #171717;
  --branco: #fff;
  --cinza: #a8a8a8;
  --vermelho: #df0814;
  --vermelho-claro: #ff4a52;
  --linha: rgba(255, 255, 255, 0.14);
  --aberto: #8fd19e;

  --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;
  overflow-x: clip;
  background: var(--preto);
  color: var(--branco);
  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(--vermelho-claro);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--branco);
  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 55%;
}

.topo__foto::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 25%),
    linear-gradient(to top, #000 2%, rgba(0, 0, 0, 0.75) 32%, rgba(0, 0, 0, 0) 62%);
}

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

.topo__logo {
  margin: 0;
}

.topo__logo img {
  width: 190px;
  margin-left: -0.4rem;
}

.topo__cidade {
  margin: 0.4rem 0 1.5rem;
  color: var(--cinza);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
}

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

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

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

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

.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 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  color: var(--branco);
  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(--branco);
  background: var(--carvao);
}

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

.botao--principal {
  border-color: var(--vermelho);
  background: var(--vermelho);
  font-weight: 700;
  font-size: 1.05rem;
}

.botao--principal:hover {
  border-color: #f0101d;
  background: #f0101d;
}

/* Links que ainda esperam o cliente (WhatsApp, iFood). Remover quando chegarem. */
[data-pendente] {
  outline: 1px dashed var(--vermelho-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.95rem;
  border: 1px solid var(--linha);
  border-radius: 999px;
  color: var(--cinza);
  font-size: 0.9rem;
  text-decoration: none;
}

.atalhos a:hover {
  border-color: var(--cinza);
  color: var(--branco);
}

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

/* Cada assunto é marcado por um pequeno sol vermelho */
.grupo__titulo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--linha);
  color: var(--cinza);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.grupo__titulo::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--vermelho);
}

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-weight: 700;
  font-size: 1.12rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}

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

summary::before,
summary::after {
  content: "";
  position: absolute;
  right: 0.35rem;
  top: 50%;
  width: 0.9rem;
  height: 2px;
  background: var(--vermelho-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);
}

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: #e6e6e6;
}

.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;
}

.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(--cinza);
}

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

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

.horarios .hoje dt,
.horarios .hoje dd {
  color: var(--branco);
  font-weight: 700;
}

.horarios .hoje dt::after {
  content: " (hoje)";
  color: var(--vermelho-claro);
  font-weight: 500;
}

.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: 1.25rem;
  background: var(--carvao);
}

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

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

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

/* ---------- Computador ---------- */

@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;
  }

  .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;
  }
}
