/* Suculenta Burger Resto Canasvieiras
   Cores, fontes e medidas ficam em :root. Mude aqui para mudar a página toda. */

@font-face {
  font-family: "Prata";
  src: url("../fonts/prata.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --azul: #0e2344;
  --azul-fundo: #081730;
  --azul-claro: #c6d2e4;
  --laranja: #e8692b;
  --laranja-escuro: #bd4a12;
  --papel: #fbf3e4;
  --cinza-azul: #e7ebf1;
  --branco: #ffffff;

  --fonte-titulo: "Prata", "Bodoni 72", Georgia, serif;
  --fonte-texto: "Figtree", "Segoe UI", sans-serif;

  --margem: clamp(16px, 5vw, 72px);
  --coluna: 1280px;
  --secao: clamp(64px, 9vw, 128px);
  --canto: 3px;
  --casa-xadrez: 14px;
  --saida: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-color: var(--laranja) var(--azul-fundo);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--branco);
  color: var(--azul);
  font-family: var(--fonte-texto);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--laranja); color: var(--azul-fundo); }

img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
a { color: inherit; }
address { font-style: normal; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--fonte-titulo);
  font-weight: 400;
  text-wrap: balance;
}

h1, h2 { text-transform: uppercase; letter-spacing: 0.05em; line-height: 1.16; }
h2 { font-size: clamp(1.625rem, 3.2vw, 2.625rem); }

:focus-visible {
  outline: 3px solid var(--azul);
  outline-offset: 3px;
}
.topo :focus-visible,
.hero :focus-visible,
.abertura :focus-visible,
.avaliacoes :focus-visible,
.rodape :focus-visible,
.barra-whats:focus-visible,
.horas[data-modo="noite"] :focus-visible {
  outline-color: var(--laranja);
}

.oculto { position: absolute; }

/* Faixa xadrez: a toalha da casa */
.xadrez {
  --cor-a: var(--azul);
  --cor-b: var(--branco);
  height: calc(var(--casa-xadrez) * 2);
  background: conic-gradient(var(--cor-a) 25%, var(--cor-b) 0 50%, var(--cor-a) 0 75%, var(--cor-b) 0) 0 0 / calc(var(--casa-xadrez) * 2) calc(var(--casa-xadrez) * 2);
}
.xadrez--azul { background-color: var(--azul); }
.xadrez--invertido { transform: scaleX(-1); }

/* Botões */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 26px;
  border: 0;
  border-radius: var(--canto);
  background: var(--laranja);
  color: var(--azul-fundo);
  font: 700 1.0625rem/1.2 var(--fonte-texto);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.2s var(--saida), box-shadow 0.2s;
}
.botao svg { width: 22px; height: 22px; flex: none; }
.botao:hover { background: #f47c40; transform: translateY(-2px); box-shadow: 0 8px 18px rgb(8 23 48 / 0.28); }
.botao:active { transform: translateY(0); box-shadow: none; }
.botao--grande { min-height: 60px; padding: 14px 34px; font-size: 1.1875rem; }
.botao--quieto { background: transparent; color: var(--branco); box-shadow: inset 0 0 0 1px var(--azul-claro); }
.botao--quieto:hover { background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px var(--branco); transform: none; }

/* Topo */
.topo {
  position: fixed;
  z-index: 20;
  inset: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 14px var(--margem);
  color: var(--branco);
  transition: background-color 0.3s, padding 0.3s var(--saida), box-shadow 0.3s;
}
.topo.is-fixo {
  padding-block: 8px;
  background: var(--azul);
  box-shadow: 0 6px 20px rgb(8 23 48 / 0.28);
}
.topo__links { display: flex; gap: clamp(16px, 2.4vw, 32px); }
.topo__links a {
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  text-underline-offset: 5px;
}
.topo__links a:hover { text-decoration: underline; text-decoration-color: var(--laranja); }
.topo__marca {
  display: flex;
  align-items: center;
}
.topo__marca img {
  width: 104px;
  height: 104px;
  transition: width 0.3s var(--saida), height 0.3s var(--saida);
}
.topo.is-fixo .topo__marca img { width: 60px; height: 60px; }
.topo__whats {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border-radius: var(--canto);
  background: var(--laranja);
  color: var(--azul-fundo);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
}
.topo__whats:hover { background: #f47c40; }
.topo__whats svg { width: 20px; height: 20px; }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: calc(100vh - var(--casa-xadrez) * 2);
  min-height: calc(100svh - var(--casa-xadrez) * 2);
  padding: clamp(128px, 16vh, 148px) var(--margem) 88px;
  overflow: hidden;
  background: var(--azul-fundo);
  color: var(--branco);
  text-align: center;
}
.hero__foto { position: absolute; inset: 0; z-index: -2; }
.hero__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 70%;
  animation: assentar 1.8s var(--saida) both;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgb(8 23 48 / 0.82) 0%, rgb(8 23 48 / 0.68) 42%, rgb(8 23 48 / 0.04) 62%, rgb(8 23 48 / 0.04) 84%, rgb(8 23 48 / 0.62) 100%);
}
.hero__texto { max-width: 1180px; }
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.25rem);
  line-height: 1.08;
}
.hero__texto p {
  max-width: 34em;
  margin: 18px auto 28px;
  font-size: clamp(1.125rem, 1.7vw, 1.3125rem);
  font-weight: 500;
}
.hero__prova {
  position: absolute;
  inset: auto 0 0;
  padding: 44px var(--margem) 20px;
  background: linear-gradient(180deg, rgb(8 23 48 / 0) 0%, rgb(8 23 48 / 0.82) 62%);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 500;
}
.nota { display: inline-flex; align-items: center; gap: 7px; }
.nota svg { width: 17px; height: 17px; color: var(--laranja); }
.hero__status::before {
  content: "";
  display: none;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #7fd98f;
  vertical-align: 2px;
}
.hero__status.is-aberto::before { display: inline-block; }

@keyframes assentar {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

/* Abertura azul */
.abertura {
  padding: clamp(56px, 7vw, 96px) var(--margem) clamp(64px, 8vw, 104px);
  background: var(--azul);
  color: var(--branco);
  text-align: center;
}
.azulejos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  max-width: 880px;
  margin: clamp(36px, 5vw, 56px) auto;
}
.azulejo {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  border-radius: var(--canto);
  background: var(--papel);
  color: var(--azul-fundo);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.35s var(--saida);
}
.azulejo:hover { transform: translateY(-5px); }
.azulejo__padrao { position: absolute; inset: 0; }
.azulejo--xadrez .azulejo__padrao {
  background: conic-gradient(var(--azul) 25%, var(--papel) 0 50%, var(--azul) 0 75%, var(--papel) 0) 0 0 / 10% 10%;
}
.azulejo--bolinhas .azulejo__padrao {
  background: radial-gradient(circle, var(--papel) 30%, var(--azul-fundo) 33%) 0 0 / 5% 5%;
}
.azulejo img {
  position: relative;
  grid-area: 1 / 1;
  width: 80%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform 0.5s var(--saida);
}
.azulejo:hover img { transform: scale(1.03); }
.fita {
  position: relative;
  grid-area: 1 / 1;
  align-self: end;
  justify-self: center;
  width: 92%;
  margin-bottom: 16%;
  padding: 0.5em 1em;
  text-align: center;
  background: var(--laranja);
  color: var(--azul-fundo);
  font: 400 clamp(0.9375rem, 2.3vw, 1.625rem)/1.2 var(--fonte-titulo);
  white-space: nowrap;
  clip-path: polygon(0 0, 100% 0, 96% 50%, 100% 100%, 0 100%, 4% 50%);
}
.abertura__texto {
  max-width: 40em;
  margin: 0 auto;
}

/* Cardápio */
.cardapio {
  padding: var(--secao) var(--margem);
  text-align: center;
}
.cardapio h2 { margin-bottom: clamp(32px, 4vw, 52px); }
.pratos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(32px, 3.5vw, 52px) clamp(16px, 2.4vw, 32px);
  max-width: var(--coluna);
  margin-inline: auto;
  text-align: left;
}
.prato a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
}
.prato img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--canto);
  transition: filter 0.3s;
}
.pratos--destaque .prato img { aspect-ratio: 1 / 1.08; }
.prato a:hover img { filter: brightness(1.08) saturate(1.06); }
.prato h3 {
  margin-top: 18px;
  font-size: clamp(1.25rem, 1.9vw, 1.5625rem);
  line-height: 1.2;
}
.prato p { margin: 8px 0 12px; font-size: 1rem; max-width: 42ch; }
.prato__pedir {
  margin-top: auto;
  align-self: flex-start;
  color: var(--laranja-escuro);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.prato a:hover .prato__pedir { color: var(--azul); }
.xadrez--meio {
  margin: var(--secao) calc(var(--margem) * -1);
}
.cardapio__mais {
  max-width: 26em;
  margin: clamp(48px, 6vw, 72px) auto 28px;
  font: 400 clamp(1.25rem, 2.3vw, 1.75rem)/1.35 var(--fonte-titulo);
  text-wrap: balance;
}

/* 12h e 20h */
.horas {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
  padding: var(--secao) var(--margem);
  background: var(--papel);
  color: var(--azul);
  transition: background-color 0.7s var(--saida), color 0.7s var(--saida);
}
.horas[data-modo="noite"] {
  background: var(--azul-fundo);
  color: var(--branco);
}
.horas__titulo { font-size: clamp(1.625rem, 3vw, 2.5rem); }
.horas__botoes { display: flex; gap: 22px; margin: 2px 0 26px; }
.horas__botoes button {
  padding: 0 0 6px;
  border: 0;
  border-bottom: 4px solid transparent;
  background: none;
  color: inherit;
  font: 400 clamp(3.75rem, 8vw, 6rem)/1 var(--fonte-titulo);
  opacity: 0.62;
  cursor: pointer;
  transition: opacity 0.25s, border-color 0.25s;
}
.horas__botoes button:hover { opacity: 0.8; }
.horas__botoes button[aria-selected="true"] {
  opacity: 1;
  border-bottom-color: var(--laranja-escuro);
}
.horas[data-modo="noite"] .horas__botoes button[aria-selected="true"] { border-bottom-color: var(--laranja); }
.horas__chamada {
  margin: 0 0 12px;
  font: 400 clamp(1.3125rem, 2.1vw, 1.6875rem)/1.3 var(--fonte-titulo);
}
.horas__texto p { max-width: 34em; }
.horas__texto .botao { margin-top: 18px; }
.horas__fotos {
  position: relative;
  aspect-ratio: 6 / 5;
  overflow: hidden;
  border-radius: var(--canto);
  background: var(--azul);
}
.horas__foto {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: clip-path 0.9s var(--saida);
}
.horas__foto--noite { clip-path: inset(0 0 0 100%); }
.horas[data-modo="noite"] .horas__foto--noite { clip-path: inset(0 0 0 0); }

/* Família */
.familia {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  background: var(--cinza-azul);
}
.familia img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
  object-position: 50% 45%;
}
.familia__texto {
  align-self: center;
  padding: clamp(40px, 6vw, 80px) var(--margem);
}
.familia ul { margin-top: 24px; }
.familia li {
  padding: 13px 0;
  border-top: 1px solid rgb(14 35 68 / 0.28);
  font-weight: 500;
}
.familia li:last-child { border-bottom: 1px solid rgb(14 35 68 / 0.28); }

/* Avaliações */
.avaliacoes {
  padding: clamp(56px, 7vw, 96px) var(--margem);
  background: var(--azul);
  color: var(--branco);
  text-align: center;
}
.depoimentos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 20px);
  max-width: var(--coluna);
  margin: clamp(32px, 4vw, 52px) auto 32px;
  text-align: left;
}
.depoimento {
  display: flex;
  flex-direction: column;
  padding: 22px 20px;
  border-radius: var(--canto);
  background: var(--cinza-azul);
  color: var(--azul);
}
.depoimento[data-extra] { display: none; }
.depoimentos.is-aberto .depoimento[data-extra] { display: flex; }
.estrelas { display: flex; gap: 2px; color: var(--laranja-escuro); }
.estrelas svg { width: 16px; height: 16px; }
.depoimento blockquote { margin: 14px 0 20px; font-size: 1rem; }
.depoimento p {
  margin: auto 0 0;
  font: 400 1.0625rem/1.2 var(--fonte-titulo);
}
.citacao { margin: clamp(52px, 7vw, 88px) 0 clamp(28px, 3vw, 36px); }
.citacao blockquote {
  margin: 0;
  font: 400 clamp(1.75rem, 4.4vw, 3.5rem)/1.2 var(--fonte-titulo);
  text-wrap: balance;
}
.citacao figcaption {
  margin-top: 14px;
  color: var(--azul-claro);
  font-size: 0.9375rem;
}

/* Onde estamos */
.onde {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  background: var(--cinza-azul);
}
.onde__texto {
  align-self: center;
  padding: clamp(48px, 6vw, 88px) var(--margem);
}
.onde address {
  margin-top: 22px;
  font-size: 1.1875rem;
  font-weight: 600;
}
.onde p { margin: 14px 0 0; }
.onde__botoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 28px;
}
.link-rota {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--laranja-escuro);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.onde > img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

/* Rodapé */
.rodape {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px clamp(24px, 4vw, 64px);
  padding: clamp(40px, 5vw, 64px) var(--margem);
  background: var(--azul);
  color: var(--branco);
  font-size: 0.9375rem;
}
.rodape__marca { display: flex; align-items: center; gap: 14px; }
.rodape__marca img { width: 128px; height: 128px; }
.rodape__marca p { max-width: 16em; margin: 0; font: 400 1.25rem/1.35 var(--fonte-titulo); }
.rodape h2 {
  margin-bottom: 10px;
  font: 700 0.9375rem/1.3 var(--fonte-texto);
  letter-spacing: 0;
  text-transform: none;
}
.rodape li { padding-block: 3px; }
.rodape a { text-underline-offset: 4px; }

/* Barra fixa no celular */
.barra-whats { display: none; }

/* Tablet */
@media (max-width: 1040px) {
  .depoimentos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .topo__links { gap: 16px; }
  .topo__links a { font-size: 0.875rem; }
}

@media (max-width: 860px) {
  .topo { grid-template-columns: auto 1fr; }
  .topo__links { display: none; }
  .topo__whats { grid-column: 2; }

  .pratos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pratos--destaque { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .horas, .familia, .onde { grid-template-columns: minmax(0, 1fr); }
  .horas__fotos { order: -1; }
  .onde > img { min-height: 0; aspect-ratio: 4 / 3; }
  .familia img { aspect-ratio: 4 / 3; height: auto; }
  .rodape { grid-template-columns: 1fr 1fr; }
  .rodape__marca { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .pratos--destaque { grid-template-columns: minmax(0, 1fr); }
}

/* Celular */
@media (max-width: 560px) {
  :root { --casa-xadrez: 11px; }
  body { font-size: 1rem; padding-bottom: 72px; }

  .topo__marca img { width: 84px; height: 84px; }
  .topo.is-fixo .topo__marca img { width: 52px; height: 52px; }
  .topo__whats span { display: inline; }

  .hero { padding-top: 108px; padding-bottom: 96px; justify-content: flex-start; }
  .hero__foto img { object-position: 42% 100%; }
  .hero::after {
    background: linear-gradient(180deg, rgb(8 23 48 / 0.86) 0%, rgb(8 23 48 / 0.7) 48%, rgb(8 23 48 / 0.08) 66%, rgb(8 23 48 / 0.7) 100%);
  }
  .hero__texto p { margin-block: 14px 22px; }
  .hero__prova { padding-bottom: 16px; font-size: 0.875rem; justify-content: center; text-align: center; }

    .fita { padding: 0.45em 0.6em; font-size: 0.875rem; }

  .pratos { grid-template-columns: minmax(0, 1fr); }
  .prato p { max-width: none; }

  .depoimentos { grid-template-columns: minmax(0, 1fr); }
  .botao { width: 100%; }
  .topo__whats { width: auto; }
  .rodape { grid-template-columns: minmax(0, 1fr); }

  .barra-whats {
    position: fixed;
    z-index: 30;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 60px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--laranja);
    color: var(--azul-fundo);
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
    box-shadow: 0 -6px 18px rgb(8 23 48 / 0.28);
    transform: translateY(110%);
    transition: transform 0.35s var(--saida);
  }
  .barra-whats svg { width: 22px; height: 22px; }
  .barra-whats.is-visivel { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
