/* =========================================================
   GOURMANDISE — Snack Bar & Restaurant
   ========================================================= */

:root {
  /* Palette extracted from the design */
  --bg:           #f3ecdf;
  --bg-warm:      #ede4d2;
  --surface:      #faf5e9;
  --card:         #ffffff;
  --ink:          #1f1e16;
  --ink-soft:     #4b4838;
  --muted:        #8a8470;
  --olive:        #5b5a3f;
  --olive-deep:   #45452f;
  --olive-soft:   #6f6e4f;
  --gold:         #b89a5e;
  --gold-soft:    #d8c9a8;
  --line:         #e3d9c2;

  /* Type */
  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-script:  "Italianno", "Allura", cursive;
  --f-brand:   "Allura", "Italianno", cursive;
  --f-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1480px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 6px 20px -10px rgba(45, 40, 20, 0.18);
  --shadow-md: 0 28px 60px -30px rgba(45, 40, 20, 0.25);

  --ease: cubic-bezier(.2,.7,.2,1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--f-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

/* Helper: inline padding that matches the .container left/right edges
   at all viewport widths (used by full-bleed hero/about splits). */
:root {
  --gutter: max(28px, calc((100vw - var(--container)) / 2 + 28px));
}

/* =========================================================
   Legal pages (Política de Privacidade / Termos de Uso)
   ========================================================= */
.legal-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.legal-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 78px;
}
.legal-back {
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color .2s;
}
.legal-back:hover { color: var(--olive); }
.legal-main { padding: 60px 0 90px; }
.legal-wrap { max-width: 760px; }
.legal-kicker {
  font-size: .72rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}
.legal-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 10px;
}
.legal-updated {
  font-size: .85rem;
  color: var(--muted);
  margin: 0 0 40px;
}
.legal-wrap h2 {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--ink);
  margin: 40px 0 12px;
}
.legal-wrap h2:first-of-type { margin-top: 0; }
.legal-wrap p,
.legal-wrap li {
  font-size: .98rem;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal-wrap p { margin: 0 0 16px; }
.legal-wrap ul { margin: 0 0 16px; padding-left: 22px; }
.legal-wrap li { margin-bottom: 8px; }
.legal-wrap a { color: var(--olive); text-decoration: underline; text-underline-offset: 2px; }
.legal-foot {
  border-top: 1px solid var(--line);
  padding: 28px 0;
  text-align: center;
}
.legal-foot p { margin: 0; font-size: .82rem; color: var(--muted); }
.legal-foot a { color: var(--ink-soft); }
.legal-foot a:hover { color: var(--olive); }

@media (max-width: 640px) {
  .legal-header .container { height: 64px; }
  .legal-main { padding: 40px 0 64px; }
  .legal-back span.txt { display: none; }
}

/* Subtle grain overlay */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1000;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* =========================================================
   Typography helpers
   ========================================================= */
.display {
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.02;
  font-size: clamp(2.9rem, 6.2vw, 5.4rem);
  margin: 0 0 1.4rem;
  position: relative;
}
.display.sm { font-size: clamp(2.3rem, 4.2vw, 3.4rem); line-height: 1.08; }
.display .script,
em.script {
  font-family: var(--f-script);
  font-style: normal;
  font-weight: 400;
  color: var(--olive);
  font-size: 1.5em;
  line-height: 0.6;
  display: inline-block;
}

.lede {
  font-size: 1.02rem;
  color: var(--ink-soft);
  margin: 0 0 1.8rem;
  max-width: 38ch;
}
.lede.sm { font-size: .96rem; }

.kicker {
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .25em;
  color: var(--muted);
  margin: 0 0 1rem;
  text-transform: uppercase;
}

/* Underline curl under hero */
.under {
  position: absolute;
  left: 12px;
  bottom: -0.2em;
  width: 360px;
  max-width: 80%;
  height: 18px;
  color: var(--gold);
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding: 0 26px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .18em;
  border-radius: 4px;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .35s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-dark {
  background: var(--olive);
  color: var(--bg);
}
.btn-dark:hover {
  background: var(--olive-deep);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(45, 40, 20, 0.5);
}
.btn-ghost {
  border-color: var(--ink);
  color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-2px);
}
.btn-full { width: 100%; }

/* Animated text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--ink);
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .25s;
}
.link-arrow.sm { font-size: .72rem; }
.link-arrow span { transition: transform .3s var(--ease); display: inline-block; }
.link-arrow:hover { gap: 18px; color: var(--olive); }
.link-arrow:hover span { transform: translateX(4px); }
.link-arrow.on-dark { color: var(--bg); border-color: var(--gold-soft); }
.link-arrow.on-photo { color: #fff; border-color: rgba(255,255,255,.6); }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .3s var(--ease), padding .3s var(--ease), box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(243, 236, 223, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(91, 90, 63, 0.08);
}
/* When the mobile nav is open, give the header a solid bg so the
   close (X) icon and brand stay visible above the menu overlay. */
.site-header.is-menu-open {
  background: var(--bg);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(91, 90, 63, 0.08);
}

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

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  transition: height .3s var(--ease);
}
.site-header.is-scrolled .brand-logo { height: 46px; }
.brand-name {
  font-family: var(--f-brand);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--ink);
  line-height: .8;
}
.brand-sub {
  font-size: .55rem;
  letter-spacing: .35em;
  color: var(--ink-soft);
  margin-top: 6px;
  padding-left: 6px;
}

.primary-nav ul {
  display: flex;
  gap: 36px;
  margin: 0; padding: 0; list-style: none;
}
.nav-link {
  position: relative;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--ink);
  padding: 8px 0;
  transition: color .25s;
}
.nav-link::after {
  content: "";
  position: absolute; left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--olive);
  transition: width .3s var(--ease), left .3s var(--ease);
}
.nav-link:hover::after,
.nav-link.is-active::after {
  width: 100%; left: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cart-btn {
  position: relative;
  width: 40px; height: 40px;
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .25s, color .25s;
}
.cart-btn:hover { background: var(--olive); color: var(--bg); }
.cart-count {
  position: absolute; top: 2px; right: 2px;
  background: var(--olive);
  color: var(--bg);
  font-size: 9px;
  width: 14px; height: 14px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}

.menu-toggle {
  display: none;
  width: 36px; height: 36px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 110;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  transition: transform .3s, opacity .2s;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  padding: 88px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mobile-nav a {
  display: block;
  font-family: var(--f-display);
  font-size: 1.7rem;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mobile-nav .btn { margin-top: auto; }

/* =========================================================
   Hero — full-bleed 40/60 split
   ========================================================= */
.hero {
  position: relative;
  padding-top: 100px;
  background: var(--bg);
}

.hero-split {
  position: relative;
  display: grid;
  grid-template-columns: 42fr 58fr;
  align-items: stretch;
  min-height: min(640px, 72vh);
}

.hero-left {
  position: relative;
  display: flex;
  align-items: center;
  padding: 20px clamp(28px, 4vw, 64px) 70px var(--gutter);
}

.hero-content {
  position: relative;
  max-width: 540px;
  width: 100%;
}

/* Keep "uma experiência." on a single line in the hero heading */
.hero-content .display em.script {
  white-space: nowrap;
  font-size: 1.32em;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-sprig {
  position: absolute;
  bottom: 40px;
  left: 30px;
  width: 110px;
  opacity: .55;
  pointer-events: none;
  z-index: 1;
}

.hero-right {
  position: relative;
  overflow: hidden;
  background: #2a2a1f;
  min-height: 70vh;
}
.hero-swiper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-swiper .swiper-slide {
  overflow: hidden;
  position: relative;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 7s linear;
}
.hero-swiper .swiper-slide-active .hero-image {
  transform: scale(1.14);
}
.hero-pagination {
  position: absolute;
  bottom: 22px;
  left: 0; right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}
.hero-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.45);
  opacity: 1;
  transition: background .3s var(--ease), width .3s var(--ease);
  margin: 0 !important;
  pointer-events: auto;
}
.hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 40px;
}

.badge-circle {
  position: absolute;
  top: 40px;
  left: calc(42% - 65px);
  width: 130px; height: 130px;
  animation: spin 28s linear infinite;
  z-index: 20;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.25));
  pointer-events: none;
}
.badge-circle svg { width: 100%; height: 100%; }

@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   Categories — floating card over the hero/about seam
   ========================================================= */
.cats-float {
  position: relative;
  z-index: 10;
  width: min(1180px, 94%);
  margin: -55px auto -55px;
  padding: 0 12px;
}
.cats {
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(91, 90, 63, 0.06);
  padding: 24px 40px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 14px 6px;
  border-radius: 10px;
  color: var(--ink-soft);
  transition: background .25s, transform .25s var(--ease), color .25s;
  position: relative;
}
.cat:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -5px; top: 26px; bottom: 26px;
  width: 1px;
  background: var(--line);
}
.cat:hover {
  background: var(--bg-warm);
  color: var(--olive);
  transform: translateY(-3px);
}
.cat-icon {
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: var(--olive);
}
.cat-icon svg { width: 100%; height: 100%; }
.cat-label {
  font-size: .68rem;
  letter-spacing: .25em;
  font-weight: 500;
}

/* =========================================================
   About — full-bleed 40/60 split
   ========================================================= */
.about {
  position: relative;
  background: var(--bg);
  padding-top: 10px;
}

.about-split {
  display: grid;
  grid-template-columns: 58fr 42fr;
  align-items: stretch;
  min-height: 70vh;
}

.about-left {
  position: relative;
  display: flex;
  align-items: center;
  padding: 40px var(--gutter) 60px clamp(28px, 4vw, 70px);
}
.about-content {
  position: relative;
  max-width: 460px;
  width: 100%;
}
.about-content .link-arrow { margin-top: 14px; }
.about-toggle {
  background: none;
  padding-top: 0;
  border-top: 0;
  border-left: 0;
  border-right: 0;
  cursor: pointer;
}
.about-story {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height .6s var(--ease), opacity .4s var(--ease), margin .4s var(--ease);
}
.about-story[hidden] { display: block !important; }
.about-story.is-open {
  max-height: 600px;
  opacity: 1;
  margin-top: -6px;
  margin-bottom: 18px;
}
.about-story p {
  font-size: .92rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
  max-width: 42ch;
}
.about-story p:last-child { margin-bottom: 0; }

.about-branch {
  position: absolute;
  right: -90px;
  bottom: 20px;
  width: 200px;
  opacity: .45;
  pointer-events: none;
  z-index: 1;
}

.about-right {
  position: relative;
  overflow: hidden;
  background: #2a2a1f;
  min-height: 460px;
}
.about-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.4s var(--ease);
}
.about:hover .about-image { transform: scale(1.06); }

.about-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
  z-index: 2;
}
.about-overlay svg {
  width: 280px;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.45));
}

/* =========================================================
   Menu highlights
   ========================================================= */
.menu-highlights {
  padding: 70px 0 90px;
}
.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 38px;
  gap: 20px;
  flex-wrap: wrap;
}
.menu-head .kicker { margin: 0; }
.menu-toggle-btn {
  border-top: 0;
  border-left: 0;
  border-right: 0;
  background: none;
  padding-top: 0;
  cursor: pointer;
}
.menu-view-full[hidden] { display: none; }
.menu-view-highlights[hidden] { display: none; }

.menu-note {
  margin: -22px 0 26px;
  font-size: 0.92rem;
  color: var(--ink-soft, #6b6a55);
  border-left: 2px solid #b89a5e;
  padding-left: 12px;
}
.menu-note strong { color: inherit; }

.menu-stage { position: relative; }
.menu-swiper { padding: 6px 0 20px; }

.dish {
  background: var(--surface);
  border: 1px solid rgba(91, 90, 63, 0.08);
  border-radius: var(--radius);
  padding: 16px 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dish:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px -22px rgba(45, 40, 20, 0.32);
}
.dish-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-warm);
}
.dish-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.dish:hover .dish-img img { transform: scale(1.08); }

.dish-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.18rem;
  color: var(--ink);
  margin: 6px 0 0;
  line-height: 1.25;
}
.dish-price {
  font-family: var(--f-display);
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin: 0;
}

.menu-nav {
  position: absolute;
  top: 35%;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.menu-nav:hover { background: var(--olive); color: var(--bg); border-color: var(--olive); transform: scale(1.06); }
.menu-nav.prev { left: -54px; }
.menu-nav.next { right: -54px; }
.menu-nav svg { width: 18px; height: 18px; }

/* =========================================================
   Full menu view (toggle)
   ========================================================= */
.menu-view-full { padding-top: 4px; }

.menu-full-head {
  text-align: left;
  margin-bottom: 36px;
  max-width: 720px;
}
.menu-full-head .kicker { margin-bottom: 14px; }
.menu-full-head .lede.sm { margin: 14px 0 22px; max-width: 46ch; }
.menu-full-head .display.sm em.script {
  font-size: 1.5em;
  line-height: 0.6;
  color: var(--olive);
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.menu-tab {
  height: 42px;
  padding: 0 22px;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--ink-soft);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
  cursor: pointer;
}
.menu-tab:hover {
  background: var(--bg-warm);
  color: var(--olive);
  transform: translateY(-2px);
}
.menu-tab.is-active {
  background: var(--olive);
  border-color: var(--olive);
  color: var(--bg);
}

.menu-list-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 70px;
  margin-top: 14px;
}
.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.menu-item {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: end;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: opacity .25s var(--ease);
}
.menu-list:last-child .menu-item:last-child { border-bottom: 0; }
.menu-item.is-hidden { display: none; }
.menu-item-text { min-width: 0; }
.menu-item-name {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin: 0 0 4px;
  line-height: 1.2;
}
.menu-item-desc {
  font-size: .82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.4;
}
.menu-item-dots {
  flex: 1;
  height: 1px;
  border-bottom: 1px dotted var(--line);
  align-self: end;
  margin-bottom: 8px;
  min-width: 24px;
}
.menu-item-price {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--ink);
  align-self: end;
  white-space: nowrap;
}

/* =========================================================
   Testimonials / Reviews
   ========================================================= */
.testimonials {
  padding: 30px 0 90px;
  position: relative;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}
.reviews-aside .display.sm { margin-bottom: 14px; }
.reviews-aside .display.sm em.script {
  font-size: 1.5em;
  line-height: 0.6;
  color: var(--olive);
}
.reviews-aside .lede.sm { margin-bottom: 28px; }

.review-score {
  margin: 14px 0 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.review-leaf {
  width: 130px;
  height: 30px;
}
.review-score-row {
  display: flex;
  align-items: center;
  gap: 12px;
}
.review-score-num {
  font-family: var(--f-display);
  font-size: 1.8rem;
  color: var(--ink);
  line-height: 1;
}
.review-stars {
  display: inline-flex;
  gap: 3px;
}
.review-stars svg { width: 18px; height: 18px; }
.review-stars.sm svg { width: 14px; height: 14px; }
.review-score-sub {
  font-size: .78rem;
  color: var(--muted);
  margin: 0;
}

.reviews-stage {
  position: relative;
  min-width: 0;
}
.reviews-swiper {
  padding: 6px 4px 56px;
  overflow: hidden;
}
.review {
  background: var(--card);
  border: 1px solid rgba(91, 90, 63, 0.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 320px;
  height: auto;
}
.review-quote {
  font-family: var(--f-display);
  font-size: 3.4rem;
  line-height: 0.5;
  color: var(--gold);
  margin-bottom: 4px;
  display: inline-block;
  transform: rotate(180deg);
  width: 28px;
}
.review-text {
  font-size: .95rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.55;
  flex: 1;
}
.review-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
}
.review-person img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-warm);
  color: var(--olive);
  border: 1px solid var(--line);
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.15rem;
}
.review-name {
  font-family: var(--f-display);
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
  line-height: 1.2;
  font-weight: 500;
}
.review-city {
  font-size: .78rem;
  color: var(--muted);
  margin: 2px 0 0;
}

.reviews-pagination {
  position: absolute;
  bottom: 22px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 2;
}
.reviews-pagination .swiper-pagination-bullet {
  width: 8px; height: 8px;
  background: var(--line);
  opacity: 1;
  border-radius: 50%;
  transition: background .3s var(--ease), width .3s var(--ease);
  margin: 0 !important;
}
.reviews-pagination .swiper-pagination-bullet-active {
  background: var(--olive);
  width: 22px;
  border-radius: 4px;
}

.reviews-nav {
  position: absolute;
  top: 42%;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--card);
  border: 1px solid var(--line);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  box-shadow: var(--shadow-sm);
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.reviews-nav:hover { background: var(--olive); color: var(--bg); border-color: var(--olive); transform: scale(1.06); }
.reviews-nav.prev { left: -18px; }
.reviews-nav.next { right: -18px; }
.reviews-nav svg { width: 18px; height: 18px; }

.review-cta {
  margin-top: 36px;
}
.review-cta-inner {
  background: var(--bg-warm);
  border-radius: var(--radius);
  padding: 22px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  overflow: hidden;
  position: relative;
  background-image: linear-gradient(90deg, var(--bg-warm) 0%, var(--bg-warm) 60%, rgba(237, 228, 210, 0.6) 100%),
                    url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1400&q=80&auto=format&fit=crop");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.review-cta-text {
  display: flex;
  align-items: center;
  gap: 18px;
}
.review-cta-icon {
  width: 42px;
  height: 42px;
  color: var(--olive);
  flex: none;
}
.review-cta-text .kicker { margin: 0 0 4px; }
.review-cta-title {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  margin: 0;
  line-height: 1;
}
.review-cta-title em.script {
  font-family: var(--f-script);
  font-style: normal;
  color: var(--ink);
  font-size: 1.8em;
  line-height: 0.7;
  display: inline-block;
}

/* =========================================================
   Three feature cards
   ========================================================= */
.features {
  padding: 30px 0 80px;
}
.features-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: stretch;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 280px;
}

.feat {
  padding: 38px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  transition: transform .4s var(--ease);
}
.feat:hover { transform: translateY(-4px); }
.feat-icon {
  width: 54px; height: 54px;
  color: currentColor;
  opacity: .9;
  margin-bottom: 4px;
}
.feat-icon svg { width: 100%; height: 100%; }
.feat-kicker {
  font-size: .68rem;
  letter-spacing: .3em;
  margin: 0;
  opacity: .8;
}
.feat-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.55rem;
  line-height: 1.15;
  margin: 0;
}
.feat-title.script-title em {
  font-family: var(--f-script);
  font-size: 1.7em;
  font-style: normal;
  line-height: .5;
  color: var(--olive);
  display: inline-block;
}
.feat-body {
  font-size: .92rem;
  margin: 0;
  opacity: .85;
  max-width: 28ch;
}
.feat .link-arrow,
.feat-photo-inner .link-arrow { margin-top: auto; align-self: flex-start; }

.feat-dark {
  background: var(--olive);
  color: var(--bg);
}
.feat-dark .feat-title { color: var(--bg); }
.feat-dark .feat-icon { color: var(--gold-soft); }
.feat-dark .feat-kicker { color: var(--gold-soft); }

.feat-cream {
  background: var(--surface);
  color: var(--ink);
}
.feat-cream .feat-icon { color: var(--olive); }
.feat-cream .feat-title.script-title em { color: var(--olive); }

.feat-photo {
  position: relative;
  color: #fff;
  overflow: hidden;
  padding: 0;
}
.feat-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
}
.feat-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(50,46,30,.55), rgba(20,18,10,.7));
  z-index: 1;
}
.feat-photo-inner {
  position: relative;
  z-index: 2;
  padding: 38px 36px;
  width: 100%;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.feat .on-photo,
.feat-photo .feat-title { color: #fff; }
.feat-photo .feat-kicker { color: var(--gold-soft); }

/* =========================================================
   Localização / Mapa
   ========================================================= */
.location {
  padding: 40px 0 90px;
}
.location-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}
.location-info .kicker { margin-bottom: 14px; }
.location-info .display.sm em.script {
  font-size: 1.5em;
  line-height: 0.6;
  color: var(--olive);
}
.location-info .lede.sm { margin: 14px 0 22px; max-width: 42ch; }
.location-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.location-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .95rem;
  color: var(--ink-soft);
}
.location-list svg { color: var(--olive); flex: none; }
.location-list a { color: inherit; text-decoration: none; }
.location-list a:hover { color: var(--olive); }
.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.location-map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  line-height: 0;
}
.location-map iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.02);
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--bg);
  padding: 60px 0 24px;
  border-top: 1px solid var(--line);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.3fr 1fr auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.foot-brand .brand { margin-bottom: 18px; display: inline-flex; }
.foot-logo {
  display: inline-block;
  margin-bottom: 22px;
}
.foot-logo img {
  width: 260px;
  max-width: 100%;
  height: auto;
}
.foot-tag {
  font-size: .88rem;
  color: var(--ink-soft);
  margin: 0 0 22px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s var(--ease);
}
.socials a:hover { background: var(--olive); transform: translateY(-3px); }

.foot-col h4 {
  font-size: .75rem;
  letter-spacing: .25em;
  font-weight: 500;
  margin: 6px 0 18px;
  color: var(--ink);
}
.foot-col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.hours li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
}
.foot-hours .hours-table {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.hours-row {
  display: grid;
  grid-template-columns: 76px 1fr 1fr;
  gap: 10px;
  align-items: baseline;
}
.hours-row span:not(.hours-day) { text-align: right; }
.hours-head {
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2px;
}
.hours-day { color: var(--ink); font-weight: 500; }
.hours-note {
  margin: 14px 0 0;
  font-size: .78rem;
  color: var(--muted);
}
.contacts li {
  display: flex;
  gap: 12px;
  align-items: start;
  line-height: 1.45;
}
.contacts li svg { margin-top: 5px; color: var(--olive); flex: none; }
.contacts a:hover { color: var(--olive); }
.quick a:hover { color: var(--olive); }

.foot-badge {
  width: 130px; height: 130px;
  align-self: center;
  animation: spin 40s linear infinite;
}
.foot-badge svg { width: 100%; height: 100%; }

.foot-bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.foot-bottom a:hover { color: var(--olive); }

/* =========================================================
   Reveal animations — initial state only applied AFTER JS
   loads (via body.js-ready). If JS fails, elements stay
   visible instead of being permanently invisible.
   ========================================================= */
.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
  will-change: opacity, transform;
}
.js-ready [data-reveal="right"] {
  transform: translateX(40px);
}
.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .js-ready [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .badge-circle,
  .foot-badge { animation: none !important; }
  * { scroll-behavior: auto !important; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .menu-nav.prev { left: -10px; }
  .menu-nav.next { right: -10px; }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .foot-badge { display: none; }
}

@media (max-width: 920px) {
  .primary-nav,
  .header-actions .btn { display: none; }
  .menu-toggle { display: flex; }

  .hero { padding-top: 90px; }
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 30px 28px 70px;
    order: 2;
  }
  .hero-right {
    order: 1;
    min-height: 56vh;
  }
  .hero-sprig { display: none; }
  .badge-circle { display: none; }

  .cats-float {
    margin: -40px auto -40px;
    width: 94%;
  }
  .cats { padding: 14px 10px; gap: 4px; }
  .cat { padding: 10px 4px; }
  .cat-icon { width: 36px; height: 36px; }
  .cat-label { font-size: .58rem; letter-spacing: .15em; }

  .about { padding-top: 80px; }
  .about-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about-left {
    padding: 20px 28px 50px;
    order: 2;
  }
  .about-right {
    order: 1;
    min-height: 50vh;
  }
  .about-branch { display: none; }
  .about-overlay svg { width: 200px; }

  .menu-list-grid { grid-template-columns: 1fr; gap: 0; }
  .menu-tabs { gap: 6px; }
  .menu-tab { padding: 0 14px; font-size: .68rem; }

  .reviews-grid { grid-template-columns: 1fr; gap: 28px; }
  .reviews-nav.prev { left: 0; }
  .reviews-nav.next { right: 0; }
  .review-cta-inner { flex-direction: column; align-items: flex-start; text-align: left; }
  .review-cta-text { flex-direction: row; }

  .features-grid { grid-template-columns: 1fr; }
  .feat-photo-inner { padding: 30px 28px; }

  .location-grid { grid-template-columns: 1fr; gap: 28px; }
  .location-map iframe { height: 300px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 700px) {
  /* Carousels are swipeable on touch — arrows are redundant and can overlap cards */
  .menu-nav,
  .reviews-nav { display: none; }
  .menu-swiper { margin: 0; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .brand-name { font-size: 2rem; }
  .brand-sub { font-size: .5rem; }
  .hero { padding: 110px 0 30px; }
  .display { font-size: 2.3rem; }
  .under { width: 220px; }
  .cats { grid-template-columns: repeat(5, 1fr); padding: 12px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .foot-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Disable hover effects on touch */
@media (hover: none) {
  .hero-img-wrap img,
  .dish:hover .dish-img img { transform: none; }
}

/* =========================================================
   Map consent placeholder (shown until cookies accepted)
   ========================================================= */
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 28px;
  text-align: center;
  background: var(--bg-warm);
  color: var(--ink-soft);
}
.map-consent svg { color: var(--olive); flex: none; }
.map-consent p {
  margin: 0;
  max-width: 340px;
  font-size: .9rem;
  line-height: 1.5;
}
.map-consent .btn { line-height: 1; }
.map-loaded .map-consent { display: none; }

/* =========================================================
   Cookie banner (RGPD)
   ========================================================= */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px -18px rgba(20, 18, 8, 0.6);
  animation: cookieUp .4s var(--ease) both;
}
@keyframes cookieUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 22px;
}
.cookie-text {
  margin: 0;
  font-size: .86rem;
  line-height: 1.5;
  color: rgba(243, 236, 223, 0.85);
}
.cookie-text a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-actions {
  display: flex;
  gap: 10px;
  flex: none;
}
.cookie-banner .btn-ghost {
  border-color: rgba(243, 236, 223, 0.4);
  color: var(--bg);
}
.cookie-banner .btn-ghost:hover {
  background: rgba(243, 236, 223, 0.12);
}
.cookie-banner .btn-dark {
  background: var(--bg);
  color: var(--ink);
}
.cookie-banner .btn-dark:hover {
  background: var(--gold-soft);
}
@media (max-width: 640px) {
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; text-align: center; padding: 18px; }
  .cookie-actions { justify-content: center; }
}
