/* ============================================================
   NOSSA CARNE — tokens
   ============================================================ */
:root {
  --char: #0b0908;
  --ash: #191410;
  --ash-2: #241c16;
  --ash-3: #2f2519;
  --terracotta: #b5502e;
  --terracotta-deep: #8a3d24;
  --terracotta-bright: #d06a3f;
  --gold: #c9a24b;
  --gold-soft: #e0c483;
  --tallow: #ede3d3;
  --tallow-dim: #cabfab;
  --ink: #241c16;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;

  --container: 1180px;
  --edge: clamp(20px, 5vw, 64px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ash);
  color: var(--tallow);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
  margin: 0;
  color: var(--tallow);
}

p { margin: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--char);
  padding: 12px 18px;
  z-index: 999;
  font-weight: 600;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  left: 0;
}

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

/* subtle film-grain texture over everything, ties the dark photography to the UI */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 14px 26px;
  border-radius: 3px;
  text-decoration: none;
  transition: transform 0.35s var(--ease), background 0.25s ease, box-shadow 0.35s ease, border-color 0.25s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--tallow);
  box-shadow: 0 10px 30px -12px rgba(181, 80, 46, 0.7);
}
.btn-primary:hover { background: var(--terracotta-bright); transform: translateY(-2px); }

.btn-outline {
  border-color: rgba(237, 227, 211, 0.35);
  color: var(--tallow);
}
.btn-outline:hover { border-color: var(--gold-soft); color: var(--gold-soft); transform: translateY(-2px); }

.btn-ghost {
  border-color: rgba(237, 227, 211, 0.25);
  color: var(--tallow);
  padding: 10px 20px;
  font-size: 0.88rem;
}
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }

.btn-lg { padding: 18px 34px; font-size: 1.05rem; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s ease, box-shadow 0.4s ease, padding 0.3s ease;
  padding: 18px 0;
}
.site-header.is-scrolled {
  background: rgba(11, 9, 8, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -16px rgba(0,0,0,0.6);
  padding: 10px 0;
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tallow);
}
.brand-mark { height: 40px; width: auto; }
.main-nav {
  display: flex;
  gap: 32px;
  font-size: 0.92rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--tallow-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color 0.25s ease;
}
.main-nav a:hover { color: var(--tallow); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-soft);
  transition: width 0.3s var(--ease);
}
.main-nav a:hover::after { width: 100%; }

.header-cta { flex-shrink: 0; }

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

@media (max-width: 520px) {
  .header-inner { gap: 12px; }
  .brand-mark { height: 32px; }
  .header-cta { padding: 9px 14px; font-size: 0.78rem; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 42%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,9,8,0.55) 0%, rgba(11,9,8,0.25) 30%, rgba(11,9,8,0.55) 68%, rgba(11,9,8,0.94) 100%),
    linear-gradient(90deg, rgba(11,9,8,0.78) 0%, rgba(11,9,8,0.15) 55%, rgba(11,9,8,0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  width: 100%;
  padding: 0 var(--edge) 96px;
  animation: rise 1.1s var(--ease) both;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.hero-title {
  font-size: clamp(2.6rem, 6.4vw, 5.2rem);
  max-width: 14ch;
  color: var(--tallow);
}
.hero-title em {
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
}
.hero-sub {
  margin-top: 22px;
  max-width: 46ch;
  font-size: 1.1rem;
  color: var(--tallow-dim);
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-rating {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--tallow-dim);
  font-size: 0.9rem;
  transition: color 0.25s ease;
}
.hero-rating:hover { color: var(--tallow); }
.rating-stars {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 2px;
}
.stars-bg { color: rgba(237,227,211,0.28); }
.stars-fg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: var(--pct);
  color: var(--gold-soft);
  white-space: nowrap;
}
.hero-rating-text strong { color: var(--tallow); font-weight: 700; }

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(237,227,211,0.45);
  border-radius: 14px;
}
.scroll-cue span {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold-soft);
  animation: scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue {
  0% { opacity: 1; top: 8px; }
  70% { opacity: 0; top: 20px; }
  100% { opacity: 0; top: 20px; }
}
@media (max-width: 640px) {
  .scroll-cue { display: none; }
}

/* ============================================================
   SECTION SCAFFOLDING
   ============================================================ */
section { position: relative; }

.section-head {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
.eyebrow-mark { width: 18px; height: auto; opacity: 0.9; }
.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  max-width: 16ch;
}
.section-lede {
  margin-top: 16px;
  max-width: 52ch;
  color: var(--tallow-dim);
  font-size: 1.05rem;
}

/* ============================================================
   SCHEDULE / TRES TEMPOS
   ============================================================ */
.schedule {
  padding: 120px 0 100px;
  background: var(--ash);
}
.schedule-grid {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 0 var(--edge);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  background: var(--ash-3);
}
.schedule-card {
  background: var(--ash);
  display: flex;
  flex-direction: column;
}
.schedule-photo {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.schedule-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.schedule-card:hover .schedule-photo img { transform: scale(1.05); }
.schedule-info {
  padding: 30px 28px 34px;
  border-top: 1px solid rgba(201, 162, 75, 0.25);
}
.schedule-time {
  display: inline-block;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--terracotta-bright);
  font-weight: 700;
  margin-bottom: 12px;
}
.schedule-info h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.schedule-info p {
  color: var(--tallow-dim);
  font-size: 0.96rem;
  line-height: 1.55;
}

@media (max-width: 860px) {
  .schedule-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MENU (bento grid)
   ============================================================ */
.menu {
  padding: 100px 0;
  background: var(--char);
}
.menu-grid {
  max-width: var(--container);
  margin: 56px auto 0;
  padding: 0 var(--edge);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 130px;
  gap: 10px;
}
.menu-tile {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--ash-2);
}
.menu-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.menu-tile:hover img { transform: scale(1.06); }

.tile-lg { grid-column: span 2; grid-row: span 3; }
.tile-md { grid-column: span 2; grid-row: span 2; }
.tile-sm { grid-column: span 1; grid-row: span 2; }

.menu-tile-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 22px 20px;
  background: linear-gradient(0deg, rgba(11,9,8,0.92) 0%, rgba(11,9,8,0.55) 55%, transparent 100%);
}
.menu-tile-label h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--tallow);
}
.menu-tile-label p {
  margin-top: 6px;
  font-size: 0.86rem;
  color: var(--tallow-dim);
  max-width: 30ch;
}

.menu-cta {
  max-width: var(--container);
  margin: 48px auto 0;
  padding: 0 var(--edge);
  text-align: center;
}

@media (max-width: 980px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .tile-lg { grid-column: span 2; grid-row: span 3; }
  .tile-md { grid-column: span 2; grid-row: span 2; }
  .tile-sm { grid-column: span 1; grid-row: span 2; }
}
@media (max-width: 560px) {
  .menu-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .tile-lg, .tile-md, .tile-sm { grid-column: span 1; grid-row: span 1; }
}

/* ============================================================
   AMBIENTE (galeria)
   ============================================================ */
.salao {
  background: var(--ash);
}
.salao-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
}
.salao-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.7s var(--ease);
}
.salao-gallery img:hover { transform: scale(1.03); }

@media (max-width: 760px) {
  .salao-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CONTATO / MAPA
   ============================================================ */
.contato {
  position: relative;
  min-height: 680px;
  background: var(--char);
}
.map-embed {
  position: absolute;
  inset: 0;
  filter: grayscale(0.5) sepia(0.25) saturate(1.4) brightness(0.55) contrast(1.05);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.contato-card {
  position: absolute;
  z-index: 2;
  left: var(--edge);
  bottom: var(--edge);
  max-width: 460px;
  padding: 48px 42px;
  background: rgba(11,9,8,0.88);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(201,162,75,0.3);
  border-radius: 4px;
}
.contato-mark { margin-bottom: 20px; opacity: 0.9; }
.contato-card h2 { font-size: 1.8rem; margin-bottom: 12px; }
.contato-card p { color: var(--tallow-dim); margin-bottom: 26px; }

@media (max-width: 640px) {
  .contato-card { left: 20px; right: 20px; bottom: 20px; padding: 34px 26px; max-width: none; }
  .contato { min-height: 720px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--char);
  border-top: 1px solid rgba(201,162,75,0.2);
  padding: 44px 0 90px;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--edge);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand img { height: 32px; width: auto; }
.footer-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.footer-brand span {
  display: block;
  font-size: 0.82rem;
  color: var(--tallow-dim);
}
.footer-nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-nav a { text-decoration: none; color: var(--tallow-dim); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--gold-soft); }
.footer-tag {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-soft);
  font-size: 0.98rem;
}

.footer-meta {
  max-width: var(--container);
  margin: 32px auto 0;
  padding: 22px var(--edge) 0;
  border-top: 1px solid rgba(237,227,211,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
}
.footer-meta p {
  font-size: 0.85rem;
  color: var(--tallow-dim);
}
.footer-meta strong {
  color: var(--tallow);
  font-weight: 600;
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #0b0908;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px -8px rgba(0,0,0,0.6);
  transition: transform 0.3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }

@media (min-width: 861px) {
  .whatsapp-float { display: none; }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
