/* ===================================
   GORDUCHOS LANCHES ITU
   Mobile-First | Animated | Dynamic
   =================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 15px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  color: #333;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
h1, h2, h3, h4 { font-family: 'Alexandria', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; font-family: inherit; -webkit-appearance: none; }

:root {
  --red: #C72725;
  --red-dark: #a82020;
  --red-light: #e04a3a;
  --yellow: #FFF50D;
  --yellow-soft: #ffe44d;
  --green-dark: #1e2d20;
  --green-mid: #2d3a2e;
  --beige: #8a7356;
  --brown: #5a3825;
  --white: #ffffff;
  --off-white: #faf9f6;
  --gray-light: #f2f2f2;
  --gray: #777;
  --dark: #1a1a1a;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow: 0 4px 20px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --nav-h: 60px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -20px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-30px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(30px, 0, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(0.5deg); }
  75% { transform: translateY(-3px) rotate(-0.5deg); }
}
@keyframes pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
  50% { transform: scale(1.06); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }
}
@keyframes glow {
  0%, 100% { box-shadow: 0 0 15px rgba(255,245,13,0.2); }
  50% { box-shadow: 0 0 30px rgba(255,245,13,0.5); }
}
@keyframes shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-5deg); }
  75% { transform: rotate(5deg); }
}
@keyframes bounceIn {
  0% { opacity: 0; transform: scale(0.3); }
  50% { transform: scale(1.05); }
  70% { transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}
@keyframes bgPan {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes slideUp {
  from { opacity: 0; transform: translate3d(0, 100%, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes shine {
  0% { left: -100%; }
  50%, 100% { left: 100%; }
}
@keyframes itemEnter {
  from { opacity: 0; transform: translate3d(0, 12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes slideInRight {
  from { transform: translate3d(100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}
@keyframes slideOutRight {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(100%, 0, 0); }
}

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: transform, opacity;
}
.reveal.visible { opacity: 1; transform: translate3d(0, 0, 0); }

.reveal-left {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: transform, opacity;
}
.reveal-left.visible { opacity: 1; transform: translate3d(0, 0, 0); }

.reveal-right {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  will-change: transform, opacity;
}
.reveal-right.visible { opacity: 1; transform: translate3d(0, 0, 0); }

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease-bounce);
  will-change: transform, opacity;
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Stagger children */
.stagger-children.visible > * {
  animation: fadeInUp 0.5s var(--ease) both;
}
.stagger-children.visible > *:nth-child(1) { animation-delay: 0s; }
.stagger-children.visible > *:nth-child(2) { animation-delay: 0.08s; }
.stagger-children.visible > *:nth-child(3) { animation-delay: 0.16s; }
.stagger-children.visible > *:nth-child(4) { animation-delay: 0.24s; }
.stagger-children.visible > *:nth-child(5) { animation-delay: 0.32s; }
.stagger-children.visible > *:nth-child(6) { animation-delay: 0.4s; }

/* ===== NAVBAR (mobile base) ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  transition: all 0.35s var(--ease);
}
.navbar.scrolled {
  background: rgba(199, 39, 37, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
  padding: 0.4rem 0.8rem;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  transition: all 0.3s var(--ease);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
}
.navbar.scrolled .nav-logo img { height: 36px; width: 36px; }

.nav-links {
  display: none;
  gap: 2rem;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: relative;
  padding: 0.3rem 0;
  transition: all 0.3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: all 0.3s var(--ease);
  border-radius: 1px;
  transform: translateX(-50%);
}

/* CTA Button */
.btn-cta {
  background: var(--yellow);
  color: var(--red-dark);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  min-height: 44px;
  transition: all 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}
.btn-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s;
}
.btn-cta:active { transform: scale(0.96); transition-duration: 0.1s; }
.btn-cta-red { background: var(--red); color: var(--white); }
.btn-cta-red:active { background: var(--red-dark); }
.btn-wpp {
  background: #25D366;
  color: var(--white);
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
  box-shadow: 0 2px 12px rgba(37,211,102,0.4);
}
.btn-wpp:active { background: #1da851; }

/* Hamburger (mobile base) */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  z-index: 110;
  transition: transform 0.3s var(--ease);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.35s var(--ease);
  transform-origin: center;
}
.hamburger.active { transform: rotate(90deg); }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Menu — slide from right */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100dvh;
  background: linear-gradient(160deg, var(--red) 0%, var(--red-dark) 100%);
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  transform: translate3d(100%, 0, 0);
  transition: transform 0.4s var(--ease);
  will-change: transform;
}
.mobile-menu.active { transform: translate3d(0, 0, 0); }
.mobile-menu-logo {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin-bottom: 0.8rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.mobile-menu a {
  color: var(--white);
  font-size: 1.3rem;
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
  transition: all 0.35s var(--ease);
  transform: translate3d(40px, 0, 0);
  opacity: 0;
}
.mobile-menu.active a { transform: translate3d(0, 0, 0); opacity: 1; }
.mobile-menu.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.active a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.active a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu.active a:nth-child(7) { transition-delay: 0.35s; }
.mobile-menu a:active { color: var(--yellow); transform: scale(1.05); }

/* ===== HERO (mobile base) ===== */
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1rem 3rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-spread.jpg') center/cover no-repeat;
  z-index: -2;
  animation: bgPan 30s ease infinite;
  background-size: 120%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(199,39,37,0.92) 0%, rgba(168,32,32,0.95) 100%);
  z-index: -1;
}
.hero::after {
  content: '';
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255,245,13,0.08) 0%, transparent 70%);
  border-radius: 50%;
  top: 10%;
  right: -15%;
  animation: float 8s ease-in-out infinite;
  z-index: -1;
}
.hero::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
  border-radius: 50%;
  bottom: 10%;
  left: -10%;
  animation: float 6s ease-in-out infinite reverse;
  z-index: -1;
}
.hero-logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin-bottom: 1.2rem;
  animation: bounceIn 0.8s var(--ease-bounce), float 5s ease-in-out 0.8s infinite;
  filter: drop-shadow(0 8px 30px rgba(0,0,0,0.4));
  object-fit: contain;
}
.hero h1 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  animation: fadeInUp 0.6s var(--ease) 0.3s both;
  text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}
.hero .tagline {
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s var(--ease) 0.45s both;
  text-shadow: 0 0 15px rgba(255,245,13,0.3);
}
.hero-btns {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.8rem;
  padding: 0 0.5rem;
  animation: fadeInUp 0.6s var(--ease) 0.6s both;
}
.hero-btns .btn-cta {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  font-size: 0.9rem;
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: fadeInUp 0.8s var(--ease) 1.2s both;
}
.scroll-hint span {
  display: block;
  width: 22px;
  height: 34px;
  border: 2px solid rgba(255,255,255,0.35);
  border-radius: 11px;
  position: relative;
  margin: 0 auto 0.4rem;
}
.scroll-hint span::after {
  content: '';
  width: 3px;
  height: 7px;
  background: var(--yellow);
  border-radius: 2px;
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  animation: slideUp 1.5s var(--ease) infinite;
}
.scroll-hint p {
  color: rgba(255,255,255,0.45);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== RODIZIO (mobile base) ===== */
.rodizio {
  padding: 3rem 1rem;
  background: linear-gradient(135deg, var(--yellow) 0%, var(--yellow-soft) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.rodizio::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 250px;
  height: 250px;
  background: rgba(199,39,37,0.06);
  border-radius: 50%;
  animation: float 10s ease-in-out infinite;
}
.rodizio::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 180px;
  height: 180px;
  background: rgba(199,39,37,0.04);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite reverse;
}
.rodizio-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.2rem;
  animation: glow 3s ease infinite;
}
.rodizio h2 {
  color: var(--red-dark);
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  line-height: 1.3;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.rodizio-price {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--red);
  font-family: 'Alexandria', sans-serif;
  margin: 0.3rem 0 0.8rem;
  line-height: 1;
  position: relative;
  display: inline-block;
}
.rodizio-price::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shine 4s ease-in-out infinite;
}
.rodizio-price small { font-size: 0.35em; vertical-align: super; }
.rodizio-price .currency { font-size: 0.4em; vertical-align: super; }
.rodizio-desc {
  color: #555;
  font-size: 0.9rem;
  max-width: 550px;
  margin: 0 auto 1.2rem;
  line-height: 1.7;
}
.rodizio-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  max-width: 700px;
  margin: 0 auto;
}
.rodizio-card {
  background: rgba(199,39,37,0.08);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--red-dark);
  font-weight: 600;
  border: 1px solid rgba(199,39,37,0.1);
  transition: all 0.2s var(--ease);
}
.rodizio-card:active {
  transform: scale(0.97);
  background: rgba(199,39,37,0.15);
  transition-duration: 0.1s;
}
.rodizio-card svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--red); }

/* ===== CATEGORY SHOWCASE (mobile base: 2 cols) ===== */
.cat-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}
.cat-card {
  position: relative;
  height: 160px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  cursor: pointer;
}
.cat-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.cat-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.05) 55%);
  transition: background 0.4s var(--ease);
}
.cat-card-content {
  position: relative;
  z-index: 2;
  padding: 1rem;
  color: var(--white);
  transition: transform 0.3s var(--ease);
}
.cat-card-content h3 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.cat-card-content p {
  font-size: 0.72rem;
  opacity: 0.85;
}
.cat-card:active img { transform: scale(1.06); transition-duration: 0.15s; }
.cat-card:active .cat-card-content { transform: translate3d(0, -4px, 0); }
.cat-card:active .cat-card-overlay {
  background: linear-gradient(0deg, rgba(199,39,37,0.8) 0%, rgba(0,0,0,0.1) 55%);
}

/* ===== CARDAPIO (mobile base) ===== */
.cardapio {
  padding: 3rem 0.8rem 6rem;
  background: var(--off-white);
}
.section-title {
  text-align: center;
  margin-bottom: 1.5rem;
}
.section-title h2 {
  font-size: 1.6rem;
  color: var(--dark);
  margin-bottom: 0.3rem;
}
.accent-line {
  width: 50px;
  height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin: 0.6rem auto 0;
  transition: width 0.4s var(--ease);
}
.section-title p {
  color: var(--gray);
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

/* Search */
.search-box {
  max-width: 480px;
  margin: 0 0.2rem 1rem;
  position: relative;
}
.search-box input {
  width: 100%;
  padding: 0.75rem 0.8rem 0.75rem 2.5rem;
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-family: 'Lexend', sans-serif;
  font-size: 0.88rem;
  min-height: 44px;
  transition: all 0.3s var(--ease);
  background: var(--white);
}
.search-box input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199,39,37,0.1);
}
.search-box .search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  color: #bbb;
  transition: color 0.3s;
}
.search-box:focus-within .search-icon { color: var(--red); }

/* Tabs Wrapper — sticky below navbar */
.tabs-wrapper {
  position: sticky;
  top: var(--nav-h);
  z-index: 50;
  background: var(--off-white);
  padding: 0 0 0.3rem;
  margin: 0 -0.8rem;
  transition: box-shadow 0.3s var(--ease);
}
.tabs-wrapper.stuck {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
/* Fade indicators for scroll */
.tabs-wrapper::before,
.tabs-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
}
.tabs-wrapper::before {
  left: 0;
  background: linear-gradient(90deg, var(--off-white) 0%, transparent 100%);
}
.tabs-wrapper::after {
  right: 0;
  background: linear-gradient(-90deg, var(--off-white) 0%, transparent 100%);
}
.tabs-wrapper.fade-left::before { opacity: 1; }
.tabs-wrapper.fade-right::after { opacity: 1; }

/* Tabs */
.tabs {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  padding: 0.5rem 0.8rem 0.4rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  max-width: 1200px;
  margin: 0 auto;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex-shrink: 0;
  padding: 0.55rem 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 2px solid #e0e0e0;
  border-radius: 50px;
  font-family: 'Lexend', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray);
  transition: all 0.25s var(--ease);
  white-space: nowrap;
  scroll-snap-align: center;
  -webkit-user-select: none;
  user-select: none;
}
.tab:active { transform: scale(0.93); transition-duration: 0.1s; }
.tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 3px 12px rgba(199,39,37,0.35);
}

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Category Title */
.cat-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0 0.4rem;
  margin-top: 0.3rem;
}
.cat-title-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.cat-title-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-title h3 { font-size: 1rem; color: var(--red); }
.cat-title-line {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--red) 0%, transparent 100%);
  border-radius: 1px;
}

.cat-nota {
  width: 100%;
  font-size: 0.82rem;
  color: var(--beige);
  font-style: italic;
  margin-top: -4px;
  padding-left: 48px;
}

/* Menu Item (mobile base) */
.item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.8rem;
  transition: all 0.25s var(--ease);
  border: 1px solid #f0f0f0;
  position: relative;
  overflow: hidden;
  min-height: 44px;
  contain: layout style;
  will-change: transform;
}
.item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
  border-radius: 0 2px 2px 0;
  opacity: 0.3;
  transition: opacity 0.25s var(--ease);
}
.item:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
  box-shadow: var(--shadow-sm);
}
.item:active::before { opacity: 1; }
.item-info { flex: 1; min-width: 0; }
.item-name {
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--dark);
  margin-bottom: 0.1rem;
  transition: color 0.25s;
}
.item:active .item-name { color: var(--red); }
.item-desc {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  cursor: pointer;
}
.item-desc.expanded {
  -webkit-line-clamp: unset;
  display: block;
}
.item-prices {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  flex-shrink: 0;
}
.price {
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.8rem;
  white-space: nowrap;
  transition: transform 0.2s var(--ease);
}
.price b {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  opacity: 0.8;
  margin-right: 3px;
}
.item:active .price { transform: scale(1.05); }
.price-main { background: var(--red); color: var(--white); }
.price-alt { background: var(--green-mid); color: var(--white); font-size: 0.75rem; }

/* Item enter animation (CSS class added by JS) */
.item-enter {
  animation: itemEnter 0.25s var(--ease) both;
}

/* Addon */
.item.addon {
  background: #faf8f4;
  padding: 0.6rem 0.8rem;
  border: 1px dashed #e0ddd5;
}
.item.addon::before { background: var(--beige); }
.item.addon .item-name { font-size: 0.82rem; color: var(--green-mid); }
.item.addon .price-main { background: var(--beige); font-size: 0.72rem; }

.sub-title {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  color: var(--beige);
  padding: 0.5rem 0 0.15rem;
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--gray);
}
.no-results h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 0.3rem; }

/* ===== SOBRE (mobile base) ===== */
.sobre {
  padding: 3rem 1rem;
  background: var(--white);
  overflow: hidden;
}
.sobre-inner { max-width: 1000px; margin: 0 auto; }
.sobre-content {
  text-align: center;
  margin-bottom: 2rem;
}
.sobre-content p {
  color: #555;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 0.6rem;
}

/* Features — horizontal layout on mobile */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}
.feature {
  background: var(--off-white);
  padding: 1.2rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: 1px solid #f0f0f0;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.feature::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.feature:active {
  transform: scale(0.98);
  transition-duration: 0.1s;
}
.feature:active::after { transform: scaleX(1); }
.feature-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-bounce);
}
.feature:active .feature-icon { transform: scale(1.1) rotate(3deg); }
.feature-icon svg { width: 22px; height: 22px; color: var(--white); }
.feature-text { flex: 1; min-width: 0; }
.feature h3, .feature-text h3 { font-size: 0.95rem; color: var(--dark); margin-bottom: 0.2rem; }
.feature p, .feature-text p { font-size: 0.8rem; color: var(--gray); line-height: 1.45; }

.sobre-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
  margin-top: 2rem;
}
.sobre-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 140px;
  position: relative;
}
.sobre-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.sobre-img:active img { transform: scale(1.05); }

/* ===== CONTATO (mobile base) ===== */
.contato {
  padding: 3rem 1rem;
  background: var(--green-dark);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.contato::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255,245,13,0.03) 0%, transparent 70%);
  border-radius: 50%;
}
.contato-inner { max-width: 1000px; margin: 0 auto; }
.contato h2 { font-size: 1.6rem; text-align: center; margin-bottom: 0.3rem; }
.contato > .accent-line,
.contato-inner > .accent-line { background: var(--yellow); margin-bottom: 1.5rem; }
.contato-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.contato-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contato-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  transition: transform 0.25s var(--ease);
}
.contato-item:active { transform: translate3d(4px, 0, 0); }
.contato-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,245,13,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.25s var(--ease);
}
.contato-item:active .contato-icon {
  background: var(--yellow);
  transform: rotate(3deg);
}
.contato-icon svg { width: 18px; height: 18px; color: var(--yellow); transition: color 0.25s; }
.contato-item:active .contato-icon svg { color: var(--red-dark); }
.contato-item h4 { font-size: 0.88rem; color: var(--yellow); margin-bottom: 0.15rem; }
.contato-item p { font-size: 0.85rem; color: rgba(255,255,255,0.75); line-height: 1.45; }
.contato-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-lg);
}
.contato-map iframe { width: 100%; height: 100%; border: 0; }

.socials { display: flex; gap: 0.6rem; margin-top: 0.6rem; }
.social {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s var(--ease-bounce);
}
.social:active {
  background: var(--yellow);
  transform: scale(1.15);
}
.social:active svg { color: var(--red-dark); }
.social svg { width: 18px; height: 18px; color: var(--white); transition: color 0.25s; }

/* ===== FOOTER (mobile base) ===== */
.footer {
  background: var(--dark);
  padding: 2rem 1rem 1.2rem;
  text-align: center;
}
.footer-logo {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  margin: 0 auto 0.6rem;
  opacity: 0.7;
  transition: all 0.3s var(--ease);
  object-fit: contain;
}
.footer-logo:active { opacity: 1; transform: scale(1.1); }
.footer-brand {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}
.footer-copy {
  color: rgba(255,255,255,0.3);
  font-size: 0.7rem;
  margin-bottom: 1.2rem;
}
.footer-dev {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1rem;
}
.footer-dev p {
  color: rgba(255,255,255,0.35);
  font-size: 0.7rem;
  margin-bottom: 0.15rem;
}
.footer-dev .heart {
  color: var(--red);
  font-size: 0.8rem;
  animation: pulse 2s infinite;
  display: inline-block;
}
.footer-dev a {
  color: rgba(255,255,255,0.55);
  font-weight: 600;
  transition: color 0.25s var(--ease);
}
.footer-dev a:active { color: var(--yellow); }
.footer-social { margin-top: 0.2rem; }
.footer-social a { color: rgba(255,255,255,0.4); font-size: 0.65rem; }

/* ===== WHATSAPP FLOAT (mobile base) ===== */
.wpp-float {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 90;
  animation: pulse 2.5s infinite;
  transition: all 0.35s var(--ease);
  box-shadow: 0 4px 20px rgba(199,39,37,0.4);
}
.wpp-float:active { transform: scale(1.15); }
.wpp-float svg { width: 24px; height: 24px; color: var(--white); stroke: var(--white); }

/* ===== BARRA FIXA PEDIDO ===== */
.pedido-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 95;
  transform: translate3d(0, 100%, 0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 1rem calc(0.5rem + env(safe-area-inset-bottom, 0px)) 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 60%, transparent);
  pointer-events: none;
}
.pedido-bar.visible { transform: translate3d(0, 0, 0); pointer-events: auto; }
.pedido-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 0.9rem 1.5rem;
  background: var(--red);
  color: var(--white);
  font-family: 'Alexandria', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 14px;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(199,39,37,0.5);
  transition: background 0.2s;
  text-decoration: none;
}
.pedido-bar a:active { background: var(--red-dark); }
.pedido-bar a svg { color: var(--white); flex-shrink: 0; }

/* Esconde barra no desktop */
@media (min-width: 1024px) {
  .pedido-bar { display: none; }
}

/* Esconde float quando barra visivel no mobile (controlado via JS: .wpp-hidden) */
@media (max-width: 1023px) {
  .wpp-float.wpp-hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(0.5);
  }
}

/* ===== SCROLL MARGIN ===== */
section[id] { scroll-margin-top: 120px; }

/* ====================================================
   RESPONSIVE: Scale UP from mobile
   ==================================================== */

/* --- 480px+ — slightly larger phones --- */
@media (min-width: 480px) {
  html { font-size: 15.5px; }
  .hero-logo { width: 140px; height: 140px; }
  .hero h1 { font-size: 1.9rem; }
  .hero .tagline { font-size: 0.85rem; letter-spacing: 2.5px; }
  .search-box { margin: 0 auto 1.2rem; }
}

/* --- 640px+ — large phones / small tablets --- */
@media (min-width: 640px) {
  html { font-size: 16px; }
  .cat-showcase { grid-template-columns: repeat(2, 1fr); }
  .cat-card { height: 200px; }
  .cat-card-content h3 { font-size: 1.3rem; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .sobre-gallery { grid-template-columns: repeat(3, 1fr); }
  .sobre-img { height: 180px; }
  .hero-btns { flex-direction: row; width: auto; padding: 0; }
  .hero-btns .btn-cta { width: auto; }
  .rodizio-cards { gap: 0.7rem; }
  .rodizio-card { padding: 0.7rem 1rem; font-size: 0.85rem; }
  .contato-map { height: 280px; }
  .item-prices { flex-direction: column; align-items: flex-end; gap: 0.25rem; }
}

/* --- 768px+ — tablets --- */
@media (min-width: 768px) {
  .hero { padding: 6rem 2rem 4rem; }
  .hero h1 { font-size: 2.6rem; }
  .hero-logo { width: 200px; height: 200px; }
  .hero .tagline { font-size: 1rem; letter-spacing: 4px; margin-bottom: 2rem; }
  .hero-btns .btn-cta { font-size: 0.95rem; padding: 0.85rem 2rem; }

  .rodizio { padding: 4rem 1.5rem; }
  .rodizio h2 { font-size: 1.8rem; }
  .rodizio-price { font-size: 4.5rem; }
  .rodizio-desc { font-size: 1rem; }

  .cat-showcase { grid-template-columns: repeat(3, 1fr); }
  .cat-card { height: 260px; }
  .cat-card-content { padding: 1.3rem; }
  .cat-card-content h3 { font-size: 1.4rem; }
  .cat-card-content p { font-size: 0.85rem; }

  .cardapio { padding: 4rem 1.5rem; }
  .section-title h2 { font-size: 2rem; }
  .section-title { margin-bottom: 2rem; }
  .accent-line { width: 60px; height: 4px; }
  .tabs { gap: 0.4rem; padding: 0.6rem 1rem 0.5rem; }
  .tab { padding: 0.55rem 1.1rem; font-size: 0.8rem; }
  .tabs-wrapper { margin: 0 -1.5rem; }

  .item { padding: 1rem 1.2rem; gap: 1rem; }
  .item-name { font-size: 0.95rem; }
  .item-desc { font-size: 0.8rem; }
  .price { font-size: 0.8rem; padding: 0.2rem 0.65rem; }
  .cat-title h3 { font-size: 1.2rem; }
  .cat-title-icon { width: 40px; height: 40px; border-radius: 10px; }

  .contato-grid { grid-template-columns: 1fr 1fr; }
  .contato-map { height: 100%; min-height: 300px; }
  .contato { padding: 4rem 1.5rem; }
  .contato h2 { font-size: 2rem; }

  .sobre { padding: 4rem 1.5rem; }
  .sobre-content p { font-size: 1rem; }
  .features { grid-template-columns: repeat(3, 1fr); }
  /* Features go back to vertical (centered) layout at tablet+ */
  .feature {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .feature-icon { width: 52px; height: 52px; margin-bottom: 0.5rem; }
  .feature-icon svg { width: 24px; height: 24px; }
  .sobre-img { height: 200px; }

  .wpp-float { width: 56px; height: 56px; bottom: 1.5rem; right: 1.5rem; }
  .wpp-float svg { width: 30px; height: 30px; }

  .footer { padding: 2.5rem 1.5rem 1.5rem; }
  .footer-logo { height: 44px; width: 44px; }
}

/* --- 1024px+ — desktop --- */
@media (min-width: 1024px) {
  .hamburger { display: none; }
  .nav-links { display: flex; }
  .navbar { padding: 0.8rem 1.5rem; }
  .navbar.scrolled { padding: 0.5rem 1.5rem; }
  .nav-logo img { height: 48px; width: 48px; }

  .hero { padding: 0 2rem; min-height: 100dvh; }
  .hero h1 { font-size: 3.2rem; }
  .hero-logo { width: 240px; height: 240px; }
  .hero .tagline { font-size: 1.1rem; letter-spacing: 5px; }

  .rodizio { padding: 5rem 2rem; }
  .rodizio h2 { font-size: 2rem; }
  .rodizio-price { font-size: 5rem; }

  .cat-card { height: 320px; }
  .cat-card-content { padding: 1.5rem; }
  .cat-card-content h3 { font-size: 1.5rem; }

  .menu-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }

  .section-title h2 { font-size: 2.4rem; }

  .tabs-wrapper { margin: 0 -1.5rem; }

  .feature { padding: 2rem 1.5rem; }
  .feature-icon { width: 56px; height: 56px; border-radius: 16px; }
  .feature-icon svg { width: 26px; height: 26px; }

  .sobre-img { height: 220px; }

  section[id] { scroll-margin-top: 80px; }
}

/* --- 1280px+ — wide desktop --- */
@media (min-width: 1280px) {
  .menu-grid { grid-template-columns: repeat(4, 1fr); }
  .hero h1 { font-size: 3.5rem; }
  .hero-logo { width: 280px; height: 280px; }
}

/* ===== DESKTOP HOVER EFFECTS ===== */
@media (hover: hover) {
  .nav-links a:hover { color: var(--yellow); transform: translateY(-1px); }
  .nav-links a:hover::after { width: 100%; }
  .nav-logo:hover img { animation: shake 0.5s var(--ease); }

  .btn-cta:hover::before { left: 100%; }
  .btn-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,0.15); }
  .btn-cta-red:hover { background: var(--red-dark); }
  .btn-wpp:hover { background: #1da851; }

  .item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: transparent;
  }
  .item:hover::before { opacity: 1; }
  .item:hover .item-name { color: var(--red); }
  .item:hover .price { transform: scale(1.05); }

  .tab:hover { border-color: var(--red); color: var(--red); transform: translateY(-2px); }

  .cat-card:hover img { transform: scale(1.1); }
  .cat-card:hover .cat-card-overlay {
    background: linear-gradient(0deg, rgba(199,39,37,0.85) 0%, rgba(0,0,0,0.1) 55%);
  }
  .cat-card:hover .cat-card-content { transform: translate3d(0, -6px, 0); }
  .cat-card:hover .cat-card-content p { opacity: 1; }

  .feature:hover {
    box-shadow: var(--shadow);
    transform: translateY(-5px);
  }
  .feature:hover::after { transform: scaleX(1); }
  .feature:hover .feature-icon { transform: scale(1.12) rotate(5deg); }

  .rodizio-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    background: rgba(199,39,37,0.12);
  }

  .sobre-img:hover img { transform: scale(1.08); }

  .contato-item:hover { transform: translate3d(4px, 0, 0); }
  .contato-item:hover .contato-icon { background: var(--yellow); transform: rotate(5deg); }
  .contato-item:hover .contato-icon svg { color: var(--red-dark); }
  .contato-map:hover { transform: scale(1.01); }

  .social:hover { background: var(--yellow); transform: translateY(-3px) scale(1.1); }
  .social:hover svg { color: var(--red-dark); }

  .footer-logo:hover { opacity: 1; transform: scale(1.1); }
  .footer-dev a:hover { color: var(--yellow); }

  .wpp-float:hover { transform: scale(1.12); }

  .mobile-menu a:hover { color: var(--yellow); transform: translate3d(8px, 0, 0) !important; }

  .section-title:hover .accent-line { width: 90px; }
}

/* ===== ACCESSIBILITY: focus indicators ===== */
:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}
.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;
}

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

/* ===== SAFE AREA FOR NOTCHED PHONES ===== */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer { padding-bottom: calc(1.2rem + env(safe-area-inset-bottom)); }
  .wpp-float { bottom: calc(1rem + env(safe-area-inset-bottom)); }
  .mobile-menu { padding-bottom: env(safe-area-inset-bottom); }
}
