/* ==========================================================================
   Laziza Gastronomia Libanesa
   Identidade: branco + verde musgo · minimalista · elegante · atemporal
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --branco: #fbfaf6;
  --branco-2: #f4f1e8;
  --musgo: #7a7f5c;
  --musgo-escuro: #5b6042;
  --musgo-profundo: #45492f;
  --tinta: #35382c;
  --cinza: #6d6f61;
  --linha: #e5e2d6;
  --ouro: #b5a173;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", sans-serif;

  --container: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 11vh, 8.5rem);

  --trans: 220ms cubic-bezier(.25, .6, .3, 1);
}

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

/* Atributo hidden sempre vence (menus de dropdown usam hidden para fechar) */
[hidden] { display: none !important; }

html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; padding-bottom: env(safe-area-inset-bottom, 0); } /* evita rolagem horizontal do menu off-canvas */

/* Menu mobile aberto: trava a página por baixo (html+body, cobre iOS) */
html.nav-open,
html.nav-open body { overflow: hidden !important; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--tinta);
  background: var(--branco);
  -webkit-font-smoothing: antialiased;
}

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

/* Touch-friendly: evitar zoom indesejado no mobile */
button, a, [role="button"] { touch-action: manipulation; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 .6em;
  color: var(--musgo-profundo);
  letter-spacing: .01em;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.1em; }

a { color: var(--musgo-escuro); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--musgo-profundo); }

.serif-italic { font-style: italic; font-weight: 400; }

/* ---------- Utilitários ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }

.eyebrow {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--musgo);
  margin-bottom: 1rem;
}

.eyebrow::after {
  content: "";
  display: inline-block;
  width: 2.6rem;
  height: 1px;
  background: var(--musgo);
  opacity: .5;
  vertical-align: middle;
  margin-left: .8rem;
}

.section-head { max-width: 640px; margin-bottom: clamp(2.5rem, 6vh, 4rem); }
.section-lede { color: var(--cinza); font-size: 1.08rem; }

.fine-print { font-size: .85rem; color: var(--cinza); }

.placeholder-note {
  font-size: .92rem;
  color: var(--cinza);
  background: var(--branco-2);
  border-left: 2px solid var(--musgo);
  padding: .6rem .9rem;
}
.placeholder-note code { font-size: .82em; background: transparent; }

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

.skip-link {
  position: absolute; left: 1rem; top: -3rem;
  background: var(--musgo-profundo); color: #fff;
  padding: .6rem 1rem; z-index: 200; transition: top var(--trans);
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--musgo); outline-offset: 3px; }

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-size: .88rem;
  font-weight: 400;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .95rem 1.7rem;
  border: 1px solid var(--musgo-escuro);
  border-radius: 999px;
  cursor: pointer;
  transition:
    background var(--trans), color var(--trans),
    border-color var(--trans), transform var(--trans), box-shadow var(--trans);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-solid {
  background: var(--musgo-escuro);
  color: #fdfdf9;
}
.btn-solid:hover { background: var(--musgo-profundo); color: #fff; }

.btn-outline { background: transparent; color: var(--musgo-profundo); }
.btn-outline:hover { background: var(--musgo-escuro); color: #fdfdf9; }

.btn-on-dark { border-color: rgba(255,255,255,.55); color: #f2f1ea; }
.btn-on-dark:hover { background: #f2f1ea; color: var(--musgo-profundo); border-color: #f2f1ea; }

.btn-wa .wa-icon { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Dropdown "PEÇA JA!" (hero) ---------- */
.order-dropdown { position: relative; display: inline-flex; }

.order-dropdown-toggle { gap: .55rem; }

.order-dropdown-caret {
  width: .7em;
  height: .5em;
  transition: transform var(--trans);
}

.order-dropdown.is-open .order-dropdown-caret { transform: rotate(180deg); }

.order-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: .5rem;
  list-style: none;
  background: var(--branco);
  border: 1px solid var(--linha);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(69, 73, 47, .16);
  z-index: 60;

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity var(--trans), transform var(--trans);
}

.order-dropdown.is-open .order-dropdown-menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.order-dropdown-menu li + li { border-top: 1px solid var(--linha); }

.order-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .7rem;
  border-radius: 9px;
  font-size: .95rem;
  letter-spacing: .04em;
  text-decoration: none;
  color: var(--tinta);
  transition: background var(--trans), color var(--trans);
}

.order-dropdown-icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 6px;
  flex: none;
  background: #fff;
}

.order-dropdown-menu a:hover,
.order-dropdown-menu a:focus-visible {
  background: var(--musgo-escuro);
  color: #fdfdf9;
}

@media (max-width: 560px) {
  .order-dropdown,
  .order-dropdown .order-dropdown-toggle { width: 100%; }
  .order-dropdown-menu { left: 0; right: 0; }
}

/* Dropdown do cabeçalho: alinha à direita, sob o botão */
.nav-order-dropdown .order-dropdown-menu {
  left: auto;
  right: 0;
  top: calc(100% + 12px);
}

/* ---------- CTA "PEÇA JA!" fixo no cabeçalho (visível só no mobile) ----------
   Substitui o hamburger no mobile: abre o dropdown de canais de pedido em 1
   clique, sem passar pelo menu. No desktop permanece oculto (nav-cta da nav). */
.header-order { display: none; }

.header-order-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  /* Verde musgo vivo: destaca do btn-solid padrão (musgo-escuro) da nav */
  background: var(--musgo);
  border-color: var(--musgo);
}

.header-order-toggle:hover,
.header-order-toggle:focus-visible {
  background: var(--musgo-profundo);
  border-color: var(--musgo-profundo);
  color: #fff;
}

/* Feedback de toque (mobile): leve "afundar" + brilho verde musgo */
.header-order-toggle:active {
  transform: scale(.96);
  box-shadow: 0 0 0 4px rgba(122, 127, 92, .25);
}

/* Painel do dropdown do CTA do cabeçalho */
.header-order-dropdown .order-dropdown-menu {
  left: auto;
  right: 0;
  top: calc(100% + 10px);
  min-width: 216px;
}

/* Garante o empilhamento vertical dos itens dentro da nav */
.site-nav .order-dropdown-menu {
  display: block;
  gap: 0;
}

.site-nav .order-dropdown-menu li,
.site-nav .order-dropdown-menu li:last-child {
  border-bottom: none;
}

.site-nav .order-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem .7rem;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: none;
  border-bottom: none;
}

/* Mobile = largura pequena EM aparelhos touch, ou janela de desktop muito estreita.
   Desktop com zoom/escala (viewport pequena, mouse fino) permanece desktop. */
@media (max-width: 980px) and (pointer: coarse), (max-width: 850px) {
  /* Dentro do menu mobile, o dropdown empilha em coluna:
   * botão em cima, menu logo abaixo (evita o botão esticar ao lado do menu) */
  .nav-order-dropdown {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-order-dropdown .order-dropdown-toggle {
    width: 100%;
    justify-content: center;
    flex: none;
  }
  .nav-order-dropdown .order-dropdown-menu {
    position: static;
    width: 100%;
    margin-top: .6rem;
    box-shadow: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .order-dropdown-menu,
  .order-dropdown-caret { transition: none; }
}

.link-quiet {
  font-size: .85rem;
  letter-spacing: .06em;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--musgo);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 246, .94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--linha);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: .7rem; }

.brand-logo {
  width: 38px; height: 38px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--musgo-profundo);
  letter-spacing: .04em;
}

.site-nav > ul {
  display: flex;
  align-items: center;
  gap: clamp(.7rem, 1.6vw, 1.4rem);
  list-style: none;
  margin: 0; padding: 0;
}

.site-nav > ul > li > a:not(.btn) {
  font-size: .82rem;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--tinta);
  padding-block: .4rem;
  border-bottom: 1px solid transparent;
  transition: color var(--trans), border-color var(--trans);
}

.site-nav > ul > li > a:not(.btn):hover {
  color: var(--musgo-profundo);
  border-bottom-color: var(--musgo);
}

/* Compact desktop — notebooks, janelas reduzidas e desktops com zoom/escala:
   mantém a nav horizontal (sem hamburger) com espaçamentos mais densos */
@media (min-width: 851px) and (max-width: 1180px) {
  .header-inner { gap: .7rem; }
  .brand-name { font-size: 1.3rem; }
  .brand-logo { width: 34px; height: 34px; }
  .site-nav > ul { gap: .5rem; }
  .site-nav > ul > li > a:not(.btn) { font-size: .72rem; letter-spacing: .05em; }
  .nav-cta { padding: .58rem .95rem; font-size: .7rem; }
}

.nav-cta { padding: .68rem 1.3rem; font-size: .78rem; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--linha);
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:active { transform: scale(.92); }

.nav-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--musgo-profundo);
  transition: transform var(--trans), opacity var(--trans);
}

.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 9vh, 7rem);
  scroll-margin-top: 72px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.hero-lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-style: italic;
  color: var(--musgo-escuro);
  margin-bottom: 1rem;
}

.hero-desc { max-width: 46ch; color: var(--cinza); }

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

/* Molduras de imagem */
.frame {
  position: relative;
  overflow: hidden;
  background: var(--branco-2);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(69, 73, 47, .12);
  pointer-events: none;
}

.frame img { width: 100%; height: 100%; object-fit: cover; }

.frame-parallax, .parallax { will-change: transform; }
.frame.parallax img { transform: scale(1.06); }

.offset-frame { box-shadow: 18px 18px 0 0 var(--branco-2); }

.hero-media .frame { aspect-ratio: auto; }
.hero-media .frame img { object-fit: contain; }

/* Motivo geométrico (mosaico discreto) */
.hero-pattern {
  position: absolute;
  right: -80px;
  top: -60px;
  width: 300px;
  height: 300px;
  opacity: .35;
  pointer-events: none;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 26px, rgba(122,127,92,.14) 26px 27px),
    repeating-linear-gradient(-45deg, transparent 0 26px, rgba(122,127,92,.14) 26px 27px);
}

/* ---------- Split (Sobre / Chef / Delivery) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.split-reverse .split-media { order: 2; }
.split-reverse .split-copy { order: 1; }

.split-media .frame { aspect-ratio: 4 / 5; max-height: 620px; width: 100%; }
.split-media .frame.frame-portrait { aspect-ratio: 4 / 5; }
.split-media .frame img { width: 100%; height: 100%; object-fit: cover; }

.split-copy p { max-width: 52ch; }

/* Sinais (mini lista com pontos) */
.sobre-signs {
  margin-top: 2rem;
  display: grid;
  gap: 1.1rem;
}

.sign { display: flex; gap: 1rem; align-items: baseline; }
.sign h3 { font-size: 1.12rem; margin: 0; }
.sign p { margin: 0; color: var(--cinza); font-size: .95rem; }

.sign-dot {
  flex: none;
  width: 9px; height: 9px;
  margin-top: .5em;
  background: var(--musgo);
  transform: rotate(45deg);
}

/* Linha de fundo do chef */
.chef-since {
  margin-top: 1.8rem;
  font-size: .8rem;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--musgo);
}

.chef-since::before {
  content: "";
  display: inline-block;
  width: 2.2rem;
  height: 1px;
  background: var(--musgo);
  opacity: .5;
  vertical-align: middle;
  margin-right: .8rem;
}

/* ---------- Gastronomia ---------- */
.gastronomia { background: var(--branco-2); }

.menu-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--linha);
  border-block: 1px solid var(--linha);
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
}

.menu-cat {
  background: var(--branco-2);
  padding: 1.6rem 1.4rem;
}

.menu-cat h3 { font-size: 1.22rem; margin-bottom: .3em; }
.menu-cat p { margin: 0; font-size: .92rem; color: var(--cinza); }

.dishes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 1.8rem);
}

.dish .frame { aspect-ratio: 1 / 1; }
.dish:nth-child(6) .frame { aspect-ratio: 4 / 5; }

.dish img { transition: transform 700ms cubic-bezier(.2, .6, .2, 1); }
.dish:hover img { transform: scale(1.035); }

.section-cta {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  text-align: center;
}
.section-cta .fine-print { margin-top: .9rem; }

/* ---------- Espaço ---------- */
.espaco-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-items: end;
}

.espaco-main { margin: 0; }
.espaco-main .frame { aspect-ratio: 4 / 5; max-height: 640px; }
.espaco-main .frame img { width: 100%; height: 100%; object-fit: cover; }

.espaco-caption {
  max-width: 46ch;
  padding-top: 1.2rem;
}
.espaco-caption h3 { margin-bottom: .3em; }
.espaco-caption p { color: var(--cinza); font-size: .97rem; margin: 0; }

.espaco-side {
  display: grid;
  gap: clamp(1.2rem, 3vw, 2.2rem);
  align-self: start;
}

.espaco-side .frame { aspect-ratio: 4 / 5; }
.espaco-side .frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Eventos ---------- */
.eventos { background: var(--musgo-profundo); color: #eef0e6; }
.eventos h2, .eventos h3 { color: #f4f5ec; }
.eventos .eyebrow { color: #c9cdb2; }
.eventos .eyebrow::after { background: #c9cdb2; }

.eventos-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.eventos-media .frame {
  aspect-ratio: 4 / 5;
  max-height: 560px;
  background: var(--musgo-profundo);
}
.eventos-media .frame::after { border-color: rgba(255,255,255,.16); }
.eventos-media .frame img { width: 100%; height: 100%; object-fit: cover; }

.eventos-copy p { color: #d9dccb; max-width: 54ch; }

.eventos-lista { margin: 1.8rem 0; }

.eventos-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.18rem;
  line-height: 1.55;
  color: #f0f2e6;
  border-left: 2px solid rgba(255,255,255,.35);
  padding-left: 1.1rem;
  max-width: 44ch;
}

.evento-item {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
}
.evento-item h3 { font-size: 1.25rem; margin-bottom: .2em; }
.evento-item p { margin: 0; font-size: .95rem; color: #d9dccb; }

.eventos-ctas { display: flex; align-items: center; flex-wrap: wrap; gap: 1.2rem; }

.eventos .btn-outline { border-color: rgba(255,255,255,.5); color: #f2f3e9; }
.eventos .btn-outline:hover { background: #f2f3e9; color: var(--musgo-profundo); }

.eventos .link-quiet { color: #d9dccb; text-decoration-color: #c9cdb2; }

/* ---------- Delivery ---------- */
.delivery-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: center;
}

.delivery-copy p { max-width: 50ch; color: var(--cinza); }
.delivery-ctas { margin-top: 1.8rem; }

.delivery-media .frame {
  aspect-ratio: 3 / 4;
  max-height: 560px;
  width: min(100%, 420px);
  justify-self: end;
}
.delivery-media .frame img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Localização ---------- */
.local-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: stretch;
}

.local-info h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.local-info h3:first-child { margin-top: 0; }

.local-address { font-style: normal; color: var(--cinza); }
.local-hours { list-style: none; padding: 0; margin: 0; color: var(--cinza); }

.local-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.map-slot {
  min-height: 380px;
  height: 100%;
  background: var(--branco-2);
  position: relative;
}

.map-slot iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  text-align: center;
  padding: 2rem;
  color: var(--cinza);
}

.map-placeholder p { margin: 0; }

.map-ornament {
  width: 54px; height: 54px;
  margin-bottom: .8rem;
  border: 1px solid var(--musgo);
  transform: rotate(45deg);
  position: relative;
  opacity: .55;
}
.map-ornament::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 1px solid var(--musgo);
}

/* ---------- CTA final ---------- */
.cta-final {
  background: var(--musgo-profundo);
  color: #eef0e6;
  padding-block: clamp(4.5rem, 12vh, 8rem);
  text-align: center;
}

.cta-final h2 {
  color: #f6f7ef;
  max-width: 21ch;
  margin-inline: auto;
}

.cta-lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: #d9dccb;
}

.cta-final-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2.2rem;
}

.cta-final .btn-solid { background: #f2f3e9; color: var(--musgo-profundo); border-color: #f2f3e9; }
.cta-final .btn-solid:hover { background: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: #3c4029;
  color: #c9cdbb;
  font-size: .92rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.2rem;
}

.footer-brand { display: flex; align-items: center; gap: .9rem; }

.footer-logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  opacity: .9;
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: #eef0e4;
  margin: 0;
  line-height: 1.3;
}
.footer-name span { display: block; font-size: .95rem; font-style: italic; color: #b9bea5; }

.footer-col h3 {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #a9af92;
  margin-bottom: .7rem;
}

.footer-col p, .footer-col address { margin: 0 0 .4rem; font-style: normal; }

.site-footer a { color: #dfe2d2; }
.site-footer a:hover { color: #fff; }

.footer-base { border-top: 1px solid rgba(255,255,255,.1); }

.footer-base-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
  font-size: .82rem;
  color: #a9af92;
}

.footer-credit {
  font-size: .72rem;
  letter-spacing: .06em;
  color: #8b9176;
  opacity: .85;
}

.footer-ornament {
  width: 10px; height: 10px;
  background: #7a7f5c;
  transform: rotate(45deg);
  opacity: .7;
}

/* ---------- WhatsApp flutuante (mobile) ---------- */
.wa-fab {
  display: none;
  position: fixed;
  bottom: calc(1.4rem + env(safe-area-inset-bottom, 0px));
  right: 1.4rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
  transition: transform var(--trans), box-shadow var(--trans);
}

.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.28);
  color: #fff;
}

.wa-fab .wa-icon { width: 28px; height: 28px; fill: currentColor; }

@media (max-width: 980px) and (pointer: coarse), (max-width: 850px) {
  .wa-fab { display: flex; }
}

/* ---------- Cursor field (desktop) ---------- */
#cursor-field {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
}

.cursor-dot {
  position: absolute;
  top: 0; left: 0;
  width: var(--d, 5px);
  height: var(--d, 5px);
  margin: calc(var(--d, 5px) / -2) 0 0 calc(var(--d, 5px) / -2);
  background: var(--c, #7a7f5c);
  opacity: .5;
  will-change: transform;
}

.seo-hidden {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.seo-text {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-top: 10px;
}

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(.2, .6, .2, 1);
}
.reveal.delay-1 { transition-delay: 130ms; }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Sem animações (prefers-reduced-motion) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .parallax { transform: none !important; }
  .frame.parallax img { transform: none; }
  .dish img { transition: none; }
  .dish:hover img { transform: none; }
  .btn { transition: none; }
  .btn:hover { transform: none; }
}

/* ---------- Responsivo ---------- */

/* Tablet / telas médias */
@media (max-width: 980px) {
  .menu-cats { grid-template-columns: repeat(2, 1fr); }
  .dishes { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-pattern { width: 180px; height: 180px; right: -40px; top: -30px; }
}

/* Mobile — nav + layout single-column */
@media (max-width: 980px) and (pointer: coarse), (max-width: 850px) {
  /* Nav mobile */
  .nav-toggle { display: none; }

  /* CTA "PEÇA JA!" no lugar do hamburger (pedido em 1 clique) */
  .header-order { display: flex; align-items: center; flex: none; }

  /* Header opaco no mobile: além do efeito visual, o backdrop-filter criava
     um containing block que prendia a nav fixed dentro do header, e o rgba
     deixava a página transparecer atrás do menu aberto. */
  .site-header {
    background: var(--branco);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    top: 72px;
    background: var(--branco);
    padding: 1.4rem var(--gutter) 2.5rem;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 320ms cubic-bezier(.25, .6, .3, 1), visibility 0s linear 320ms;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-top: 1px solid var(--linha);
  }

  /* Menu aberto: o overflow:hidden no <html> desliga o sticky do header,
     fazendo o botão de menu sumir quando a página está rolada. Fixando o
     header no topo ele permanece visível (e clicável) acima do menu. */
  html.nav-open .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }

  .site-nav.is-open { visibility: visible; transition-delay: 0s; }
  .site-nav.is-open { transform: none; }

  .site-nav > ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-top: .4rem;
  }

  .site-nav > ul > li { border-bottom: 1px solid var(--linha); }
  /* Com o PEÇA JA! em primeiro (order: -1), o último visual é o penúltimo do DOM */
  .site-nav > ul > li:last-child,
  .site-nav > ul > li:nth-last-child(2) { border-bottom: none; }

  .site-nav > ul > li > a:not(.btn) {
    display: block;
    font-size: .95rem;
    padding: .8rem 0;
    letter-spacing: .05em;
  }

  /* PEÇA JA! em primeiro lugar no menu mobile */
  .nav-cta-item {
    order: -1;
    margin: 0 0 1.1rem;
    border-bottom: none !important;
  }

  .nav-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: .9rem 1.5rem;
    font-size: .82rem;
  }

  /* Layout single-column */
  .hero-grid, .split, .eventos-grid, .delivery-grid, .local-grid {
    grid-template-columns: 1fr;
  }

  .split-reverse .split-media { order: 1; }
  .split-reverse .split-copy { order: 2; }

  .hero-media { max-width: 520px; margin-inline: auto; }
  .delivery-media .frame { justify-self: center; }
  .eventos-media { max-width: 480px; margin-inline: auto; }

  .espaco-grid { grid-template-columns: 1fr; align-items: start; }
  .espaco-side { grid-template-columns: 1fr 1fr; }
  .espaco-side .frame:last-child { display: none; }

  .map-slot { min-height: 320px; }
}

/* Mobile pequeno */
@media (max-width: 560px) {
  body { font-size: 1rem; line-height: 1.65; }

  /* Header compacto */
  .header-inner { min-height: 60px; }
  .site-nav { top: 60px; }
  .brand-logo { width: 32px; height: 32px; }
  .brand-name { font-size: 1.25rem; }

  /* Hero */
  .hero { padding-block: 2.5rem 3.5rem; }
  .hero-grid { gap: 2rem; }
  .hero-copy { text-align: center; }
  .hero-lede { font-size: 1.2rem; }
  .hero-desc { max-width: none; }
  .hero-ctas { justify-content: center; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-media { max-width: 100%; margin-top: .5rem; }
  .hero-pattern { width: 120px; height: 120px; right: -30px; top: -20px; opacity: .25; }

  /* Seções */
  .section { padding-block: clamp(3rem, 8vh, 5rem); }
  .eyebrow { font-size: .72rem; margin-bottom: .8rem; }
  .section-head { margin-bottom: 2rem; }

  /* Split sections */
  .split { gap: 2rem; }
  .offset-frame { box-shadow: 8px 8px 0 0 var(--branco-2); }

  /* Gastronomia */
  .menu-cats { grid-template-columns: 1fr; }
  .menu-cat { padding: 1.2rem 1rem; }
  .menu-cat h3 { font-size: 1.1rem; }
  .dishes { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .dish .frame { aspect-ratio: 1 / 1; }
  .dish:nth-child(6) .frame { aspect-ratio: 1 / 1; }

  /* Espaço */
  .espaco-grid { gap: 1.5rem; }
  .espaco-side { grid-template-columns: 1fr; }
  .espaco-side .frame:last-child { display: block; }
  .espaco-caption { padding-top: .8rem; }

  /* Eventos */
  .eventos-grid { gap: 2rem; }
  .eventos-media { max-width: 100%; }
  .eventos-empty { font-size: 1.05rem; }

  /* Delivery */
  .delivery-grid { gap: 2rem; }
  .delivery-media .frame { width: 100%; justify-self: center; }

  /* Localização */
  .local-grid { gap: 2rem; }
  .map-slot { min-height: 260px; }

  /* CTA final */
  .cta-final { padding-block: 3.5rem 4rem; }
  .cta-final h2 { font-size: clamp(1.7rem, 7vw, 2.5rem); max-width: none; }
  .cta-lede { font-size: 1.1rem; }
  .cta-final-actions { gap: .8rem; }
  .cta-final-actions .btn { width: 100%; justify-content: center; }

  /* Botões */
  .btn { padding: .85rem 1.4rem; font-size: .82rem; }
  .local-ctas { flex-direction: column; gap: .8rem; }
  .local-ctas .btn { flex: 1 1 auto; justify-content: center; width: 100%; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-block: 2.5rem; }
  .footer-brand { gap: .7rem; }
  .footer-logo { width: 38px; height: 38px; }
  .footer-name { font-size: 1.1rem; }
  .footer-name span { font-size: .85rem; }
  .footer-col h3 { margin-bottom: .5rem; }
  .footer-base-inner { flex-direction: column; gap: .45rem; text-align: center; }
  .footer-ornament { display: none; }

  /* Esconde cursor field no mobile */
  #cursor-field { display: none; }
}

/* ---------- Mobile: imagens sem corte ----------
   Em telas pequenas as molduras perdem altura/ratio fixo: cada imagem ocupa a
   largura disponível e mantém a proporção natural (nenhum crop). O desktop
   (acima de 768px) continua com aspect-ratio + object-fit: cover.          */
@media (max-width: 768px) {
  .frame {
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
  }

  .frame img {
    width: 100%;
    height: auto !important;
    object-fit: cover;
  }

  /* Posicionamento preferencial, caso alguma moldura ainda recorte */
  .hero-media img { object-position: center top; }
  .dish img { object-position: center; }

  /* Delivery centralizado na coluna única */
  .delivery-media .frame { width: 100%; justify-self: center; }

  /* Parallax desligado no mobile: sem translate3d inline nem overscan */
  [data-parallax] { transform: none !important; }
  .frame.parallax img { transform: none; }
}
