/* ==========================================================================
   Prime Espetos — Identidade Visual, Layout & Sistema de Componentes
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,500;0,600;0,700;1,500;1,600&family=Poppins:wght@400;500;600;700&family=Alex+Brush&display=swap');

:root {
  --bg: #100C09;
  --bg-alt: #17110C;
  --card: #1D160F;
  --card-2: #241B12;
  --cream: #F5EEE3;
  --cream-soft: #C9BBA6;
  --cream-faint: #9E917E;
  --ember: #E07A34;
  --ember-dark: #B85B21;
  --ember-tint: #3A2413;
  --ember-glow: rgba(224, 122, 52, 0.35);
  --brand-blue: #2E45C9;
  --brand-blue-light: #4C63E3;
  --brand-blue-tint: rgba(76, 99, 227, 0.14);
  --success: #22C55E;
  --line: rgba(245, 238, 227, 0.12);
  --line-soft: rgba(245, 238, 227, 0.07);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(0,0,0,.35), 0 20px 44px -20px rgba(0,0,0,.7);
  --shadow-glow: 0 0 30px rgba(224, 122, 52, 0.25);
  --maxw: 1180px;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --header-h: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  max-width: 100%;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; margin: 0; color: var(--cream); }
p { margin: 0; }
button { font: inherit; border: none; background: none; cursor: pointer; color: inherit; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
@media (max-width: 640px) { .wrap { padding: 0 20px; } }

em { font-style: italic; color: var(--ember); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ember);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); }
.eyebrow.center { justify-content: center; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn-primary {
  background: var(--ember);
  color: #1A0F06;
  box-shadow: 0 10px 26px -10px rgba(224, 122, 52, .65);
}
.btn-primary:hover {
  background: #EE8A44;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -10px rgba(224, 122, 52, .85);
}
.btn-ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  border-color: rgba(245, 238, 227, .45);
  background: rgba(245, 238, 227, .07);
  transform: translateY(-2px);
}
.btn-sm { padding: 9px 18px; font-size: 13px; }
.btn-instagram {
  border-color: rgba(255,255,255,.15);
  background: rgba(255,255,255,.04);
}
.btn-instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: transparent;
  color: #fff;
}

/* ---------- Preloader ---------- */
body.is-loading { overflow: hidden; }
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--brand-blue);
  display: flex; align-items: center; justify-content: center;
  transition: transform .8s cubic-bezier(.65,0,.35,1);
}
.preloader.is-hidden { transform: translateY(-100%); pointer-events: none; }
.preloader-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 24px; text-align: center; }
.preloader-logo {
  width: min(340px, 62vw); height: auto;
  opacity: 0; transform: scale(.9) translateY(10px);
  animation: preloader-logo-in .85s cubic-bezier(.2,.8,.2,1) forwards;
  animation-delay: .15s;
}
@keyframes preloader-logo-in { to { opacity: 1; transform: scale(1) translateY(0); } }

.preloader-progress {
  width: min(260px, 58vw); margin-top: 8px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.preloader-caption {
  margin-left: calc(44px + 12px); width: calc(100% - 44px - 12px); text-align: center;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255, 255, 255, .85);
}
.preloader-caption span {
  display: inline-block; opacity: 0;
  animation: preloader-letter-in .45s ease forwards;
  animation-delay: calc(.5s + var(--i, 0) * 30ms);
}
@keyframes preloader-letter-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

.preloader-progress-row {
  display: flex; align-items: center; gap: 12px; width: 100%;
  opacity: 0; animation: preloader-logo-in .5s ease forwards; animation-delay: 1.15s;
}
.preloader-percent {
  font-family: var(--serif); font-size: 17px; font-weight: 600; color: #fff;
  min-width: 2.6em; text-align: left; font-variant-numeric: tabular-nums;
}
.preloader-bar { flex: 1; height: 2px; background: rgba(255, 255, 255, .28); position: relative; overflow: hidden; border-radius: 2px; }
.preloader-bar-fill { position: absolute; inset: 0; width: 0%; background: #fff; transition: width .12s linear; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, backdrop-filter .3s ease, border-color .3s ease, box-shadow .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px;
}
.site-header.solid {
  background: rgba(16, 12, 9, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.brand-logo {
  height: 44px; width: auto; object-fit: contain;
  transition: transform .2s ease;
}
.brand-logo:hover { transform: scale(1.03); }

.nav-links {
  display: flex; align-items: center; gap: 28px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--cream-soft);
  position: relative; transition: color .2s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  color: var(--cream);
}
.nav-links a::after {
  content: ""; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--ember); transition: width .2s ease; border-radius: 2px;
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after {
  width: 100%;
}

.header-cta {
  display: flex; align-items: center; gap: 10px;
}
.nav-toggle {
  display: none; width: 40px; height: 40px; position: relative;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; width: 22px; height: 2px; background: var(--cream);
  border-radius: 2px; transition: transform .25s ease, top .25s ease, opacity .25s ease;
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    background: rgba(23, 17, 12, 0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 32px 24px; gap: 22px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0; pointer-events: none;
    transition: transform .35s ease, opacity .3s ease;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-links a { font-size: 17px; }
  .header-cta .btn-instagram { display: none; }
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; padding: calc(var(--header-h) + 40px) 0 60px;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 30% center;
  transform: scale(1.15); filter: brightness(0.42) contrast(1.05);
  z-index: 1;
}
.hero-ember-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: 2; pointer-events: none;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 3;
  background: radial-gradient(circle at center, rgba(16,12,9,0.3) 0%, rgba(16,12,9,0.85) 75%, var(--bg) 100%),
              linear-gradient(to bottom, transparent 65%, var(--bg) 100%);
  pointer-events: none;
}
.hero-wrap { position: relative; z-index: 4; width: 100%; }
.hero-content { max-width: 780px; }

.hero h1 {
  font-size: clamp(40px, 7vw, 76px);
  font-weight: 700; line-height: 1.05; margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}
.hero h1 .script {
  display: block; font-family: 'Alex Brush', cursive; font-weight: 400;
  font-size: clamp(32px, 5.5vw, 56px); color: var(--ember); line-height: 1;
  margin-bottom: -5px; transform: rotate(-2deg);
}
.hero h1 .name {
  background: linear-gradient(180deg, #FFFFFF 20%, #F5EEE3 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-lede {
  font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--cream-soft);
  max-width: 620px; margin-bottom: 34px; text-shadow: 0 2px 10px rgba(0,0,0,0.7);
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px;
}

/* Stats Bar */
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(29, 22, 15, 0.75); backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 18px 24px; gap: 16px; box-shadow: var(--shadow-card);
}
.hero-stat {
  display: flex; align-items: center; gap: 12px;
  border-right: 1px solid var(--line-soft);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-star { color: #F59E0B; font-size: 20px; }
.hero-stat-icon { color: var(--ember); width: 22px; height: 22px; display: flex; align-items: center; justify-content: center; }
.hero-stat-icon svg { width: 22px; height: 22px; }
.hero-stat div { display: flex; flex-direction: column; }
.hero-stat b { font-size: 15px; font-weight: 700; color: var(--cream); line-height: 1.2; }
.hero-stat span { font-size: 12px; color: var(--cream-soft); white-space: nowrap; }

.hero-stat b.is-open { color: #22C55E; }
.hero-stat b.is-closed { color: #EF4444; }

@media (max-width: 900px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: none; }
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; gap: 12px; padding: 16px; }
  .hero-stat { border-right: none; border-bottom: 1px solid var(--line-soft); padding-bottom: 8px; }
  .hero-stat:last-child { border-bottom: none; padding-bottom: 0; }
}

/* ---------- Sections Shared ---------- */
section { padding: 92px 0; position: relative; }
.alt-bg { background: var(--bg-alt); }
.section-head { margin-bottom: 44px; }
.section-head.center { text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.5vw, 48px); margin-top: 10px; }
.section-head p { color: var(--cream-soft); max-width: 580px; margin: 12px auto 0; }

/* ---------- Cardápio Completo ---------- */
#cardapio { padding-top: 70px; }

/* Search & Filter Bar */
.menu-toolbar {
  margin-bottom: 32px; display: flex; flex-direction: column; gap: 16px;
}
.menu-search-wrap {
  position: relative; max-width: 560px; margin: 0 auto; width: 100%;
}
.menu-search-input {
  width: 100%; background: var(--card); border: 1px solid var(--line);
  color: var(--cream); padding: 14px 20px 14px 48px; border-radius: 999px;
  font-size: 14.5px; outline: none; transition: border-color .2s ease, box-shadow .2s ease;
}
.menu-search-input:focus {
  border-color: var(--ember);
  box-shadow: 0 0 0 3px var(--ember-glow);
}
.menu-search-icon {
  position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  color: var(--cream-soft); width: 20px; height: 20px; pointer-events: none;
}
.menu-filter-tags {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px;
}
.filter-pill {
  padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: var(--card-2); color: var(--cream-soft); border: 1px solid var(--line-soft);
  cursor: pointer; transition: all .2s ease;
}
.filter-pill:hover, .filter-pill.is-active {
  background: var(--ember); color: #1A0F06; border-color: var(--ember); font-weight: 600;
}

/* Menu Tabs */
.menu-tabs {
  position: sticky; top: var(--header-h); z-index: 90;
  background: rgba(16, 12, 9, 0.94); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  margin-bottom: 40px; padding: 14px 0;
}
.menu-tabs-row {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  padding: 4px 10px;
}
.menu-tabs-row::-webkit-scrollbar { display: none; }

.menu-tabs-row a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 8px 18px; border-radius: var(--radius-md);
  color: var(--cream-soft); transition: all .2s ease; white-space: nowrap;
  flex-shrink: 0; min-width: 100px;
}
.menu-tab-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--ember); transition: all .2s ease;
}
.menu-tab-icon svg { width: 22px; height: 22px; }
.menu-tab-label { font-size: 13px; font-weight: 500; }

.menu-tabs-row a:hover .menu-tab-icon,
.menu-tabs-row a.is-active .menu-tab-icon {
  background: var(--ember); color: #1A0F06; border-color: var(--ember);
  box-shadow: 0 4px 16px rgba(224, 122, 52, .4);
}
.menu-tabs-row a.is-active { color: var(--cream); }
.menu-tabs-row a.is-active .menu-tab-label { font-weight: 600; }

@media (max-width: 768px) {
  .menu-tabs-row { justify-content: flex-start; }
}

/* Category Container */
.menu-category {
  display: none; scroll-margin-top: 220px;
}
.menu-category.is-active { display: block; }

.menu-cat-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--line-soft);
}
.menu-cat-head h3 { font-size: 28px; }
.menu-cat-note { font-size: 13.5px; color: var(--cream-soft); margin-left: 12px; }
.menu-cat-arrows { display: flex; gap: 8px; }
.menu-tabs-arrow {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--card-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); transition: all .2s ease;
}
.menu-tabs-arrow:hover:not(:disabled) {
  background: var(--ember); color: #1A0F06; border-color: var(--ember);
}
.menu-tabs-arrow:disabled { opacity: .3; cursor: not-allowed; }
.menu-tabs-arrow svg { width: 18px; height: 18px; }

/* Menu Grid Carousel (2 rows horizontal) */
.menu-grid {
  display: grid;
  grid-template-rows: repeat(2, auto);
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 320px);
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 12px;
}
.menu-grid::-webkit-scrollbar { display: none; }

/* Menu Card */
.menu-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
  scroll-snap-align: start;
}
.menu-card:hover {
  transform: translateY(-4px);
  border-color: rgba(224, 122, 52, 0.4);
  box-shadow: 0 16px 36px -10px rgba(0,0,0,0.8), 0 0 20px rgba(224, 122, 52, 0.15);
}

.menu-card-media {
  position: relative; height: 180px; overflow: hidden; background: #140E0A;
  cursor: pointer;
}
.menu-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.menu-card:hover .menu-card-media img { transform: scale(1.06); }

.menu-card-pending-tag {
  position: absolute; top: 12px; right: 12px;
  background: rgba(16, 12, 9, 0.85); backdrop-filter: blur(8px);
  color: var(--cream-soft); font-size: 11px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line);
}
.menu-card-featured-tag {
  position: absolute; top: 12px; left: 12px;
  background: var(--ember); color: #1A0F06;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  padding: 4px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(224, 122, 52, .5);
}

.menu-card-body {
  padding: 18px 20px; display: flex; flex-direction: column; flex: 1;
}
.menu-card-body h4 { font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
.menu-card-desc { font-size: 13px; color: var(--cream-soft); line-height: 1.4; margin-bottom: 16px; flex: 1; }

.menu-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line-soft);
}
.menu-price {
  font-family: var(--serif); font-size: 22px; font-weight: 700; color: var(--ember);
}
.menu-price-pending { font-size: 15px; color: var(--cream-soft); font-style: italic; }

.menu-card-cta {
  background: var(--card-2); color: var(--cream);
  border: 1px solid var(--line); padding: 8px 18px; border-radius: 999px;
  font-size: 13px; font-weight: 600;
  transition: all .2s ease;
}
.menu-card-cta:hover:not(:disabled) {
  background: var(--ember); color: #1A0F06; border-color: var(--ember);
  transform: scale(1.04);
}
.menu-card-cta:disabled { opacity: .4; cursor: not-allowed; }

@media (max-width: 640px) {
  .menu-grid {
    grid-template-rows: repeat(2, auto);
    grid-auto-columns: minmax(240px, 270px);
    gap: 14px;
  }
  .menu-card-media { height: 150px; }
}

/* ---------- Modal de Quantidade ---------- */
.qty-modal {
  position: fixed; inset: 0; z-index: 2000;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.qty-modal[hidden] { display: none; }
.qty-modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(8px);
}
.qty-modal-card {
  position: relative; z-index: 2; width: 100%; max-width: 420px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; box-shadow: 0 24px 60px rgba(0,0,0,0.9);
  text-align: center; animation: modal-in .25s ease forwards;
}
@keyframes modal-in { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.qty-modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--card-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--cream);
  transition: all .2s ease;
}
.qty-modal-close:hover { background: var(--ember); color: #1A0F06; }
.qty-modal-close svg { width: 16px; height: 16px; }

.qty-modal-media {
  width: 100%; height: 170px; border-radius: var(--radius-md);
  overflow: hidden; margin-bottom: 16px; background: var(--card-2);
}
.qty-modal-media img { width: 100%; height: 100%; object-fit: cover; }
.qty-modal-card h4 { font-size: 24px; margin-bottom: 4px; }
.qty-modal-price { font-size: 14px; color: var(--cream-soft); margin-bottom: 20px; }

.qty-stepper {
  display: inline-flex; align-items: center; gap: 18px;
  background: var(--card-2); border: 1px solid var(--line);
  border-radius: 999px; padding: 6px 14px; margin-bottom: 24px;
}
.qty-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--card); border: 1px solid var(--line);
  font-size: 18px; font-weight: 700; color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s ease;
}
.qty-btn:hover:not(:disabled) { background: var(--ember); color: #1A0F06; border-color: var(--ember); }
.qty-btn:disabled { opacity: .3; cursor: not-allowed; }
.qty-value { font-size: 18px; font-weight: 700; min-width: 24px; }

.qty-modal-notes {
  width: 100%; margin-bottom: 20px; text-align: left;
}
.qty-modal-notes label { font-size: 12.5px; color: var(--cream-soft); display: block; margin-bottom: 6px; }
.qty-modal-notes input {
  width: 100%; background: var(--card-2); border: 1px solid var(--line);
  color: var(--cream); padding: 10px 14px; border-radius: var(--radius-sm);
  font-size: 13.5px; outline: none;
}
.qty-modal-notes input:focus { border-color: var(--ember); }

.qty-modal-confirm { width: 100%; }

/* ---------- Cart FAB Button ---------- */
.cart-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 1000;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--ember); color: #1A0F06;
  box-shadow: 0 12px 30px rgba(224, 122, 52, 0.6);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, box-shadow .25s ease;
}
.cart-fab:hover {
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 16px 36px rgba(224, 122, 52, 0.85);
}
.cart-fab svg { width: 28px; height: 28px; }
.cart-fab-badge {
  position: absolute; top: -4px; right: -4px;
  background: #fff; color: #1A0F06; font-size: 12px; font-weight: 700;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--ember); box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}
.cart-fab-badge[hidden] { display: none; }

/* ---------- Mini-Cart Drawer (Novo Upgrade) ---------- */
.cart-drawer {
  position: fixed; inset: 0; z-index: 2500;
  pointer-events: none; visibility: hidden;
  transition: visibility .3s ease;
}
.cart-drawer.is-open { pointer-events: auto; visibility: visible; }
.cart-drawer-backdrop {
  position: absolute; inset: 0; background: rgba(0,0,0,0.65);
  backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s ease;
}
.cart-drawer.is-open .cart-drawer-backdrop { opacity: 1; }

.cart-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(440px, 100vw); background: var(--bg-alt);
  border-left: 1px solid var(--line); box-shadow: -10px 0 40px rgba(0,0,0,0.8);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.cart-drawer.is-open .cart-drawer-panel { transform: translateX(0); }

.cart-drawer-head {
  padding: 20px 24px; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-head h3 { font-size: 24px; }
.cart-drawer-close {
  width: 36px; height: 36px; border-radius: 50%; background: var(--card);
  border: 1px solid var(--line); display: flex; align-items: center; justify-content: center;
  color: var(--cream); transition: all .2s ease;
}
.cart-drawer-close:hover { background: var(--ember); color: #1A0F06; }
.cart-drawer-close svg { width: 18px; height: 18px; }

.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: 20px 24px;
}
.cart-drawer-empty {
  text-align: center; padding: 60px 0; color: var(--cream-soft);
}
.cart-drawer-empty svg { width: 48px; height: 48px; margin-bottom: 14px; opacity: .5; }

.cart-drawer-foot {
  padding: 20px 24px; border-top: 1px solid var(--line-soft);
  background: var(--card);
}
.cart-drawer-total {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 16px; margin-bottom: 16px;
}
.cart-drawer-total b { font-family: var(--serif); font-size: 26px; color: var(--ember); }
.cart-drawer-actions { display: flex; flex-direction: column; gap: 10px; }

/* ---------- Avaliações Section ---------- */
.reviews-row {
  display: flex; align-items: center; gap: 40px; position: relative;
  overflow: hidden;
}
.reviews-intro {
  flex: 0 0 320px; z-index: 2;
  background: var(--bg-alt); padding-right: 20px;
}
.reviews-intro h2 { font-size: 36px; margin: 8px 0 20px; }
.reviews-score {
  display: flex; align-items: center; gap: 16px;
  background: var(--card); border: 1px solid var(--line);
  padding: 14px 20px; border-radius: var(--radius-md);
}
.reviews-score b { font-family: var(--serif); font-size: 38px; color: #F59E0B; line-height: 1; }
.reviews-score-stars { color: #F59E0B; font-size: 18px; }
.reviews-score p { font-size: 12.5px; color: var(--cream-soft); }

.reviews-marquee {
  flex: 1; overflow: hidden; position: relative;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.reviews-track {
  display: flex; gap: 20px; width: max-content;
  animation: reviews-scroll 32s linear infinite;
}
.reviews-track:hover { animation-play-state: paused; }
@keyframes reviews-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.review-card {
  width: 320px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 22px; flex-shrink: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.review-head { display: flex; justify-content: space-between; align-items: center; }
.review-head b { font-size: 16px; color: var(--cream); }
.review-stars { color: #F59E0B; font-size: 14px; letter-spacing: 2px; }
.review-date { font-size: 11.5px; color: var(--cream-faint); }
.review-text { font-size: 13.5px; color: var(--cream-soft); line-height: 1.5; font-style: italic; }

@media (max-width: 900px) {
  .reviews-row { flex-direction: column; gap: 30px; }
  .reviews-intro { flex: auto; width: 100%; padding-right: 0; text-align: center; }
  .reviews-intro .reviews-score { justify-content: center; max-width: 320px; margin: 0 auto; }
}

/* ---------- Sobre Section ---------- */
.bio {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.bio-photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); border: 1px solid var(--line);
  max-height: 480px;
}
.bio-video {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.bio h2 { font-size: clamp(32px, 4vw, 44px); margin: 10px 0 20px; }
.bio-lede { font-size: 16px; color: var(--cream-soft); line-height: 1.7; margin-bottom: 24px; }
.bio-highlights {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px;
}
.bio-badge {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 14px 18px;
}
.bio-badge b { display: block; font-family: var(--serif); font-size: 24px; color: var(--ember); }
.bio-badge span { font-size: 12.5px; color: var(--cream-soft); }

@media (max-width: 840px) {
  .bio { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Visite-nos Section ---------- */
.visit-band {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-card);
}
.visit-info-panel { padding: 44px; display: flex; flex-direction: column; justify-content: center; }
.visit-info-panel h3 { font-size: 32px; margin: 10px 0 28px; }

.visit-detail {
  display: flex; gap: 16px; margin-bottom: 22px;
}
.visit-detail svg { width: 22px; height: 22px; color: var(--ember); flex-shrink: 0; margin-top: 2px; }
.visit-detail b { display: block; font-size: 15px; color: var(--cream); }
.visit-detail span, .visit-detail a { font-size: 13.5px; color: var(--cream-soft); display: block; }
.visit-detail a:hover { color: var(--ember); text-decoration: underline; }

.visit-map {
  position: relative; min-height: 380px; width: 100%;
}
.visit-map iframe {
  width: 100%; height: 100%; border: none;
  filter: invert(90%) hue-rotate(180deg) brightness(95%) contrast(90%);
}
.visit-map-pin {
  position: absolute; bottom: 24px; left: 24px; right: 24px;
  background: rgba(23, 17, 12, 0.94); backdrop-filter: blur(12px);
  border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 18px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.6); transition: transform .2s ease;
}
.visit-map-pin:hover { transform: translateY(-3px); border-color: var(--ember); }
.visit-map-pin img { width: 56px; height: 56px; border-radius: var(--radius-sm); object-fit: cover; }
.visit-map-pin b { font-size: 15px; color: var(--cream); display: block; }
.visit-map-pin span { font-size: 12px; color: var(--cream-soft); display: block; line-height: 1.3; }
.visit-map-pin em { font-size: 12px; color: var(--ember); display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-style: normal; font-weight: 600; }
.visit-map-pin em svg { width: 14px; height: 14px; }

@media (max-width: 860px) {
  .visit-band { grid-template-columns: 1fr; }
  .visit-info-panel { padding: 32px 24px; }
  .visit-map { min-height: 320px; }
}

/* ---------- CTA Final ---------- */
.cta-band {
  background: linear-gradient(135deg, #1F150D 0%, #2A1A0F 100%);
  border: 1px solid rgba(224, 122, 52, 0.25); border-radius: var(--radius-lg);
  padding: 60px 32px; text-align: center; box-shadow: var(--shadow-glow);
}
.cta-band h2 { font-size: clamp(32px, 5vw, 48px); margin-bottom: 12px; }
.cta-band p { font-size: 17px; color: var(--cream-soft); max-width: 500px; margin: 0 auto 32px; }

/* ---------- Rodapé ---------- */
footer {
  background: #0B0806; border-top: 1px solid var(--line-soft);
  padding: 64px 0 32px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.foot-brand h3, .foot-brand .brand {
  font-family: var(--serif); font-size: 26px; font-weight: 700; color: var(--cream); display: block; margin-bottom: 10px;
}
.foot-brand p { color: var(--cream-soft); font-size: 14px; max-width: 320px; }
.foot-col h4 { font-size: 18px; margin-bottom: 16px; color: var(--ember); }
.foot-col ul li { margin-bottom: 10px; }
.foot-col ul li a { color: var(--cream-soft); font-size: 14px; transition: color .2s ease; }
.foot-col ul li a:hover { color: var(--cream); }

.foot-bottom {
  padding-top: 24px; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--cream-faint); flex-wrap: wrap; gap: 12px;
}

@media (max-width: 768px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ==========================================================================
   PÁGINA DE PEDIDOS / CHECKOUT (pedidos.html)
   ========================================================================== */
#pedidos {
  padding-top: calc(var(--header-h) + 40px);
  min-height: calc(100vh - 200px);
}
.cart-empty {
  text-align: center; padding: 80px 0; color: var(--cream-soft);
}
.cart-empty svg { width: 64px; height: 64px; margin-bottom: 16px; opacity: .4; }
.cart-empty p { font-size: 18px; margin-bottom: 24px; }

.cart-filled {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; margin-top: 32px;
}

.cart-list { display: flex; flex-direction: column; gap: 16px; }
.cart-item {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 16px; display: flex; align-items: center; gap: 16px;
}
.cart-item-media {
  width: 72px; height: 72px; border-radius: var(--radius-sm); overflow: hidden;
  background: var(--card-2); flex-shrink: 0;
}
.cart-item-media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-info h5 { font-size: 16px; margin: 0 0 4px; font-weight: 600; color: var(--cream); }
.cart-item-unit { font-size: 13px; color: var(--cream-soft); display: block; }
.cart-item-notes { font-size: 12px; color: var(--ember); font-style: italic; margin-top: 4px; }

.cart-item-qty {
  display: flex; align-items: center; gap: 10px;
  background: var(--card-2); border: 1px solid var(--line-soft);
  border-radius: 999px; padding: 4px 10px;
}
.cart-item-qty .qty-btn { width: 26px; height: 26px; font-size: 14px; }
.cart-item-qty span { font-size: 14px; font-weight: 600; min-width: 18px; text-align: center; }
.cart-item-subtotal {
  font-family: var(--serif); font-size: 18px; font-weight: 700; color: var(--ember);
  min-width: 80px; text-align: right;
}
.cart-item-remove {
  color: var(--cream-faint); transition: color .2s ease; padding: 6px;
}
.cart-item-remove:hover { color: #EF4444; }
.cart-item-remove svg { width: 18px; height: 18px; }

/* Cart Summary & Checkout Form */
.cart-summary {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 28px; display: flex; flex-direction: column; gap: 24px; height: fit-content;
}
.cart-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.cart-total span { font-size: 16px; color: var(--cream-soft); }
.cart-total b { font-family: var(--serif); font-size: 32px; color: var(--ember); }

/* Delivery vs Pickup Switcher */
.order-mode-toggle {
  display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
  background: var(--card-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); padding: 4px;
}
.order-mode-btn {
  padding: 10px 14px; border-radius: var(--radius-sm); font-size: 13.5px; font-weight: 600;
  text-align: center; color: var(--cream-soft); transition: all .2s ease;
}
.order-mode-btn.is-active {
  background: var(--ember); color: #1A0F06; box-shadow: 0 4px 12px rgba(224,122,52,.4);
}

.checkout-fields { display: flex; flex-direction: column; gap: 14px; }
.checkout-field label { font-size: 12.5px; font-weight: 600; color: var(--cream-soft); display: block; margin-bottom: 6px; }
.checkout-input {
  width: 100%; background: var(--card-2); border: 1px solid var(--line);
  color: var(--cream); padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14px; outline: none; transition: border-color .2s ease;
}
.checkout-input:focus { border-color: var(--ember); }

.cart-payment-options {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 8px;
}
.cart-payment-opt {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--card-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 10px; cursor: pointer; font-size: 13px; font-weight: 500;
  transition: all .2s ease;
}
.cart-payment-opt input { display: none; }
.cart-payment-opt:has(input:checked) {
  border-color: var(--ember); background: var(--ember-tint); color: var(--ember); font-weight: 600;
}

.pix-box {
  background: rgba(46, 69, 201, 0.12); border: 1px dashed var(--brand-blue-light);
  border-radius: var(--radius-sm); padding: 14px; margin-top: 10px;
}
.pix-box-title { font-size: 12px; font-weight: 600; color: var(--brand-blue-light); margin-bottom: 6px; }
.pix-key-row { display: flex; gap: 8px; }
.pix-key-input {
  flex: 1; background: var(--card-2); border: 1px solid var(--line);
  color: var(--cream); padding: 8px 12px; border-radius: var(--radius-sm); font-size: 12px; font-family: monospace;
}
.btn-copy-pix { padding: 8px 14px; font-size: 12px; }

.cart-checkout-btn { width: 100%; padding: 16px; font-size: 16px; }

/* Status de Acompanhamento */
.order-status {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px; max-width: 680px; margin: 0 auto; text-align: center;
}
.order-status-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--line-soft);
}
.order-status-time { font-size: 14px; color: var(--cream-soft); }
.order-status-pill {
  background: #22C55E; color: #042F14; font-size: 12px; font-weight: 700;
  padding: 4px 12px; border-radius: 999px; text-transform: uppercase;
}

.order-status-steps {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 32px;
  position: relative;
}
.order-status-steps::before {
  content: ""; position: absolute; top: 22px; left: 12%; right: 12%; height: 2px;
  background: var(--line); z-index: 1;
}
.order-status-step {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  position: relative; z-index: 2;
}
.order-status-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--card-2); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; color: var(--cream-soft);
  transition: all .3s ease;
}
.order-status-icon svg { width: 22px; height: 22px; }
.order-status-label { font-size: 12.5px; font-weight: 500; color: var(--cream-soft); }

.order-status-step.is-active .order-status-icon {
  background: var(--ember); border-color: var(--ember); color: #1A0F06;
  box-shadow: 0 0 20px rgba(224, 122, 52, 0.6);
}
.order-status-step.is-active .order-status-label { color: var(--cream); font-weight: 600; }

.order-status-step.is-done .order-status-icon {
  background: #22C55E; border-color: #22C55E; color: #042F14;
}

.order-status-timer {
  background: var(--card-2); border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); padding: 16px; margin-bottom: 24px;
}
.order-status-timer b { font-size: 16px; color: var(--ember); display: block; }
.order-status-timer span { font-size: 13px; color: var(--cream-soft); }

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

/* ---------- Toast Notification System (Novo Upgrade) ---------- */
.toast-container {
  position: fixed; bottom: 24px; left: 24px; z-index: 3000;
  display: flex; flex-direction: column; gap: 10px; pointer-events: none;
}
.toast {
  background: rgba(29, 22, 15, 0.95); backdrop-filter: blur(12px);
  border: 1px solid var(--ember); border-radius: var(--radius-md);
  padding: 12px 18px; color: var(--cream); font-size: 13.5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.8), 0 0 15px rgba(224,122,52,0.3);
  display: flex; align-items: center; gap: 12px; pointer-events: auto;
  animation: toast-in .3s cubic-bezier(.2,.8,.2,1) forwards;
}
.toast.toast-out { animation: toast-out .3s forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes toast-out { from { opacity: 1; transform: translateY(0) scale(1); } to { opacity: 0; transform: translateY(10px) scale(.9); } }

/* ---------- Image Lightbox (Novo Upgrade) ---------- */
.lightbox-modal {
  position: fixed; inset: 0; z-index: 4000;
  background: rgba(0,0,0,0.88); backdrop-filter: blur(10px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.lightbox-modal[hidden] { display: none; }
.lightbox-content {
  position: relative; max-width: 800px; width: 100%; text-align: center;
  animation: modal-in .25s ease forwards;
}
.lightbox-content img {
  max-height: 75vh; width: auto; max-width: 100%; margin: 0 auto 16px;
  border-radius: var(--radius-md); box-shadow: 0 20px 50px rgba(0,0,0,0.9);
  border: 1px solid var(--line);
}
.lightbox-title { font-size: 24px; color: var(--cream); font-family: var(--serif); }
.lightbox-close {
  position: absolute; top: -40px; right: 0; color: #fff; font-size: 32px;
}

/* ---------- Scroll Reveal (.rv) ---------- */
.rv {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}
.rv.in { opacity: 1; transform: translateY(0); }
.rv-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.rv-stagger.in > * { opacity: 1; transform: translateY(0); }

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