:root {
  --bg: #ffffff;
  --ink: #111111;
  --muted: #5c5c5c;
  --line: #e8e8e8;
  --black: #0b0b0b;
  --charcoal: #161616;
  --red: #c8102e;
  --red-dark: #9e0c24;
  --gold: #c4a35a;
  --soft: #f7f5f2;
  --radius: 18px;
  --pill: 999px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --header-h: 96px;
  --gold-soft: rgba(196, 163, 90, 0.55);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.45em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  margin: 0 0 0.75rem;
}

.eyebrow-light { color: var(--gold); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  border-radius: var(--pill);
  padding: 0.9rem 1.55rem;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover { transform: translateY(-1px); }
.button-small { padding: 0.65rem 1.1rem; font-size: 0.84rem; }
.button-wide { width: 100%; }
.button-primary,
.button-orange { background: var(--red); color: #fff; }
.button-primary:hover,
.button-orange:hover { background: var(--red-dark); }
.button-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
}
.button-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.button-light { background: #fff; color: var(--ink); border: 1px solid var(--line); }
.button-dark { background: var(--black); color: #fff; }
.button-danger { background: #8b1e1e; color: #fff; }

.text-link {
  color: var(--red);
  font-weight: 700;
  font-size: 0.92rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.85rem clamp(1.25rem, 3.5vw, 2.5rem);
  background: rgba(11, 11, 11, 0.92);
  backdrop-filter: blur(10px);
  color: #fff;
}

.brand {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0;
  justify-self: start;
}

.brand-logo {
  height: 72px;
  width: auto;
  max-width: 200px;
  border-radius: 999px;
  object-fit: contain;
  background: transparent;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  justify-self: center;
}

.main-nav a {
  position: relative;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.82;
  padding: 0.35rem 0.1rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover,
.main-nav a.is-active { opacity: 1; color: #fff; }

.main-nav a:hover::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  flex-shrink: 0;
}
.nav-wa-mobile { display: none; }

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  cursor: pointer;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  margin: 0 auto;
  position: relative;
  transition: transform 0.2s ease;
}

.menu-toggle-bars::before,
.menu-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle-bars::before { top: -7px; }
.menu-toggle-bars::after { top: 7px; }

/* Hero */
.hero {
  position: relative;
  min-height: min(82dvh, 760px);
  display: grid;
  align-items: center;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1.4rem, 5vw, 4.5rem) 5.5rem;
  color: #fff;
  overflow: hidden;
  background: #0a0a0a;
}

.hero-bg {
  position: absolute;
  inset: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
  object-position: 68% center;
  z-index: 0;
  animation: heroDrift 22s ease-in-out infinite alternate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.55) 38%, rgba(0, 0, 0, 0.18) 70%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, transparent 28%, rgba(0, 0, 0, 0.55) 100%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.18;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%23c4a35a' stroke-width='0.6'%3E%3Cpath d='M40 8 L52 28 L40 48 L28 28 Z'/%3E%3Cpath d='M40 32 L48 44 L40 56 L32 44 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 55%);
}

.hero-frame {
  position: absolute;
  inset: 1.25rem;
  z-index: 2;
  border: 1px solid rgba(196, 163, 90, 0.28);
  pointer-events: none;
}

.hero-frame::before,
.hero-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--gold);
}

.hero-frame::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
}

.hero-frame::after {
  bottom: -1px;
  right: -1px;
  border-left: 0;
  border-top: 0;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  animation: rise 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero-kicker-line {
  display: block;
  width: 2.2rem;
  height: 1px;
  background: var(--gold-soft);
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.2rem);
  max-width: 12ch;
  margin: 0 0 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: #f3e6c8;
}

.hero-lead {
  max-width: 34ch;
  margin: 0;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.hero-actions .button-primary {
  box-shadow: 0 10px 28px rgba(200, 16, 46, 0.35);
}

.hero-actions .button-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

.hero-wa-mobile { display: none; margin-top: 0.85rem; }

.hero-foot {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2.75rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  animation: fadeIn 1.1s 0.2s ease both;
}

.hero-badge {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
}

.hero-ornament {
  color: var(--gold);
  font-size: 0.65rem;
  opacity: 0.8;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes heroDrift {
  from { transform: scale(1.02) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.5%, -1%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .hero-content,
  .hero-foot { animation: none; }
}

/* Values */
.values-wrap {
  padding: 0 clamp(1.1rem, 3.5vw, 2.5rem);
  margin-top: -3.25rem;
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 5;
}

.values-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

.values-bar article {
  text-align: center;
  padding: 1.35rem 1.4rem 1.45rem;
  border-right: 1px solid var(--line);
  background:
    linear-gradient(180deg, #fff 0%, #faf7f2 100%);
}

.values-bar article:last-child { border-right: 0; }

.values-bar h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0.45rem 0 0.2rem;
}

.values-bar p {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
}

.value-icon {
  color: var(--red);
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(200, 16, 46, 0.08);
  border: 1px solid rgba(200, 16, 46, 0.15);
}

/* Sections */
.section {
  padding: clamp(2.2rem, 5vw, 3.6rem) clamp(1.1rem, 3.5vw, 2.5rem);
}

.section-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.menu-preview {
  background: linear-gradient(180deg, #faf8f5 0%, #fff 100%);
  padding-top: clamp(2.8rem, 5vw, 3.8rem);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.25rem 2rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.section-head-copy { max-width: 34rem; }

.section-head h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  max-width: none;
  margin-bottom: 0.35rem;
}

.section-lead {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  max-width: 42ch;
  line-height: 1.45;
}

.section-head .button {
  flex-shrink: 0;
  align-self: center;
}

.dish-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.dish-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dish-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.dish-card-media {
  display: block;
  aspect-ratio: 5 / 4;
  overflow: hidden;
  background: #111;
}

.dish-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.dish-card:hover .dish-card-media img { transform: scale(1.04); }

.dish-card-body { padding: 0.95rem 1rem 1.1rem; }
.dish-card-body h3 {
  font-size: 1.28rem;
  margin-bottom: 0.25rem;
}
.dish-card-body p {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 0 0 0.7rem;
  min-height: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dish-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.empty-note {
  grid-column: 1 / -1;
  color: var(--muted);
  padding: 2rem 0;
}

/* Pastas banner */
.pastas-banner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 360px;
  max-width: 1200px;
  margin: 0 auto 0.5rem;
  border-radius: 18px;
  overflow: hidden;
  background: #1a1410;
  color: #fff;
}

.pastas-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.75rem;
  padding: clamp(1.6rem, 4vw, 2.8rem);
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.38)),
    url("../img/hero-mesa.jpg") center/cover;
}

.pastas-copy h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  max-width: 14ch;
  margin-bottom: 0.15rem;
}

.pastas-copy p {
  margin: 0 0 0.35rem;
  opacity: 0.9;
  max-width: 36ch;
}

.pastas-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

/* Story */
.story-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  padding: 0;
  background: var(--charcoal);
  color: #fff;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 520px;
}

.story-copy {
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at top right, rgba(196, 163, 90, 0.12), transparent 40%),
    radial-gradient(circle at bottom left, rgba(200, 16, 46, 0.12), transparent 35%),
    var(--charcoal);
}

.story-copy p { color: rgba(255, 255, 255, 0.82); max-width: 42ch; }
.story-copy .button { margin-top: 0.75rem; }

/* Events — vídeo em quadro 1:1 (10x10), sem corte agressivo */
.events-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.75rem 2.25rem;
  padding: clamp(2.2rem, 5vw, 3.5rem) clamp(1.2rem, 4vw, 2.5rem);
  color: #fff;
  background:
    radial-gradient(circle at 70% 50%, rgba(200, 16, 46, 0.12), transparent 45%),
    #0b0b0b;
}

.events-content {
  flex: 1 1 280px;
  max-width: 420px;
}

.events-content h2 {
  font-size: clamp(2rem, 3.8vw, 2.9rem);
  max-width: 16ch;
  margin-bottom: 0.65rem;
}

.events-content p {
  opacity: 0.92;
  max-width: 38ch;
  margin: 0 0 1.1rem;
  line-height: 1.55;
}

.events-media {
  position: relative;
  flex: 0 0 auto;
  width: min(340px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.events-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  background: #000;
}

/* Gallery */
.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 28%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.gallery-track figure {
  margin: 0;
  scroll-snap-align: start;
  overflow: hidden;
  aspect-ratio: 1;
  background: #111;
}

.gallery-track img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0;
  flex-shrink: 0;
}

.gallery-track figure {
  border-radius: 12px;
}

.band-wrap {
  padding: 0 clamp(1.1rem, 3.5vw, 2.5rem) clamp(1.5rem, 3vw, 2.2rem);
}

/* Contact */
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.95fr);
  gap: 0;
  padding: 0;
  background: #111;
  color: #fff;
  align-items: stretch;
}

.contact-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.15rem;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.4rem, 4vw, 2.8rem);
  background: #111;
}

.contact-copy h2 {
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  max-width: 14ch;
  margin: 0;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.25rem 0 0.35rem;
}

.contact-label {
  display: block;
  color: var(--red);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-details p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.45;
}

.contact-details a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.35rem;
}

.contact-actions .button-ghost {
  border-color: rgba(255, 255, 255, 0.45);
}

.contact-media {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  background:
    radial-gradient(circle at 70% 40%, rgba(196, 163, 90, 0.12), transparent 45%),
    #0d0d0d;
}

.map-frame {
  position: relative;
  width: 100%;
  padding: 10px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(196, 163, 90, 0.55), rgba(196, 163, 90, 0.18) 40%, rgba(196, 163, 90, 0.45));
  box-shadow:
    0 0 0 1px rgba(196, 163, 90, 0.35),
    0 22px 50px rgba(0, 0, 0, 0.45);
}

.map-frame::before {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 236, 190, 0.35);
  border-radius: 14px;
  pointer-events: none;
  z-index: 3;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: min(420px, 55vh);
  min-height: 320px;
  border: 0;
  border-radius: 12px;
  background: #111;
}

.map-frame-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 2px solid #e8d39a;
  z-index: 4;
  pointer-events: none;
}

.map-frame-tl { top: 14px; left: 14px; border-right: 0; border-bottom: 0; }
.map-frame-tr { top: 14px; right: 14px; border-left: 0; border-bottom: 0; }
.map-frame-bl { bottom: 14px; left: 14px; border-right: 0; border-top: 0; }
.map-frame-br { bottom: 14px; right: 14px; border-left: 0; border-top: 0; }

.reviews-section {
  background:
    linear-gradient(180deg, #f7f3ec 0%, #faf8f5 100%);
}

.reviews-intro {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.reviews-intro h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  margin: 0;
}

.reviews-score {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.reviews-score strong {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  color: var(--ink);
}

.reviews-score span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.reviews-score .review-stars {
  margin-bottom: 0.15rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.review-card .review-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.25rem 1.3rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.review-card-top {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(200, 16, 46, 0.1);
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
}

.review-stars {
  display: flex;
  gap: 0.12rem;
  color: #d0d0d0;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.review-stars .is-on { color: #e6b422; }

.review-text {
  margin: 0;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.review-author {
  margin: 0 0 0.2rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}

/* Catalog */
.catalog-page { background: var(--soft); min-height: 70vh; }
.catalog-hero {
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.2rem, 4vw, 3rem) 1rem;
}
.catalog-hero h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.catalog-hero p { color: var(--muted); max-width: 40ch; }

.category-pills {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-bottom: 1.6rem;
  scrollbar-width: thin;
}

.pill {
  flex: 0 0 auto;
  border-radius: var(--pill);
  border: 1px solid var(--line);
  background: #fff;
  padding: 0.55rem 1rem;
  font-size: 0.86rem;
  font-weight: 700;
}

.pill.is-active {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

/* Product page */
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.2rem, 4vw, 3rem);
}

.product-media {
  overflow: hidden;
  background: #111;
  min-height: 420px;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-copy h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin: 0.4rem 0 0.8rem;
}

.product-copy .button { margin-top: 1.2rem; }

/* Footer — padrão Smart */
.site-footer {
  background: #121212;
  color: #c5c7c5;
  padding: 2.4rem clamp(1.2rem, 4vw, 3rem) 1.1rem;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.1fr 0.85fr 1.15fr 1.2fr auto;
  gap: 1.5rem 1.75rem;
  align-items: start;
  padding-bottom: 1.4rem;
}

.brand-footer {
  margin-right: 0;
  display: inline-flex;
}

.brand-footer .brand-logo {
  height: 64px;
  max-width: 170px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.45rem;
}

.footer-column h2 {
  margin: 0 0 0.2rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.footer-column a,
.footer-column p {
  margin: 0;
  color: #c5c7c5;
  font-size: 0.86rem;
  line-height: 1.5;
}

.footer-column a:hover {
  color: var(--gold);
}

.footer-main > .button {
  align-self: center;
  white-space: nowrap;
}

.footer-bottom {
  margin-top: 0.35rem;
  padding-top: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  border-top: 1px solid #2e2e2e;
  color: #aeb0ae;
  font-size: 0.78rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.15rem;
}

.footer-bottom-links a,
.site-credit {
  color: #aeb0ae;
}

.footer-bottom-links a:hover,
.site-credit:hover {
  color: var(--gold);
}

.site-credit {
  text-align: right;
}

.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

/* Admin / Auth */
.auth-body,
.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(200, 16, 46, 0.18), transparent 35%),
    linear-gradient(160deg, #0b0b0b, #1a1a1a 55%, #111);
  color: var(--ink);
}

.auth-card {
  width: min(420px, calc(100% - 2rem));
  margin: 8vh auto;
  background: #fff;
  border-radius: 22px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  font-size: 2rem;
  margin-bottom: 0.35rem;
}

.auth-card p { color: var(--muted); }
.brand-auth { display: inline-block; margin-bottom: 1rem; }
.auth-back {
  display: inline-block;
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 600;
}

.admin-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: #0f0f0f;
  color: #fff;
  padding: 1.4rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.admin-nav-label {
  margin: 0.5rem 0 0;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
}

.admin-nav {
  display: grid;
  gap: 0.35rem;
}

.admin-nav a {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.admin-nav a.is-active,
.admin-nav a:hover {
  background: rgba(200, 16, 46, 0.2);
  color: #fff;
}

.admin-back-link {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}

.admin-main {
  background: #f4f2ef;
  padding: 1.4rem;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.admin-kicker {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--red);
  font-weight: 700;
}

.admin-topbar h1 {
  font-size: 2rem;
  margin: 0;
}

.admin-welcome,
.admin-panel,
.admin-metrics article {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #ebe7e2;
}

.admin-welcome {
  padding: 1.3rem 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.admin-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-metrics article { padding: 1.1rem 1.2rem; }
.admin-metrics span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}
.admin-metrics strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 0.2rem 0;
}
.admin-metrics small { color: var(--muted); }

.admin-panel { padding: 1.2rem 1.3rem; }
.admin-panel-heading { margin-bottom: 1rem; }
.admin-panel-heading h2 { font-size: 1.5rem; margin: 0; }
.admin-panel-heading p { margin: 0.25rem 0 0; color: var(--muted); }

.admin-shortcuts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.8rem;
}

.admin-shortcuts a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem;
  background: var(--soft);
}

.admin-shortcuts strong { display: block; margin-bottom: 0.25rem; }
.admin-shortcuts span { color: var(--muted); font-size: 0.88rem; }

.admin-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.admin-columns-narrow { grid-template-columns: 1fr 1fr; }

.form-stack {
  display: grid;
  gap: 0.85rem;
}

.form-stack label,
.form-row label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-stack input,
.form-stack textarea,
.form-stack select,
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  border: 1px solid #d9d3cb;
  border-radius: 12px;
  padding: 0.7rem 0.8rem;
  background: #fff;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.check-stack { display: grid; gap: 0.45rem; align-content: end; }
.check-label {
  display: flex !important;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
}

.file-picker {
  border: 1px dashed #cfc7bc;
  border-radius: 12px;
  padding: 0.85rem;
  background: #faf8f5;
}

.form-message {
  min-height: 1.2em;
  margin: 0.4rem 0 0;
  font-weight: 600;
}
.form-message.is-error { color: #9e0c24; }
.form-message.is-success { color: #1f7a3f; }

.admin-product-row,
.admin-category-row {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.admin-product-info,
.admin-category-row > div:first-child {
  display: grid;
  gap: 0.15rem;
}

.admin-product-info span,
.admin-product-info small,
.admin-category-row span {
  color: var(--muted);
  font-size: 0.88rem;
}

.admin-row-actions {
  display: flex;
  gap: 0.4rem;
  align-items: start;
  flex-wrap: wrap;
}

.empty-admin,
.loading-note { color: var(--muted); }

.admin-dialog {
  border: 0;
  border-radius: 18px;
  padding: 1.3rem;
  width: min(420px, calc(100% - 2rem));
  box-shadow: var(--shadow);
}

.admin-dialog::backdrop { background: rgba(0, 0, 0, 0.45); }

.settings-panel { max-width: 860px; }

/* Responsive — mobile matches mockup */
@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .header-actions { display: none; }

  .brand { justify-self: start; }

  .menu-toggle {
    display: grid;
    place-items: center;
    justify-self: end;
    grid-column: 2;
  }

  .main-nav {
    grid-column: 1 / -1;
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(11, 11, 11, 0.98);
    padding: 0.5rem 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    padding: 0.9rem 0.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-wa-mobile {
    display: inline-flex;
    margin-top: 0.8rem;
    width: fit-content;
  }

  .hero {
    align-items: center;
    min-height: 88vh;
    text-align: left;
  }

  .hero-actions { display: none; }
  .hero-wa-mobile { display: inline-flex; }
  .hero-badge { display: none; }

  .values-bar {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .section-head {
    flex-direction: column;
    align-items: start;
  }

  .section-head .button,
  .gallery-actions {
    align-self: start;
  }

  .values-wrap { margin-top: -2.4rem; }

  .values-bar {
    grid-template-columns: 1fr;
  }

  .values-bar article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 1.1rem 1rem;
  }

  .values-bar article:last-child { border-bottom: 0; }

  .hero-frame { inset: 0.75rem; }

  .hero-foot { bottom: 2.1rem; }

  .hero { padding-bottom: 4.5rem; }

  .pastas-banner {
    border-radius: 14px;
    margin: 0;
  }

  .band-wrap { padding-inline: 1rem; }

  .dish-grid,
  .pastas-banner,
  .story-section,
  .events-section,
  .contact-section,
  .product-detail,
  .admin-shell,
  .admin-columns,
  .admin-metrics,
  .form-row {
    grid-template-columns: 1fr;
  }

  .events-media {
    width: min(340px, 100%);
  }

  .events-content {
    max-width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-main > .brand-footer {
    grid-column: 1 / -1;
  }

  .footer-main > .button {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .admin-sidebar {
    position: sticky;
    top: 0;
    z-index: 5;
  }

  .gallery-track {
    grid-auto-columns: minmax(70%, 78%);
  }

  .contact-section {
    grid-template-columns: 1fr;
  }

  .map-frame iframe {
    min-height: 260px;
    height: 280px;
  }

  .story-media img,
  .pastas-media img {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .dish-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.45rem; }
  .wa-float { right: 0.85rem; bottom: 0.85rem; }
  .brand-logo { height: 60px; max-width: 160px; }
  .site-header { padding: 0.75rem 1rem; }
}
