/* ==========================================================================
   City Burger — folha de estilos
   Direção visual proposta (não é identidade oficial da marca).
   Para ajustar cores e tipografia, altere apenas os tokens em :root.
   ========================================================================== */

:root {
  /* Cores */
  --ink: #17120f;
  --ink-2: #2a211c;
  --paper: #fbf6ee;
  --paper-2: #f3e9d9;
  --line: #e0d3bf;
  --text: #221a15;
  --muted: #5d5148;
  --red: #c4161c;
  --red-dark: #9c0f14;
  --yellow: #ffc928;
  --whatsapp: #17704a;
  --whatsapp-dark: #0f5738;
  --on-dark: #fbf6ee;
  --on-dark-muted: #d6c9b8;

  /* Tipografia */
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", var(--font-body);
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  --fs-h3: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 2.2vw, 2.75rem);
  --fs-h1: clamp(2.5rem, 1.6rem + 4.6vw, 4.75rem);

  /* Espaço e forma */
  --gutter: clamp(1rem, 0.4rem + 3vw, 2.5rem);
  --container: 72rem;
  --section: clamp(3.5rem, 2rem + 6vw, 6.5rem);
  --radius: 6px;
  --radius-lg: 14px;
  --header-h: 6rem;
  --bar-h: 3.75rem;
}

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

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

body {
  margin: 0;
  padding-bottom: var(--bar-h);
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
}

img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
a { color: inherit; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.25; font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--yellow);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--ink);
  border-radius: 3px;
}

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus { top: 0.75rem; }

.sprite { position: absolute; }
.mt-xs { margin-top: 0.5rem; }
.mt-sm { margin-top: 0.75rem; }
.mt-md { margin-top: 1.25rem; }
.mt-lg { margin-top: 1.75rem; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.section--dark { background: var(--ink); color: var(--on-dark); }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
}
.section--dark .eyebrow,
.hero .eyebrow { color: var(--yellow); }

.lead { font-size: var(--fs-lg); max-width: 38rem; }
.section__head { max-width: 44rem; margin-bottom: clamp(1.75rem, 1rem + 3vw, 3rem); }
.section__head p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: var(--fs-lg); }
.section--dark .section__head p:not(.eyebrow) { color: var(--on-dark-muted); }

.text-link {
  font-weight: 700;
  color: var(--red-dark);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.section--dark .text-link { color: var(--yellow); }

/* Faixa quadriculada: eco do piso/estofado vermelho e branco de lanchonete */
.checker {
  height: 14px;
  background:
    repeating-conic-gradient(var(--red) 0 25%, var(--paper) 0 50%) 0 0 / 14px 14px;
}

/* ---------- Ícones e botões ---------- */
.icon { width: 1.25em; height: 1.25em; flex: none; fill: currentColor; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: var(--red-dark); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--whatsapp:hover { background: var(--whatsapp-dark); }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
.btn--sm { min-height: 2.75rem; padding: 0.5rem 0.9rem; font-size: var(--fs-sm); }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Cabeçalho ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ink);
  color: var(--on-dark);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-right: auto;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}
.brand img { width: 5.5rem; height: 5.5rem; margin-block: 0.25rem; }

.nav__list { display: flex; flex-direction: column; }
.nav__list a {
  display: block;
  padding: 0.85rem var(--gutter);
  font-weight: 600;
  text-decoration: none;
  border-top: 1px solid var(--ink-2);
}
.nav__list a:hover { color: var(--yellow); }

.nav {
  position: absolute;
  inset: 100% 0 auto 0;
  background: var(--ink);
  border-bottom: 3px solid var(--red);
}
.nav:not(.is-open) { display: none; }
/* Sem JavaScript, noscript.css mantém o menu visível */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  border: 2px solid var(--on-dark);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
}
.header__cta { display: none; }

@media (min-width: 30rem) {
  .header__cta { display: inline-flex; }
}

@media (min-width: 60rem) {
  .nav-toggle { display: none; }
  .nav,
  .nav:not(.is-open) {
    display: block;
    position: static;
    flex-basis: auto;
    border: 0;
    background: transparent;
  }
  .nav__list { flex-direction: row; gap: 0.25rem; }
  .nav__list a { padding: 0.6rem 0.7rem; border: 0; font-size: 0.9375rem; }
  .brand { margin-right: auto; }
}

/* ---------- Destaque principal ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: 72% center;
}
.hero__content { padding-block: clamp(1.75rem, 1rem + 4vw, 3rem) clamp(2.5rem, 1.5rem + 4vw, 4rem); }
.hero h1 { max-width: 12ch; }
.hero h1 span { color: var(--yellow); }
.hero .lead { margin-top: 1.25rem; color: var(--on-dark); max-width: 32rem; }
.hero .btn-row { margin-top: 1.75rem; }
.hero .btn { flex: 1 1 100%; }

.hero__facts {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(251 246 238 / 0.25);
  font-size: 0.9375rem;
}
.hero__facts li { display: flex; gap: 0.6rem; align-items: flex-start; }
.hero__facts .icon { margin-top: 0.15em; color: var(--yellow); }

@media (min-width: 36rem) {
  .hero .btn { flex: 0 1 auto; }
}

@media (min-width: 60rem) {
  .hero { display: grid; min-height: min(44rem, calc(100svh - var(--header-h))); align-items: center; }
  .hero__media { position: absolute; inset: 0; }
  .hero__media img { height: 100%; aspect-ratio: auto; object-position: right center; }
  .hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--ink) 0%, rgb(23 18 15 / 0.92) 40%, rgb(23 18 15 / 0) 76%);
  }
  .hero__content { position: relative; padding-block: 2rem; }
  .hero__inner { max-width: 46rem; }
  /* Título em duas linhas e botões em uma só, para o bloco caber na primeira tela */
  .hero h1 { max-width: none; font-size: min(var(--fs-h1), 11svh); }
  .hero h1 span { display: block; }
  .hero .btn-row { flex-wrap: nowrap; }
  .hero .btn { white-space: nowrap; }
  .hero__facts { max-width: 35rem; }
  .hero__facts { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}

/* ---------- Formas de atendimento ---------- */
.services { display: grid; gap: 0; counter-reset: service; }
.services > li {
  counter-increment: service;
  padding: 1.5rem 0;
  border-top: 2px solid var(--ink);
}
.services > li::before {
  content: counter(service, decimal-leading-zero);
  display: block;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--red);
}
.services p { margin-top: 0.5rem; color: var(--muted); }
.services .text-link { display: inline-block; margin-top: 0.75rem; padding-block: 0.35rem; }

@media (min-width: 40rem) {
  .services { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
}
@media (min-width: 64rem) {
  .services { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Sobre ---------- */
.about { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: center; }
.about__text p + p { margin-top: 1rem; }
.about__text .lead { margin-top: 1.25rem; }
.about__photo img { width: 100%; border-radius: var(--radius-lg); }
.about__photo figcaption { margin-top: 0.6rem; font-size: var(--fs-sm); color: var(--muted); }

.quote {
  margin-top: 1.75rem;
  padding-left: 1.25rem;
  border-left: 5px solid var(--red);
}
.quote p {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.1rem + 1.2vw, 1.875rem);
  font-weight: 800;
  line-height: 1.15;
}
.quote footer { margin-top: 0.5rem; font-size: var(--fs-sm); color: var(--muted); }

@media (min-width: 56rem) {
  .about { grid-template-columns: 5fr 6fr; }
}

/* ---------- Cardápio ---------- */
.menu { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); align-items: center; }
.menu__photo img { width: 100%; border-radius: var(--radius-lg); }
.menu__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.6rem;
  margin-block: 1.5rem 2rem;
}
.menu__cats li {
  padding: 0.4rem 0.9rem;
  border: 1.5px solid rgb(251 246 238 / 0.45);
  border-radius: 999px;
  font-weight: 600;
}
.menu__note { margin-top: 1rem; font-size: var(--fs-sm); color: var(--on-dark-muted); }

@media (min-width: 56rem) {
  .menu { grid-template-columns: 6fr 5fr; }
  .menu__photo { order: 2; }
}

/* ---------- Galeria ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }
.gallery__item { min-width: 0; aspect-ratio: 4 / 3; }
.gallery__item--wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery__link {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--line);
}
.gallery__link img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.gallery__link:hover img { transform: scale(1.03); }

@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.75rem; }
  .gallery__item--wide { aspect-ratio: auto; }
}

.lightbox {
  width: min(100% - 1.5rem, 64rem);
  max-height: calc(100dvh - 1.5rem);
  padding: 0;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
}
.lightbox::backdrop { background: rgb(0 0 0 / 0.82); }
.lightbox__img {
  width: 100%;
  max-height: calc(100dvh - 9rem);
  object-fit: contain;
  background: #000;
}
.lightbox__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
}
.lightbox__caption { flex: 1; font-size: var(--fs-sm); }
.lightbox__btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid var(--on-dark);
  border-radius: var(--radius);
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.lightbox__btn:hover { background: var(--on-dark); color: var(--ink); }

/* ---------- Avaliações ---------- */
.reviews { display: grid; gap: 1.5rem; }
.reviews__list { display: grid; gap: 1rem; }
.review {
  display: flex;
  padding: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  border-top: 4px solid var(--red);
  border-radius: var(--radius);
  background: var(--paper);
}
.review blockquote { display: flex; flex-direction: column; gap: 1rem; width: 100%; }
.review blockquote > p { font-size: var(--fs-lg); line-height: 1.5; }
.review footer { margin-top: auto; font-size: var(--fs-sm); color: var(--muted); }
.review cite { font-style: normal; font-weight: 700; color: var(--text); }
.review__badge {
  margin-left: 0.4rem;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.75rem;
}
.review__scores { display: block; margin-top: 0.3rem; }
.reviews__source { font-size: var(--fs-sm); color: var(--muted); max-width: 44rem; }
@media (min-width: 48rem) {
  .reviews__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
}

/* ---------- Localização ---------- */
.location { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3rem); }
.info { display: grid; gap: 1.5rem; }
.info dt {
  margin-bottom: 0.25rem;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.info dd { font-size: var(--fs-lg); }
.location .btn-row { margin-top: 2rem; }

.notice {
  display: flex;
  gap: 0.75rem;
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 5px solid var(--ink);
  border-radius: var(--radius);
  background: var(--paper-2);
}
.notice .icon { margin-top: 0.2em; }
.notice strong { display: block; }

.map {
  display: grid;
  place-items: center;
  min-height: 20rem;
  height: 100%;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(rgb(23 18 15 / 0.05) 1px, transparent 1px) 0 0 / 100% 2.5rem,
    linear-gradient(90deg, rgb(23 18 15 / 0.05) 1px, transparent 1px) 0 0 / 2.5rem 100%,
    var(--paper-2);
  overflow: hidden;
}
.map__prompt { padding: 1.5rem; text-align: center; }
.map__prompt p { margin-bottom: 1rem; font-weight: 700; }
.map__prompt small { display: block; margin-top: 0.9rem; color: var(--muted); max-width: 24rem; }
.map iframe { width: 100%; height: 100%; min-height: 24rem; border: 0; }

@media (min-width: 56rem) {
  .location { grid-template-columns: 5fr 6fr; }
}

/* ---------- Perguntas frequentes ---------- */
.faq { max-width: 48rem; }
.faq details { border-top: 2px solid var(--ink); }
.faq details:last-child { border-bottom: 2px solid var(--ink); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--fs-h3); }
.faq summary::after {
  content: "+";
  flex: none;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}
.faq details[open] summary::after { content: "–"; }
.faq details > p { padding: 0 0 1.25rem; max-width: 42rem; }

/* ---------- Rodapé ---------- */
.footer { background: var(--ink); color: var(--on-dark); }
.footer__grid { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); }
.footer h2 { font-size: 1.5rem; margin-bottom: 1rem; }
.footer h3 {
  margin-bottom: 0.75rem;
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
}
.footer__brand img { width: 5.5rem; height: 5.5rem; margin-bottom: 1rem; }
.footer__brand p { color: var(--on-dark-muted); max-width: 22rem; }
.footer__list li + li { margin-top: 0.15rem; }
.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 2.75rem;
  text-underline-offset: 3px;
}
.footer__list a:hover { color: var(--yellow); }
.footer__list span.label { color: var(--on-dark-muted); }
.footer__legal {
  padding-block: 1.25rem;
  border-top: 1px solid var(--ink-2);
  font-size: var(--fs-sm);
  color: var(--on-dark-muted);
}
.footer__legal a { color: var(--on-dark); text-underline-offset: 3px; }

@media (min-width: 40rem) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 64rem) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}

/* ---------- Barra de ações (telas pequenas) ---------- */
.actionbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: var(--bar-h);
  padding-bottom: env(safe-area-inset-bottom);
  background: var(--ink);
  color: var(--on-dark);
  border-top: 3px solid var(--red);
}
.actionbar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.4rem 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-decoration: none;
}
.actionbar a + a { border-left: 1px solid var(--ink-2); }
.actionbar .icon { width: 1.35rem; height: 1.35rem; color: var(--yellow); }

@media (min-width: 48rem) {
  body { padding-bottom: 0; }
  .actionbar { display: none; }
}

/* ---------- Aviso de cookies ---------- */
.cookie-notice {
  position: fixed;
  inset: auto 0.75rem calc(var(--bar-h) + 0.75rem) 0.75rem;
  z-index: 45;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  max-width: 44rem;
  margin-inline: auto;
  padding: 1rem 1.1rem;
  border: 1px solid var(--ink-2);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--on-dark);
  font-size: var(--fs-sm);
  box-shadow: 0 10px 30px rgb(0 0 0 / 0.3);
}
.cookie-notice[hidden] { display: none; }
.cookie-notice p { flex: 1 1 16rem; }
.cookie-notice a { color: var(--yellow); font-weight: 700; text-underline-offset: 3px; }
.page-simple .cookie-notice { bottom: 0.75rem; }
@media (min-width: 48rem) {
  .cookie-notice { bottom: 1rem; }
}

/* ---------- Páginas de texto ---------- */
.page-simple { padding-bottom: 0; }
.prose { max-width: 46rem; }
.prose h1 { font-size: var(--fs-h2); }
.prose h2 {
  margin-top: 2.5rem;
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}
.prose h3 { margin-top: 1.5rem; font-size: var(--fs-base); }
.prose p, .prose ul { margin-top: 0.9rem; }
.prose ul { padding-left: 1.25rem; list-style: disc; }
.prose li + li { margin-top: 0.5rem; }
.prose__meta { color: var(--muted); font-size: var(--fs-sm); }
.prose__table { margin-top: 1.25rem; overflow-x: auto; }
.prose table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: var(--fs-sm); }
.prose th, .prose td { padding: 0.7rem 0.75rem; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose th { background: var(--paper-2); }
.prose__back { margin-top: 2.5rem; }
.footer__legal p + p { margin-top: 0.5rem; }

/* ---------- Página 404 ---------- */
.notfound {
  display: grid;
  place-items: center;
  min-height: 70svh;
  padding-block: var(--section);
  text-align: center;
}
.notfound p { margin: 1rem auto 2rem; max-width: 30rem; color: var(--muted); }
.notfound .btn-row { justify-content: center; }

/* ---------- Preferências do usuário ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { transition: none !important; animation: none !important; }
}

@media print {
  .header, .actionbar, .map, .skip-link { display: none; }
  body { padding: 0; background: #fff; }
}
