/* ============================================================
   Pizzaria Sampa — tokens
   ============================================================ */
:root{
  --sampa-red: #a3271c;
  --sampa-red-dark: #7a1d15;
  --sampa-red-ink: #6e190f;
  --sampa-green: #1f4d36;
  --sampa-green-dark: #163825;

  --kraft: #c9a667;
  --kraft-light: #e4cfa0;
  --kraft-line: #a9834c;

  --ink: #1c1712;
  --ink-soft: #2a2319;
  --ink-line: rgba(244, 235, 216, 0.14);

  --paper: #f4ebd8;
  --paper-line: rgba(28, 23, 18, 0.14);
  --cream-ink: #241d15;
  --cream-muted: #6b5c46;

  --font-display: "Bevan", "Georgia", serif;
  --font-body: "Libre Franklin", "Segoe UI", sans-serif;
  --font-mono: "Space Mono", "Courier New", monospace;

  /* Radius scale — one base value, systematic multipliers */
  --radius: 0.625rem;
  --radius-sm: calc(var(--radius) * 0.6);
  --radius-md: calc(var(--radius) * 0.8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
  --radius-2xl: calc(var(--radius) * 1.8);

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(28,23,18,0.06), 0 1px 3px rgba(28,23,18,0.08);
  --shadow-md: 0 2px 4px rgba(28,23,18,0.06), 0 4px 12px rgba(28,23,18,0.10);
  --shadow-lg: 0 8px 18px rgba(28,23,18,0.12), 0 18px 40px rgba(28,23,18,0.16);

  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --container-w: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }

h1, h2, h3{
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

p{ margin: 0; }

.container{
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow{
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sampa-red);
  margin: 0 0 0.6rem;
}
.eyebrow-light{ color: var(--kraft-light); }

::selection{ background: var(--sampa-red); color: #fff; }

:focus-visible{
  outline: 2px solid var(--kraft-light);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(228, 207, 160, 0.22);
}

/* Real tap feedback on touch devices — desktop keeps hover/press states */
@media (pointer: coarse){
  a:active, button:active{ opacity: .6; }
}

.skip-link{
  position: absolute; left: -999px; top: 0;
  background: var(--paper); color: var(--cream-ink);
  padding: 0.75rem 1.25rem; z-index: 999; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus{ left: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease,
              box-shadow .2s ease, transform .12s ease;
  white-space: nowrap;
}
.btn:active{ transform: translateY(1px); }
.btn-primary{
  background: var(--sampa-red);
  color: #fdf6ea;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover{ background: var(--sampa-red-dark); box-shadow: var(--shadow-md); }

.btn-outline{
  background: transparent;
  border-color: var(--cream-ink);
  color: var(--cream-ink);
}
.btn-outline:hover{ background: var(--cream-ink); color: var(--paper); }

.btn-outline-light{
  background: transparent;
  border-color: rgba(244,235,216,0.55);
  color: var(--paper);
}
.btn-outline-light:hover{ background: rgba(244,235,216,0.12); border-color: var(--paper); }

.btn-sm{ padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-lg{ padding: 1.15rem 2.2rem; font-size: 1.05rem; }

/* ============================================================
   Stamp badge — solid circle behind the logo photo so it reads as
   a clean badge instead of blending into whatever's behind it
   ============================================================ */
.stamp-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(28, 23, 18, 0.08);
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  flex-shrink: 0;
}
.badge-header{ padding: 5px; }
.badge-hero{ padding: 10px; }
.badge-cta{ padding: 8px; }
.badge-footer{ padding: 5px; }

/* ============================================================
   Header
   ============================================================ */
.site-header{
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 3px solid transparent;
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.site-header.is-scrolled{
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--paper-line);
  box-shadow: 0 8px 24px rgba(0,0,0,0.14);
}

.header-inner{
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}
.brand{
  flex-shrink: 0;
  opacity: 0;
  transform: scale(0.85);
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.site-header.is-scrolled .brand,
.site-header.menu-open .brand{
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}
.brand-stamp{
  height: 44px; width: 44px;
  border-radius: 50%;
  mix-blend-mode: multiply;
}
.nav{
  position: relative;
  display: flex;
  gap: 1.75rem;
  margin-right: auto;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--paper);
  transition: color .3s ease;
}
.site-header.is-scrolled .nav{ color: var(--cream-ink); }

.nav a{ position: relative; padding: 0.3rem 0; }
.nav a::after{
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--sampa-red);
  transition: width .2s ease;
}
.nav a:hover::after{ width: 100%; }
.nav a.is-active{ color: var(--sampa-red); }

.nav-indicator{
  position: absolute;
  bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--sampa-red);
  pointer-events: none;
}

.nav-toggle{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span{
  width: 22px; height: 2px; background: var(--paper);
  transition: transform .25s ease, opacity .2s ease, background-color .3s ease;
}
.site-header.is-scrolled .nav-toggle span{ background: var(--cream-ink); }
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Scroll progress
   ============================================================ */
.scroll-progress{
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--sampa-red);
  z-index: 200;
}

/* ============================================================
   Hero
   ============================================================ */
.hero{
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-photo{ width: 100%; height: 100%; object-fit: cover; }
.hero-scrim{
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,15,10,0.55) 0%, rgba(20,15,10,0.45) 35%, rgba(20,15,10,0.92) 100%),
    linear-gradient(90deg, rgba(20,15,10,0.75) 0%, rgba(20,15,10,0.15) 60%);
}

.hero-inner{
  position: relative;
  z-index: 1;
  padding-top: 6rem;
  padding-bottom: 4.5rem;
  max-width: 780px;
}

.stamp-stage{ margin-bottom: 1.5rem; }
.badge-hero{ transform-origin: center; }
.stamp-hero{
  height: 96px; width: 96px;
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.hero-title{
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: var(--paper);
  margin-bottom: 1.1rem;
  max-width: 15ch;
}

.hero-sub{
  font-size: 1.1rem;
  color: rgba(244,235,216,0.86);
  max-width: 46ch;
  margin-bottom: 1.9rem;
}

.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.hero-history-link{
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--kraft-light);
  border-bottom: 1px solid rgba(228, 207, 160, 0.4);
  margin-bottom: 2.2rem;
  transition: color .2s ease, border-color .2s ease;
}
.hero-history-link:hover{ color: var(--paper); border-color: var(--paper); }

.hero-meta{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding: 0;
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--kraft-light);
}
.hero-meta strong{ color: var(--paper); }

/* Live open/closed pill */
.status-pill{
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.75rem 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(244, 235, 216, 0.12);
  border: 1px solid rgba(244, 235, 216, 0.22);
  color: var(--paper);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.status-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #c9713f;
  flex-shrink: 0;
}
.status-pill.is-open .status-dot{
  background: #4ade80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.65);
  animation: status-ping 2.2s ease-out infinite;
}
@keyframes status-ping{
  0%{ box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6); }
  70%, 100%{ box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
}
@media (prefers-reduced-motion: reduce){
  .status-pill.is-open .status-dot{ animation: none; }
}

.torn-divider{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%; height: 32px;
  fill: var(--paper);
  z-index: 2;
}

/* ============================================================
   Destaques — bento grid, tap a photo to reveal the details
   in a panel that slides over the image (never pushes layout)
   ============================================================ */
.destaques{
  background: var(--paper);
  color: var(--cream-ink);
  padding: 4.5rem 0 5rem;
}
.destaques h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }
.section-lead{ color: var(--cream-muted); font-size: 0.95rem; margin-bottom: 2rem; max-width: 52ch; }

.dish-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 195px;
  gap: 1rem;
}
.dish-tile[data-size="lg"]{ grid-column: span 2; grid-row: span 2; }
.dish-tile[data-size="wide"]{ grid-column: span 2; }
.dish-tile[data-size="tall"]{ grid-row: span 2; }

.dish-tile{
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--ink);
  box-shadow: var(--shadow-sm);
  isolation: isolate;
  transition: box-shadow .3s var(--ease-out), transform .3s var(--ease-out);
}
.dish-tile:hover{ box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dish-tile.is-expanded{ box-shadow: var(--shadow-lg); }

.dish-tile-trigger{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
}
.dish-tile-trigger img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.dish-tile:hover .dish-tile-trigger img{ transform: scale(1.05); }

.dish-tile-shade{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,15,10,0) 42%, rgba(20,15,10,0.30) 62%, rgba(20,15,10,0.88) 100%);
}

.dish-tile-bar{
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1rem 1rem 0.95rem;
  transition: opacity .25s ease, transform .35s var(--ease-out);
}
.dish-tile-heading{ display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.dish-tile-name{
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.22;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.dish-tile[data-size="lg"] .dish-tile-name{ font-size: 1.35rem; }
.dish-tile-price{
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--kraft-light);
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.dish-tile-toggle{
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.4);
  position: relative;
  transition: background-color .25s ease, border-color .25s ease, transform .35s var(--ease-out);
}
.dish-tile-toggle::before, .dish-tile-toggle::after{
  content: "";
  position: absolute; background: #fff;
  top: 50%; left: 50%; border-radius: 1px;
}
.dish-tile-toggle::before{ width: 13px; height: 2px; transform: translate(-50%,-50%); }
.dish-tile-toggle::after{ width: 2px; height: 13px; transform: translate(-50%,-50%); }
.dish-tile-trigger:hover .dish-tile-toggle{ background: var(--sampa-red); border-color: var(--sampa-red); }

/* Panel slides up from the bottom, over PART of the photo only —
   the dish stays visible above it, nothing goes fully dark. */
.dish-tile-panel{
  position: absolute;
  inset: auto 0 0 0;
  max-height: 80%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.7rem;
  padding: 1.1rem;
  background: linear-gradient(180deg, rgba(35,28,20,0) 0%, rgba(41,33,24,0.72) 26%, rgba(35,28,20,0.95) 58%);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transform: translateY(100%);
  transition: transform .42s var(--ease-out);
  overflow-y: auto;
}
.dish-tile.is-expanded .dish-tile-panel{ transform: translateY(0); }
.dish-tile.is-expanded .dish-tile-bar{ opacity: 0; transform: translateY(12px); pointer-events: none; }
.dish-tile.is-expanded .dish-tile-toggle{ transform: rotate(45deg); background: var(--sampa-red); border-color: var(--sampa-red); }

.dish-tile-desc{
  color: rgba(248, 242, 228, 0.94);
  font-size: 0.9rem;
  line-height: 1.5;
}
.dish-tile[data-size="lg"] .dish-tile-desc{ font-size: 1rem; }
.dish-tile-panel .btn{ align-self: flex-start; }

/* Close button floats over the open panel */
.dish-tile-close{
  position: absolute;
  top: 0.75rem; right: 0.75rem;
  z-index: 3;
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.10);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, background-color .2s ease;
}
.dish-tile.is-expanded .dish-tile-close{ opacity: 1; pointer-events: auto; }
@media (pointer: coarse){
  /* comfortable touch target */
  .dish-tile-close{ width: 44px; height: 44px; }
}
.dish-tile-close:hover{ background: var(--sampa-red); border-color: var(--sampa-red); }
.dish-tile-close::before, .dish-tile-close::after{
  content: "";
  position: absolute; top: 50%; left: 50%;
  width: 14px; height: 2px; background: #fff; border-radius: 1px;
}
.dish-tile-close::before{ transform: translate(-50%,-50%) rotate(45deg); }
.dish-tile-close::after{ transform: translate(-50%,-50%) rotate(-45deg); }

@media (max-width: 900px){
  .dish-grid{ grid-template-columns: repeat(2, 1fr); grid-auto-rows: 175px; }
  .dish-tile[data-size="lg"]{ grid-column: span 2; grid-row: span 2; }
  .dish-tile[data-size="wide"]{ grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 560px){
  .dish-grid{ grid-template-columns: 1fr; grid-auto-rows: 210px; gap: 0.85rem; }
  .dish-tile[data-size="lg"],
  .dish-tile[data-size="wide"]{ grid-column: span 1; grid-row: span 1; }
  .dish-tile[data-size="lg"] .dish-tile-name{ font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce){
  .dish-tile:hover{ transform: none; }
  .dish-tile:hover .dish-tile-trigger img{ transform: none; }
  .dish-tile-panel{ transition: none; }
}

.price{ font-family: var(--font-mono); font-weight: 700; color: var(--sampa-red); }
.order-link{
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.85rem;
  color: var(--sampa-green); padding: 0;
}
.order-link:hover{ text-decoration: underline; }

/* ============================================================
   História — editorial two-column with the client's own video
   ============================================================ */
.historia{
  background: var(--ink);
  padding: 5rem 0;
}
.historia-grid{
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.historia-media{
  margin: 0;
  position: relative;
}
.historia-media img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-2xl);
  border: 3px solid var(--kraft-line);
  box-shadow: var(--shadow-lg);
  background: var(--ink-soft);
}
.historia-media figcaption{
  margin-top: 0.9rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--kraft-light);
}

.historia-copy h2{
  color: var(--paper);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  margin-bottom: 1.2rem;
}
.historia-copy p{
  color: rgba(244, 235, 216, 0.78);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.1rem;
  max-width: 58ch;
}
.historia-lead{
  font-size: 1.1rem !important;
  color: var(--paper) !important;
}

.historia-quote{
  margin: 1.8rem 0;
  padding: 1.1rem 0 1.1rem 1.4rem;
  border-left: 3px solid var(--sampa-red);
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.45;
  color: var(--kraft-light);
}

.historia-actions{ display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }
.historia .btn-outline{ border-color: rgba(244,235,216,0.5); color: var(--paper); }
.historia .btn-outline:hover{ background: rgba(244,235,216,0.1); color: var(--paper); }

@media (max-width: 900px){
  .historia-grid{ grid-template-columns: 1fr; gap: 2.2rem; }
}

/* ============================================================
   Horários — a printed weekly schedule, ticket-style, Thursday
   marked as the rest day. Centered single card, deliberately a
   different rhythm from the two-column sections around it.
   ============================================================ */
.horarios{
  background: var(--paper);
  color: var(--cream-ink);
  padding: 4.5rem 0;
}
.horarios-inner{ display: flex; flex-direction: column; align-items: center; text-align: center; }
.horarios-head{ max-width: 46ch; margin-bottom: 2.4rem; }
.horarios h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }
.horarios .section-lead{ margin: 0 auto; }

.hours-ticket{
  position: relative;
  width: 100%;
  max-width: 480px;
  background: #fff;
  border: 1px solid var(--paper-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  padding: 2.2rem 1.8rem 1.6rem;
  text-align: left;
}
.hours-ticket-stamp{
  position: absolute;
  top: -14px;
  right: 1.6rem;
  transform: rotate(-6deg);
  background: var(--sampa-red);
  color: #fdf6ea;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.hours-list{ list-style: none; margin: 0; padding: 0; }
.hours-list li{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0;
  border-bottom: 1px dotted var(--paper-line);
}
.hours-list li:last-child{ border-bottom: 0; }

.hours-day{ font-weight: 700; font-size: 0.95rem; }
.hours-time{ font-family: var(--font-mono); font-size: 0.85rem; color: var(--cream-muted); }

.hours-list li.is-closed .hours-day{ color: var(--cream-muted); }
.hours-list li.is-closed .hours-time{ color: var(--sampa-red); font-weight: 700; }

/* today's row gets a soft highlight band, edge to edge */
.hours-list li.is-today{
  background: rgba(31, 77, 54, 0.06);
  margin: 0 -1.8rem;
  padding: 0.7rem 1.8rem;
  border-bottom-color: transparent;
}
.hours-list li.is-today .hours-day::after{
  content: "hoje";
  margin-left: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sampa-green);
  vertical-align: middle;
}
.hours-list li.is-today.is-closed{ background: rgba(163, 39, 28, 0.06); }
.hours-list li.is-today.is-closed .hours-day::after{ color: var(--sampa-red); }

.hours-ticket-foot{
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px dashed var(--paper-line);
  display: flex;
  justify-content: center;
}
/* the pill sits on a light background here, so flip its colors */
.horarios .status-pill{
  background: rgba(28, 23, 18, 0.06);
  border-color: var(--paper-line);
  color: var(--cream-ink);
}

@media (max-width: 520px){
  .hours-ticket{ padding: 2rem 1.3rem 1.3rem; }
  .hours-list li.is-today{ margin: 0 -1.3rem; padding: 0.7rem 1.3rem; }
}

/* ============================================================
   Cardápio
   ============================================================ */
.cardapio{ background: var(--ink); padding: 4.5rem 0; }
.cardapio h2{ color: var(--paper); font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 0.6rem; }
.section-sub{ color: var(--kraft-light); font-size: 0.95rem; margin-bottom: 2rem; }

.tabs{
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.2rem;
}
.tab-btn{
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  color: rgba(244,235,216,0.78);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tab-btn:hover{ border-color: var(--kraft); color: var(--paper); }
.tab-btn.is-active{
  background: var(--sampa-red);
  border-color: var(--sampa-red);
  color: #fdf6ea;
  box-shadow: 0 4px 14px rgba(163, 39, 28, 0.35);
}

.menu-list{ list-style: none; margin: 0; padding: 0; display: none; }
.menu-list.is-active{ display: block; }

.menu-item{
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.05rem 0.85rem;
  border-bottom: 1px solid var(--ink-line);
  border-radius: var(--radius-md);
  transition: background-color .2s ease;
}
.menu-item:hover{ background: rgba(244, 235, 216, 0.045); }
.menu-item:last-child{ border-bottom: 0; }

.menu-item-text{ flex: 1; min-width: 0; }
.menu-item-text h3{
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--paper);
  margin-bottom: 0.2rem;
}
.menu-item-text p{ font-size: 0.85rem; color: rgba(244,235,216,0.62); line-height: 1.45; }
.menu-item .price{ color: var(--kraft-light); flex-shrink: 0; }
.menu-item .order-link{
  color: var(--paper);
  flex-shrink: 0;
  font-size: 0.8rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--ink-line);
  background: rgba(244,235,216,0.05);
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.menu-item .order-link:hover{
  background: var(--sampa-red);
  border-color: var(--sampa-red);
  color: #fdf6ea;
  text-decoration: none;
}

/* ============================================================
   Avaliações
   ============================================================ */
.avaliacoes{ background: var(--paper); color: var(--cream-ink); padding: 4.5rem 0; }
.avaliacoes h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 2rem; }

.reviews-widget{ min-height: 200px; }

.avaliacoes-maps-link{
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--sampa-green);
  border-bottom: 1px solid currentColor;
}
.avaliacoes-maps-link:hover{ color: var(--sampa-red); }

/* ============================================================
   Localização
   ============================================================ */
.localizacao{ background: var(--ink); padding: 4.5rem 0; }
.localizacao-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.localizacao h2{ color: var(--paper); font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 1.4rem; }

.info-card{
  background: var(--ink-soft);
  border: 1px dashed var(--kraft-line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  margin-bottom: 1.6rem;
}
.localizacao address{ font-style: normal; color: rgba(244,235,216,0.85); margin-bottom: 1.1rem; line-height: 1.6; }

.hours-table{ border-collapse: collapse; font-family: var(--font-mono); font-size: 0.85rem; }
.hours-table th, .hours-table td{ text-align: left; padding: 0.3rem 1rem 0.3rem 0; color: var(--kraft-light); font-weight: 400; }
.hours-table th{ color: var(--paper); font-weight: 700; }

.localizacao-actions{ display: flex; flex-wrap: wrap; gap: 1rem; }
.localizacao .btn-outline{ border-color: rgba(244,235,216,0.5); color: var(--paper); }
.localizacao .btn-outline:hover{ background: rgba(244,235,216,0.1); }

.map-frame{
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--kraft-line);
  aspect-ratio: 4 / 3;
  background: var(--ink-soft);
}
.map-frame iframe{ width: 100%; height: 100%; border: 0; }

/* ============================================================
   CTA final
   ============================================================ */
.cta-final{
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--sampa-green) 0%, var(--sampa-green-dark) 72%);
  padding: 5rem 0;
  text-align: center;
}
.cta-final::before{
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(255,255,255,0.10), transparent 42%),
    radial-gradient(circle at 90% 88%, rgba(0,0,0,0.22), transparent 50%);
  pointer-events: none;
}
.cta-final-inner{ position: relative; display: flex; flex-direction: column; align-items: center; }

.cta-badge-wrap{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.cta-ring{
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px dashed rgba(253, 246, 234, 0.32);
  animation: cta-ring-spin 22s linear infinite;
}
@keyframes cta-ring-spin{ to{ transform: rotate(360deg); } }

.cta-stamp{ height: 76px; width: 76px; border-radius: 50%; mix-blend-mode: multiply; }
.cta-final h2{ color: #fdf6ea; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 0.7rem; }
.cta-final p{ color: rgba(253,246,234,0.8); margin-bottom: 1.8rem; }

@media (prefers-reduced-motion: reduce){
  .cta-ring{ animation: none; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer{ background: var(--ink-soft); }
.footer-inner{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 1.5rem;
}
.footer-brand{ display: flex; flex-direction: column; align-items: flex-start; gap: 0.8rem; }
.footer-stamp{ height: 46px; width: 46px; border-radius: 50%; mix-blend-mode: multiply; }
.footer-brand p{ color: rgba(244,235,216,0.7); font-size: 0.9rem; }
.footer-brand a{ font-weight: 700; color: var(--kraft-light); }
.footer-brand a:hover{ color: var(--paper); }
.footer-details .hours-table a{ color: var(--kraft-light); }
.footer-details .hours-table a:hover{ color: var(--paper); }

.footer-strip{
  border-top: 1px dashed var(--ink-line);
  padding: 1.2rem 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(244,235,216,0.5);
}
.footer-strip a{ color: rgba(244,235,216,0.75); }

/* ============================================================
   Floating WhatsApp button
   ============================================================ */
.whatsapp-float{
  position: fixed;
  right: 1.25rem;
  bottom: calc(1.25rem + env(safe-area-inset-bottom, 0px));
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.32);
  z-index: 150;
  transition: transform .2s ease, box-shadow .2s ease;
}
.whatsapp-float:hover{ transform: scale(1.08); box-shadow: 0 10px 26px rgba(0,0,0,0.38); }
.whatsapp-float svg{ width: 30px; height: 30px; fill: #fff; position: relative; z-index: 1; }
.whatsapp-float-ring{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25d366;
  animation: whatsapp-pulse 2.4s ease-out infinite;
}
@keyframes whatsapp-pulse{
  0%{ transform: scale(1); opacity: 0.55; }
  100%{ transform: scale(1.7); opacity: 0; }
}
@media (prefers-reduced-motion: reduce){
  .whatsapp-float-ring{ animation: none; display: none; }
}
@media (max-width: 520px){
  .whatsapp-float{ width: 52px; height: 52px; right: 1rem; bottom: calc(1rem + env(safe-area-inset-bottom, 0px)); }
  .whatsapp-float svg{ width: 26px; height: 26px; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px){
  .nav{ display: none; }
  .nav-toggle{ display: flex; margin-left: auto; }
  .header-cta{ display: none; }

  .site-header.menu-open{
    background: rgba(255, 255, 255, 0.98);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom-color: var(--paper-line);
  }
  .site-header.menu-open .header-inner{ flex-wrap: wrap; }
  .site-header.menu-open .nav{
    display: flex;
    flex-direction: column;
    width: 100%;
    order: 5;
    gap: 1rem;
    padding-top: 1rem;
    margin-top: 0.6rem;
    border-top: 1px dashed var(--paper-line);
    color: var(--cream-ink);
  }
  .site-header.menu-open .nav-indicator{ display: none; }
  .site-header.menu-open .nav-toggle span{ background: var(--cream-ink); }
  .site-header.menu-open .header-cta{
    display: inline-flex;
    order: 6;
    margin: 0.9rem 0 0.4rem;
  }

  .localizacao-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 520px){
  .hero{ min-height: 100vh; }
  .menu-item{ flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce){
  .stamp-hero, .reviews-widget, .map-frame, .cta-final-inner, .cta-stagger, [data-reveal]{ transform: none !important; }
}
