/**
 * OhagiMan Child Theme — Main Stylesheet
 * Baseado no layout aprovado com fidelidade visual absoluta.
 */

:root {
  --charcoal: #1a1a1a;
  --slate: #22242a;
  --slate-2: #2a2c32;
  --paper: #f3efe6;
  --ink: #27231f;
  --ink-muted: #5f574e;
  --fg: #ece8df;
  --fg-muted: #b0a898;
  --gold: #c4a468;
  --gold-hover: #d3b67e;
  --hanko: #8c2a33;
  --line: rgba(196, 164, 104, 0.18);
  --line-strong: rgba(196, 164, 104, 0.4);
  --display: "Cormorant Garamond", ui-serif, Georgia, serif;
  --sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --header-h: 76px;
}

/* Reset e Estrutura Básica Full-Width (Anti-Encaixotamento) */
*, *::before, *::after {
  box-sizing: border-box;
}

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden !important;
  background-color: var(--charcoal) !important;
}

/* Anula qualquer container / max-width imposto no wrapper ou no main pelo Hello Elementor ou WP */
#page,
.site,
.site-content,
.content-area,
#primary,
.site-main,
main,
.ohagiman-main,
.page-content,
.entry-content,
:where(.wp-site-blocks),
body:not([class*="elementor-page-"]) .site-main,
body:not(.elementor-page) .site-main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  float: none !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* Seções e faixas visuais sempre 100% da largura da tela (Full-Bleed) */
.section,
.footer,
.cardapio-page,
.general-page,
.error404-page {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}

.hero {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: flex-end !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Evitar sobreposição de admin bar do WP quando logado */
body.admin-bar .header {
  top: 32px;
}
@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.08;
}

p {
  margin: 0;
}

em {
  font-style: italic;
}

::selection {
  background: rgba(196, 164, 104, 0.35);
  color: var(--fg);
}

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

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

.wrap {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

@media (min-width: 1024px) {
  .wrap {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.section {
  padding: 112px 0;
}

@media (min-width: 1024px) {
  .section {
    padding: 160px 0;
  }
}

.eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: block;
}

.h2 {
  font-size: clamp(2.3rem, 5vw, 3.75rem);
  margin-top: 24px;
}

.gold {
  color: var(--gold);
}

.muted {
  color: var(--fg-muted);
}

/* Texturas */
.washi {
  background-color: var(--paper);
  color: var(--ink);
  background-image: radial-gradient(rgba(110, 90, 60, 0.07) 1px, transparent 1px), radial-gradient(rgba(110, 90, 60, 0.05) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

.washi .muted {
  color: var(--ink-muted);
}

.stone {
  background-color: var(--charcoal);
  background-image: radial-gradient(ellipse at 20% 0%, rgba(196, 164, 104, 0.06), transparent 55%), radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 4px 4px;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 36px;
  background: var(--gold);
  color: #161616;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  box-shadow: 0 18px 50px -20px rgba(196, 164, 104, 0.55);
  transition: background 0.5s var(--ease), transform 0.5s var(--ease), color 0.5s var(--ease);
  border: none;
  cursor: pointer;
}

.btn:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  color: #161616;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(196, 164, 104, 0.6);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--gold);
  color: #161616;
}

.btn-quiet {
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(236, 232, 223, 0.85);
  border-bottom: 1px solid var(--line-strong);
  padding: 6px 0;
  transition: color 0.5s, border-color 0.5s;
}

.btn-quiet:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.hanko {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 3px;
  background: var(--hanko);
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.15rem;
  line-height: 1;
  transition: all 0.7s var(--ease);
}

.logo-text {
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--fg);
}

/* Header */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 24px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.7s var(--ease);
}

.header.scrolled {
  padding: 12px 0;
  background: rgba(26, 26, 26, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--line);
}

.header.scrolled .hanko {
  width: 28px;
  height: 28px;
  font-size: 1rem;
}

.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav,
.nav ul,
.nav ol {
  display: flex !important;
  align-items: center !important;
  gap: 36px !important;
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.nav li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: inline-flex !important;
}

.nav a {
  font-size: 0.7rem !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: rgba(236, 232, 223, 0.78) !important;
  transition: color 0.5s !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

.nav a:hover,
.nav a.active {
  color: var(--gold) !important;
}

.header-cta {
  min-height: 48px;
  padding: 0 28px;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  position: relative;
  transition: transform 0.4s var(--ease), background 0.4s;
}

.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger span::before {
  top: -7px;
}

.burger span::after {
  top: 7px;
}

.burger[aria-expanded="true"] span {
  background: transparent;
}

.burger[aria-expanded="true"] span::before {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span::after {
  transform: translateY(-7px) rotate(-45deg);
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(22, 22, 22, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 28px;
  padding: 96px 32px 120px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.drawer.open {
  opacity: 1;
  visibility: visible;
}

.drawer a {
  font-family: var(--display);
  font-size: 2.2rem;
  color: var(--fg);
}

.drawer a:hover {
  color: var(--gold);
}

.drawer .btn {
  margin-top: 16px;
  font-family: var(--sans);
  font-size: 0.72rem;
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
}

@media (max-width: 560px) {
  .header-cta {
    display: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: max(100svh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  box-sizing: border-box;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoom 24s ease-out both;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.55) 0%, rgba(18, 18, 18, 0.25) 40%, rgba(26, 26, 26, 0.96) 100%);
  z-index: 1;
}

.hero::after {
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.85) 0%, rgba(18, 18, 18, 0) 70%);
  z-index: 1;
}

.hero .wrap {
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: clamp(32px, 5svh, 64px);
}

body.admin-bar .hero .wrap {
  padding-top: calc(var(--header-h) + 72px);
}

@media (min-width: 768px) {
  .hero .wrap {
    padding-top: calc(var(--header-h) + 64px);
    padding-bottom: clamp(40px, 6svh, 72px);
  }
  body.admin-bar .hero .wrap {
    padding-top: calc(var(--header-h) + 96px);
  }
}

.hero h1 {
  max-width: 11.5em;
  margin-top: clamp(16px, 2.5svh, 28px);
  font-size: clamp(2.1rem, min(7.6vw, 11svh), 6rem);
  line-height: 1.02;
  color: var(--fg);
}

.hero-lead {
  max-width: 36rem;
  margin-top: clamp(16px, 3svh, 32px);
  font-size: clamp(1rem, 1.6vw, 1.125rem);
  color: rgba(236, 232, 223, 0.78);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-top: clamp(24px, 4svh, 48px);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  margin-top: clamp(24px, 4svh, 48px);
  padding-top: clamp(16px, 2.5svh, 28px);
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--fg-muted);
  max-width: 44rem;
}

.hero-facts strong {
  color: var(--fg);
  font-weight: 500;
}

@media (max-width: 560px) and (max-height: 760px) {
  .hero-facts {
    display: none;
  }
}

.scroll-cue {
  position: absolute;
  right: 40px;
  bottom: 40px;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(236, 232, 223, 0.5);
}

.scroll-cue span:first-child {
  writing-mode: vertical-rl;
}

.scroll-cue span:last-child {
  width: 1px;
  height: 64px;
  background: rgba(196, 164, 104, 0.5);
}

@media (min-width: 1024px) {
  .scroll-cue {
    display: flex;
  }
}

@keyframes zoom {
  from { transform: scale(1.12); }
  to { transform: scale(1); }
}

.fade-up {
  animation: fadeUp 1.2s var(--ease) both;
}
.fade-up.d1 { animation-delay: 0.15s; }
.fade-up.d2 { animation-delay: 0.3s; }
.fade-up.d3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Filosofia */
.philo, .omk, .amb-grid, .res-grid, .dishes, .foot-grid {
  grid-template-columns: minmax(0, 1fr);
}

.philo > *, .omk > *, .amb-grid > *, .res-grid > *, .foot-grid > * {
  min-width: 0;
}

.philo {
  display: grid;
  gap: 64px;
  align-items: center;
}

@media (min-width: 1024px) {
  .philo {
    grid-template-columns: 1fr 1.1fr;
    gap: 96px;
  }
}

.philo-photo {
  position: relative;
}

.philo-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.55);
}

.philo-tag {
  position: absolute;
  right: -16px;
  bottom: -24px;
  z-index: 1;
  background: var(--paper);
  padding: 20px 24px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.5);
}

.philo-tag p:first-child {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.9rem;
  line-height: 1.1;
  color: var(--ink);
}

.philo-tag p:last-child {
  margin-top: 4px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

@media (min-width: 1024px) {
  .philo-tag {
    right: -40px;
  }
}

@media (max-width: 560px) {
  .philo-tag {
    right: 12px;
    bottom: -20px;
    padding: 14px 18px;
  }
  .philo-tag p:first-child {
    font-size: 1.5rem;
  }
}

.philo-text {
  margin-top: 40px;
  display: grid;
  gap: 24px;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

.philo-text strong {
  color: var(--ink);
  font-weight: 600;
}

.signature {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
}

.signature .hanko {
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
}

.signature span:last-child {
  font-family: var(--display);
  font-style: italic;
  font-size: 2.3rem;
  color: var(--ink);
}

/* Pratos-assinatura */
.sig-head {
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: space-between;
}

@media (min-width: 1024px) {
  .sig-head {
    flex-direction: row;
    align-items: flex-end;
  }
}

.sig-head p {
  max-width: 24rem;
  font-size: 0.875rem;
}

.dishes {
  display: grid;
  gap: 20px;
  margin-top: 64px;
}

@media (min-width: 640px) {
  .dishes {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .dishes {
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
  }
}

.dish {
  position: relative;
  overflow: hidden;
  background: var(--slate);
  aspect-ratio: 4/5;
}

.dish img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2s var(--ease);
}

.dish:hover img {
  transform: scale(1.05);
}

.dish::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0) 35%, rgba(18, 18, 18, 0.92) 100%);
}

.dish-jp {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1;
  writing-mode: vertical-rl;
  font-family: var(--display);
  font-size: 1.5rem;
  color: rgba(236, 232, 223, 0.45);
}

.dish-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 24px;
}

.dish-body .eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.3em;
}

.dish-body h3 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 2.6vw, 2.25rem);
  color: var(--fg);
}

.dish-body p {
  margin-top: 12px;
  max-width: 28rem;
  font-size: 0.875rem;
  color: rgba(236, 232, 223, 0.72);
}

@media (min-width: 1024px) {
  .dish {
    aspect-ratio: auto;
  }
  .dish:nth-child(1) {
    grid-column: span 7;
    height: 560px;
  }
  .dish:nth-child(2) {
    grid-column: span 5;
    height: 560px;
  }
  .dish:nth-child(n+3) {
    grid-column: span 4;
    height: 440px;
  }
  .dish:nth-child(4) {
    margin-top: 64px;
  }
  .dish-body {
    padding: 32px;
  }
  @media (hover: hover) {
    .dish-body p {
      max-height: 0;
      opacity: 0;
      overflow: hidden;
      transition: max-height 0.7s var(--ease), opacity 0.7s var(--ease);
    }
    .dish:hover .dish-body p,
    .dish:focus-within .dish-body p {
      max-height: 8rem;
      opacity: 1;
    }
  }
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 64px;
}

/* Omakase */
.omakase {
  background: var(--slate);
  border-block: 1px solid var(--line);
}

.omk {
  display: grid;
  gap: 64px;
}

@media (min-width: 1024px) {
  .omk {
    grid-template-columns: 1fr 1.3fr;
    gap: 96px;
  }
}

.omk-intro > p {
  margin-top: 32px;
  max-width: 28rem;
}

.omk-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: baseline;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.omk-facts b {
  font-family: var(--display);
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
}

.omk-facts span {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.omk-intro .btn {
  margin-top: 40px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
}

@media (min-width: 640px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

.steps li {
  background: var(--slate);
  padding: 32px;
  transition: background 0.7s var(--ease);
}

.steps li:hover {
  background: var(--charcoal);
}

.steps .n {
  font-family: var(--display);
  font-size: 2.25rem;
  color: #b5424c;
  transition: color 0.7s;
  display: block;
}

.steps li:hover .n {
  color: var(--gold);
}

.steps h3 {
  margin-top: 16px;
  font-size: 1.5rem;
  color: var(--fg);
}

.steps p {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* Ambiente */
.amb-grid {
  display: grid;
  gap: 20px;
  margin-top: 64px;
}

@media (min-width: 1024px) {
  .amb-grid {
    grid-template-columns: 2fr 1fr;
    gap: 24px;
  }
}

.amb-side {
  display: grid;
  gap: 20px;
}

@media (min-width: 1024px) {
  .amb-side {
    gap: 24px;
  }
}

.para {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.para.big {
  aspect-ratio: 16/10;
}

@media (min-width: 1024px) {
  .para.big {
    aspect-ratio: auto;
    height: 620px;
  }
  .amb-side .para {
    aspect-ratio: auto;
    height: 298px;
  }
}

.para img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  will-change: transform;
}

.pillars {
  display: grid;
  gap: 40px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

@media (min-width: 768px) {
  .pillars {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pillars h3 {
  font-size: 1.9rem;
  color: var(--gold);
}

.pillars p {
  margin-top: 12px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

/* Cardápio na Home (Tabs) */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
}

.chip {
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  color: rgba(236, 232, 223, 0.82);
  background: transparent;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.chip:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: #161616;
}

.chip:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.menu-panel {
  margin-top: 40px;
  max-width: 56rem;
}

.menu-panel[hidden] {
  display: none;
}

.menu-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line-strong);
}

.menu-title h3 {
  font-size: 2.25rem;
  color: var(--gold);
}

.menu-title span {
  font-family: var(--display);
  font-size: 1.5rem;
  color: rgba(236, 232, 223, 0.4);
}

.menu-list {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.menu-list h4 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 1.5rem;
  margin: 0;
  color: var(--fg);
}

.menu-list p {
  margin-top: 2px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.menu-list .dots {
  flex: 1;
  border-bottom: 1px dotted var(--line-strong);
  min-width: 24px;
}

.menu-list .price {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 1.25rem;
  color: var(--gold);
}

@media (max-width: 560px) {
  .menu-list .dots {
    display: none;
  }
  .menu-list li {
    justify-content: space-between;
  }
}

.menu-note {
  margin-top: 32px;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* Reconhecimento */
.press {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(39, 35, 31, 0.1);
}

@media (min-width: 768px) {
  .press {
    grid-template-columns: repeat(4, 1fr);
  }
}

.press div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--paper);
  padding: 40px 16px;
}

.press span {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  line-height: 1.1;
  color: var(--ink);
}

.press small {
  margin-top: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--hanko);
}

.quotes {
  display: grid;
  gap: 56px;
  margin-top: 96px;
}

@media (min-width: 768px) {
  .quotes {
    grid-template-columns: repeat(3, 1fr);
  }
}

.quotes figure {
  margin: 0;
}

.qmark {
  display: block;
  font-family: var(--display);
  font-size: 3.75rem;
  line-height: 1;
  color: var(--gold);
}

.quotes blockquote {
  margin: 8px 0 0;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--ink);
}

.quotes figcaption {
  margin-top: 24px;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* FAQ */
.faq {
  max-width: 56rem;
  margin-top: 56px;
  border-top: 1px solid rgba(39, 35, 31, 0.15);
}

.faq details {
  border-bottom: 1px solid rgba(39, 35, 31, 0.15);
}

.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.2;
  cursor: pointer;
  color: var(--ink);
}

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

.faq summary::after {
  content: "+";
  flex-shrink: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--hanko);
  transition: transform 0.4s var(--ease);
}

.faq details[open] summary::after {
  transform: rotate(45deg);
}

.faq details p {
  padding: 0 0 28px;
  max-width: 44rem;
  color: var(--ink-muted);
}

/* Reservas */
.res-grid {
  display: grid;
  gap: 48px;
  margin-top: 64px;
}

@media (min-width: 1024px) {
  .res-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 64px;
  }
}

.form {
  border: 1px solid var(--line);
  background: var(--slate);
  padding: 28px;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  display: grid;
  gap: 32px;
}

@media (min-width: 640px) {
  .form {
    padding: 40px;
  }
}

.row2 {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .row2 {
    grid-template-columns: 1fr 1fr;
  }
}

.field {
  display: grid;
  gap: 12px;
  align-content: start;
}

.input {
  height: 48px;
  width: 100%;
  padding: 0 14px;
  background: var(--charcoal);
  border: 1px solid rgba(196, 164, 104, 0.3);
  color: var(--fg);
  font: inherit;
  font-size: 0.95rem;
  color-scheme: dark;
  border-radius: 0;
  outline: none;
}

.input:focus {
  border-color: var(--gold);
}

.input::placeholder {
  color: #7d776d;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.slot-label {
  font-size: 0.75rem;
  color: var(--fg-muted);
  margin-bottom: 8px;
}

.slot-group + .slot-group {
  margin-top: 14px;
}

.hint {
  font-size: 0.85rem;
  color: var(--fg-muted);
}

.stepper {
  display: inline-flex;
  align-items: center;
  height: 48px;
  border: 1px solid rgba(196, 164, 104, 0.3);
  width: fit-content;
}

.stepper button {
  width: 48px;
  height: 100%;
  color: var(--gold);
  font-size: 1.3rem;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.stepper button:hover {
  background: var(--charcoal);
}

.stepper output {
  width: 48px;
  text-align: center;
  font-family: var(--display);
  font-size: 1.6rem;
  display: block;
}

.row-guests {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .row-guests {
    grid-template-columns: auto 1fr;
    gap: 40px;
  }
}

.note {
  border-left: 2px solid #b5424c;
  padding-left: 16px;
  font-size: 0.875rem;
  color: rgba(236, 232, 223, 0.82);
}

.error {
  font-size: 0.875rem;
  color: #f08a7e;
  min-height: 1.2em;
}

.form .btn {
  width: 100%;
}

.form-foot {
  margin-top: -16px;
  text-align: center;
  font-size: 0.75rem;
  color: var(--fg-muted);
}

.info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 640px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.info-item {
  display: flex;
  gap: 16px;
}

.info-item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold);
}

.info-item p.v {
  margin-top: 8px;
  font-size: 0.875rem;
  color: rgba(236, 232, 223, 0.82);
}

.hours {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
  font-size: 0.875rem;
}

.hours b {
  display: block;
  font-weight: 400;
  color: var(--fg);
}

.hours span {
  color: var(--fg-muted);
}

.map {
  position: relative;
  min-height: 280px;
  flex: 1;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--slate);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(0.92) contrast(0.85) brightness(0.9) sepia(0.25);
}

.info .btn-outline {
  align-self: flex-start;
  min-height: 48px;
}

/* Footer */
.footer {
  background: var(--charcoal);
  border-top: 1px solid var(--line);
  padding: 64px 0 112px;
}

@media (min-width: 768px) {
  .footer {
    padding-bottom: 48px;
  }
}

.foot-grid {
  display: grid;
  gap: 48px;
}

@media (min-width: 768px) {
  .foot-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.foot-grid p,
.foot-grid a,
.foot-grid button {
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.foot-grid a:hover,
.foot-grid button:hover {
  color: var(--gold);
}

.foot-col {
  display: grid;
  gap: 12px;
  align-content: start;
  justify-items: start;
}

.foot-col .eyebrow {
  margin-bottom: 6px;
}

.copy {
  margin-top: 56px;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(176, 168, 152, 0.6);
}

/* Ações Fixas */
.concierge {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 40;
  display: none;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  background: rgba(34, 36, 42, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(196, 164, 104, 0.4);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  transition: border-color 0.5s, color 0.5s;
}

.concierge:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.concierge svg {
  width: 18px;
  height: 18px;
  color: #25D366;
}

@media (min-width: 768px) {
  .concierge {
    display: inline-flex;
  }
}

.mbar {
  position: fixed;
  inset: auto 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr 56px;
  border-top: 1px solid var(--line);
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding-bottom: env(safe-area-inset-bottom);
}

.mbar a,
.mbar button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 56px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg);
}

.mbar a:first-child {
  background: var(--gold);
  color: #161616;
  font-weight: 600;
}

.mbar svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
}

.mbar button {
  border-left: 1px solid var(--line);
}

.mbar button svg {
  width: 22px;
  height: 22px;
  color: #25D366;
}

@media (min-width: 768px) {
  .mbar {
    display: none;
  }
}

/* Dialog Fallback */
dialog {
  border: 1px solid var(--line-strong);
  padding: 36px;
  width: calc(100% - 40px);
  max-width: 440px;
  background: var(--slate);
  color: var(--fg);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

dialog h2 {
  font-size: 2rem;
  color: var(--gold);
}

dialog p {
  margin: 16px 0 28px;
  color: var(--fg-muted);
  font-size: 0.95rem;
}

/* Reveal (Animações controladas por JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease), transform 1.2s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   ESTILOS ESPECÍFICOS DA PÁGINA DE CARDÁPIO COMPLETO (/cardapio)
   ============================================================ */
.cardapio-page {
  padding-top: 140px;
  padding-bottom: 120px;
  min-height: 100vh;
}

@media (min-width: 1024px) {
  .cardapio-page {
    padding-top: 180px;
    padding-bottom: 160px;
  }
}

.cardapio-container {
  max-width: 860px;
  margin: 0 auto;
}

.cardapio-header {
  text-align: center;
  margin-bottom: 80px;
}

.cardapio-header h1 {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  margin-top: 20px;
  color: var(--fg);
}

.cardapio-header p.lead {
  max-width: 480px;
  margin: 20px auto 0;
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.cardapio-sections {
  display: grid;
  gap: 72px;
}

.cardapio-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 16px;
}

.cardapio-section-header h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gold);
}

.cardapio-section-header span {
  font-family: var(--display);
  font-size: 1.6rem;
  color: rgba(236, 232, 223, 0.4);
}

.cardapio-items {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: grid;
  gap: 28px;
}

.cardapio-item {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.cardapio-item-info {
  min-width: 0;
}

.cardapio-item-info h3 {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--fg);
}

.cardapio-item-info p {
  margin-top: 4px;
  font-size: 0.875rem;
  color: var(--fg-muted);
}

.cardapio-item .dots {
  flex: 1;
  border-bottom: 1px dotted var(--line-strong);
  min-width: 24px;
}

.cardapio-item .price {
  flex-shrink: 0;
  font-family: var(--display);
  font-size: 1.35rem;
  color: var(--gold);
}

@media (max-width: 560px) {
  .cardapio-item .dots {
    display: none;
  }
  .cardapio-item {
    justify-content: space-between;
  }
}

.cardapio-cta {
  margin-top: 96px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.cardapio-cta p {
  font-family: var(--display);
  font-style: italic;
  font-size: 2rem;
  color: var(--fg);
}

/* ============================================================
   ESTILOS PARA PÁGINAS GERAIS (page.php) E 404 (404.php)
   ============================================================ */
.general-page,
.error404-page {
  padding-top: 140px;
  padding-bottom: 120px;
  min-height: 80vh;
}

.general-page h1,
.error404-page h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--gold);
  margin-bottom: 32px;
}

.general-content {
  color: rgba(236, 232, 223, 0.85);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 800px;
}

.general-content p {
  margin-bottom: 24px;
}

.error404-box {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.error404-box .big-404 {
  font-family: var(--display);
  font-size: 6rem;
  color: var(--hanko);
  line-height: 1;
  margin-bottom: 20px;
}

.error404-box p {
  color: var(--fg-muted);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

