﻿@font-face {
  font-family: "Xilosa";
  src: url("assets/xilosa.ttf") format("truetype");
  font-display: swap;
}

:root {
  --black: #050505;
  --panel: rgba(8, 8, 8, 0.72);
  --panel-soft: rgba(255, 255, 255, 0.055);
  --orange: #ff7618;
  --white: #ffffff;
  --cream: #fff7e8;
  --muted: #c7bdb2;
  --line: rgba(255, 255, 255, 0.13);
  --shadow: 0 18px 56px rgba(0, 0, 0, 0.42);
  --body-font: "Trebuchet MS", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.68)),
    url("assets/fundo-halftone.jpg") center top / cover,
    var(--black);
  color: var(--white);
  font-family: var(--body-font);
  min-height: 100vh;
  overflow-x: hidden;
}
body::before {
  background: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.54));
  content: "";
  inset: 0;
  opacity: 1;
  pointer-events: none;
  position: fixed;
  z-index: 0;
}
button, input, select, textarea { font: inherit; }
button { border: 0; }

.decor {
  opacity: 0.42;
  pointer-events: none;
  position: fixed;
  user-select: none;
  z-index: 1;
}
.decor-sun-top {
  left: -42px;
  top: -28px;
  width: clamp(96px, 18vw, 170px);
}
.decor-bird-left {
  left: 8vw;
  top: 132px;
  width: clamp(46px, 8vw, 78px);
}
.decor-bird-right {
  right: 7vw;
  top: 48vh;
  transform: rotate(12deg) scaleX(-1);
  width: clamp(44px, 7vw, 70px);
}
.decor-cactus {
  bottom: -34px;
  opacity: 0.7;
  transform-origin: bottom center;
  width: clamp(76px, 13vw, 145px);
}
.decor-cactus-left { left: -34px; }
.decor-woman {
  animation: womanFloat 7s ease-in-out infinite;
  border-radius: 28px 0 0 0;
  bottom: -18px;
  opacity: 0.72;
  right: -34px;
  transform-origin: bottom center;
  width: clamp(110px, 24vw, 220px);
  z-index: 1;
}

@keyframes womanFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-4px, -7px, 0) rotate(-1deg); }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
}

.page-shell {
  margin: 0 auto;
  max-width: 980px;
  padding: 10px 10px 88px;
  position: relative;
  z-index: 2;
}
.hero-card {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 10px;
  padding: 6px 0 12px;
  text-align: center;
}
.hero-frame { margin: 0 auto; max-width: 860px; }
.hero-frame {
  background: rgba(0, 0, 0, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}
.video-hero-frame {
  aspect-ratio: 21 / 9;
  min-height: 142px;
  position: relative;
}
.hero-bg-video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.video-hero-frame::before {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.1) 54%, rgba(255, 255, 255, 0.84));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}
.hero-logo-layer {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: absolute;
  z-index: 2;
}
.hero-logo-official {
  display: block;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.34));
  max-width: min(42%, 230px);
  width: 100%;
}
.hero-sound-btn {
  background: rgba(0, 0, 0, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  bottom: 10px;
  color: var(--white);
  cursor: pointer;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  padding: 8px 11px;
  position: absolute;
  right: 10px;
  text-transform: uppercase;
  z-index: 3;
}
.hero-sound-btn.is-active {
  background: var(--orange);
  color: #170700;
}

.sticky-tools {
  background: rgba(0, 0, 0, 0.56);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 9px;
  position: sticky;
  top: 10px;
  z-index: 20;
}
.sticky-tools > * { min-width: 0; }
.search-box { display: grid; gap: 6px; }
.search-box span {
  color: var(--orange);
  font-family: Xilosa, var(--body-font);
  font-size: 1rem;
  line-height: 1;
  text-transform: uppercase;
}
.search-box input {
  background: rgba(255, 247, 232, 0.96);
  border: 1px solid transparent;
  border-radius: 13px;
  color: #170800;
  font-family: var(--body-font);
  font-size: 0.86rem;
  font-weight: 700;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}
.search-box input:focus { border-color: var(--orange); }

.category-tabs-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: flex-start;
  min-width: 0;
  overflow: visible;
  padding-bottom: 0;
  scroll-padding-left: 2px;
  scrollbar-width: none;
}
.category-tab-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  flex: 1 1 auto;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  min-width: max-content;
  overflow: hidden;
  padding: 6px 8px;
  position: relative;
  text-transform: uppercase;
  transition: transform 0.2s cubic-bezier(.2,.8,.2,1), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.category-tab-btn.active {
  background: var(--orange);
  border-color: var(--orange);
  color: #160700;
}
.category-tab-btn:hover,
.category-tab-btn:focus-visible {
  transform: translateY(-1px);
}
.menu-board {
  display: grid;
  gap: 10px;
}
.category-title {
  color: var(--white);
  font-family: var(--body-font);
  font-size: clamp(1.24rem, 5vw, 1.9rem);
  font-weight: 900;
  grid-column: 1 / -1;
  letter-spacing: 0.04em;
  line-height: 1;
  margin: 14px 0 0;
  text-align: left;
  text-transform: uppercase;
}
.category-title::after {
  background: var(--orange);
  content: "";
  display: block;
  height: 3px;
  margin-top: 8px;
  width: 48px;
}
.menu-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 15px;
  cursor: pointer;
  display: grid;
  gap: 9px;
  padding: 12px;
  position: relative;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.menu-card:hover {
  background: rgba(0, 0, 0, 0.76);
  border-color: rgba(255, 118, 24, 0.55);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transform: translateY(-2px);
}
.menu-card small {
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.menu-card h3 {
  color: var(--orange);
  font-family: Xilosa, var(--body-font);
  font-size: clamp(1.32rem, 6vw, 1.8rem);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 0.92;
  margin: 0;
  text-transform: uppercase;
}
.menu-card p {
  color: var(--muted);
  font-family: var(--body-font);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.34;
  margin: 0;
  text-transform: none;
}
.menu-card-footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-top: 2px;
}
.price-stamp {
  background: var(--orange);
  border-radius: 10px;
  color: #120600;
  display: inline-flex;
  font-family: var(--body-font);
  font-size: 0.9rem;
  font-weight: 900;
  justify-content: center;
  min-width: 74px;
  padding: 5px 9px;
}
.price-stamp.white { background: var(--white); color: #000; }
.mini-add-btn {
  color: var(--cream);
  font-family: var(--body-font);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.floating-message { grid-column: 1 / -1; margin: 18px auto 0; max-width: 560px; width: 100%; }
.delivery-card {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--line);
  border-radius: 18px;
  display: grid;
  gap: 5px;
  padding: 18px;
  text-align: center;
}
.delivery-card .script { color: var(--orange); font-family: Xilosa, var(--body-font); font-size: 2rem; line-height: 0.9; }
.delivery-card strong { color: var(--white); font-size: clamp(1.55rem, 7vw, 2.55rem); line-height: 1; }
.delivery-card small { color: var(--muted); font-size: 0.82rem; }

.cart-btn-floating {
  align-items: center;
  background: rgba(255, 118, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  bottom: 14px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
  color: #160700;
  cursor: pointer;
  display: flex;
  gap: 7px;
  justify-content: center;
  left: auto;
  padding: 9px 13px;
  position: fixed;
  right: 14px;
  text-transform: uppercase;
  z-index: 40;
  transition: transform 0.22s cubic-bezier(.2,.8,.2,1), box-shadow 0.22s ease;
}
.cart-btn-floating:hover { transform: translateY(-2px); }
.cart-btn-floating span { font-size: 0.78rem; font-weight: 900; }
.cart-btn-floating strong { background: #000; border-radius: 999px; color: #fff; font-size: 0.72rem; min-width: 22px; padding: 3px 7px; }
.modal-overlay {
  align-items: end;
  background: rgba(0, 0, 0, 0);
  display: flex;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  transition: opacity 0.28s ease, background 0.28s ease;
  z-index: 60;
}
.modal-overlay.open {
  background: rgba(0, 0, 0, 0.76);
  opacity: 1;
  pointer-events: auto;
}
.modal-content-drawer {
  background: #080808;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  max-height: 92vh;
  overflow-y: auto;
  padding: 18px;
  transform: translateY(28px) scale(0.98);
  transition: transform 0.34s cubic-bezier(.2,.8,.2,1);
  width: 100%;
}
.modal-overlay.open .modal-content-drawer { transform: translateY(0) scale(1); }
.drawer-puller { background: rgba(255, 255, 255, 0.45); border-radius: 999px; cursor: pointer; display: block; height: 5px; margin: 0 auto 16px; width: 58px; }
.modal-header-info p { color: var(--orange); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em; margin: 0 0 6px; text-transform: uppercase; }
.modal-header-info h2 { color: var(--orange); font-family: Xilosa, var(--body-font); font-size: clamp(2.1rem, 12vw, 3.8rem); font-weight: 400; line-height: 0.9; margin: 0 0 12px; text-transform: uppercase; }
#modal-item-base-price { background: var(--orange); border-radius: 10px; color: #120600; display: inline-flex; font-size: 1.12rem; font-weight: 900; padding: 7px 12px; }
.modal-description { color: var(--muted); font-family: var(--body-font); font-size: 0.95rem; line-height: 1.5; }
.modal-section-title { color: var(--white); font-size: 1rem; margin: 22px 0 10px; text-transform: uppercase; }
.addition-item, .cart-item { align-items: center; background: var(--panel-soft); border: 1px solid var(--line); border-radius: 14px; display: flex; gap: 12px; justify-content: space-between; margin-bottom: 10px; padding: 12px; }
.addition-item label { display: grid; gap: 4px; }
.addition-item span, .cart-item small { color: var(--muted); font-family: var(--body-font); font-size: 0.86rem; font-weight: 600; }
.addition-item input { accent-color: var(--orange); height: 22px; width: 22px; }
.notes-textarea, .form-control { background: #111; border: 1px solid var(--line); border-radius: 13px; color: var(--white); font-family: var(--body-font); font-weight: 600; padding: 12px; width: 100%; }
.notes-textarea { min-height: 92px; resize: vertical; }
.modal-checkout-footer { background: #080808; bottom: 0; display: grid; gap: 12px; grid-template-columns: auto 1fr; padding-top: 14px; position: sticky; }
.quantity-controller { align-items: center; border: 1px solid var(--line); border-radius: 999px; display: flex; overflow: hidden; }
.qty-btn { background: var(--cream); color: #000; cursor: pointer; font-size: 1.1rem; height: 38px; width: 38px; }
.qty-value { min-width: 34px; text-align: center; }
.btn-add-cart-confirm, .btn-send-whatsapp-order { background: var(--orange); border-radius: 999px; color: #160700; cursor: pointer; font-size: 0.88rem; font-weight: 900; padding: 12px 15px; text-transform: uppercase; }
.btn-add-cart-confirm,
.btn-send-whatsapp-order,
.qty-btn {
  transition: transform 0.18s cubic-bezier(.2,.8,.2,1), filter 0.18s ease;
}
.btn-add-cart-confirm:hover,
.btn-send-whatsapp-order:hover,
.qty-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}
.cart-sidebar-drawer { background: #080808; border-left: 1px solid var(--line); bottom: 0; box-shadow: -20px 0 70px rgba(0,0,0,.5); color: var(--white); display: flex; flex-direction: column; max-width: 470px; position: fixed; right: 0; top: 0; transform: translateX(105%); transition: transform .34s cubic-bezier(.2,.8,.2,1); width: min(100%,470px); z-index: 70; }
.cart-sidebar-drawer.open { transform: translateX(0); }
.cart-header { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 18px; }
.cart-header h2 { font-size: 1.2rem; margin: 0; text-transform: uppercase; }
.btn-close-cart { background: var(--cream); border-radius: 999px; color: #000; cursor: pointer; font-size: 1.65rem; height: 38px; line-height: 1; width: 38px; }
.cart-items-scroll-area { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item { align-items: flex-start; }
.cart-item-info { display: grid; gap: 5px; }
.cart-item-info span { color: var(--orange); font-weight: 900; }
.remove-cart-item { background: var(--cream); border-radius: 999px; color: #000; cursor: pointer; font-size: 0.72rem; font-weight: 900; padding: 8px 10px; text-transform: uppercase; }
.cart-summary-wrapper { border-top: 1px solid var(--line); padding: 16px; }
.cart-subtotal-row { align-items: center; display: flex; font-size: 0.95rem; justify-content: space-between; margin-bottom: 12px; text-transform: uppercase; }
.cart-total-row { border-top: 1px dashed rgba(255,255,255,.28); margin-top: 12px; padding-top: 12px; }
#cart-total-value, #cart-subtotal-value { color: var(--orange); font-size: 1.15rem; }
.checkout-form { display: grid; gap: 12px; }
.form-group { display: grid; gap: 6px; }
.form-group label { color: var(--muted); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; }
.empty-cart, .empty-menu { border: 1px dashed rgba(255,255,255,.22); border-radius: 16px; color: var(--muted); grid-column: 1/-1; padding: 24px; text-align: center; }

@media (min-width: 760px) {
  .page-shell { padding: 22px 28px 108px; }
  .sticky-tools { align-items: end; grid-template-columns: minmax(260px, 0.65fr) 1fr; }
  .category-tabs-container { justify-content: flex-start; }
  .menu-board { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cart-btn-floating { min-width: 0; }
  .modal-overlay { align-items: center; justify-content: center; }
  .modal-content-drawer { border: 1px solid var(--line); border-radius: 24px; max-width: 620px; }
}

@media (min-width: 1080px) {
  .menu-board { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  body::before { background-size: auto, 28px 28px; }
  .decor { display: none; }
  .decor-woman {
    animation: womanFloat 7s ease-in-out infinite;
    display: block;
    opacity: 0.38;
    right: -46px;
    width: 112px;
  }
  .decor-bird-left,
  .decor-bird-right { display: none; }
  .decor-sun-top { opacity: 0.42; width: 110px; }
  .decor-cactus { opacity: 0.42; width: 76px; }
  .category-tabs-container { gap: 5px; }
  .category-tab-btn { font-size: 0.58rem; padding: 6px 7px; }
  .menu-card { background: rgba(8, 8, 8, 0.78); }
  .menu-card-footer { margin-top: 0; }
}

