:root {
  --vermelho: #e63946;
  --vermelho-escuro: #c1121f;
  --laranja: #f4a261;
  --texto: #f1faee;
  --fundo-escuro: #121212;
  --fundo-cinza: #1e1e1e;
  --sombra: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif !important;
  background: var(--fundo-escuro) !important;
  color: var(--texto) !important;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 70px;
}

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

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(18, 18, 18, 0.9);
  backdrop-filter: blur(5px);
  padding: 1rem 5%;
  transition: all 0.3s ease;
  border-bottom: 1px solid var(--vermelho);
}

.header.scrolled {
  padding: 0.5rem 5%;
  background: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  height: 50px;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: var(--texto);
  text-shadow: var(--sombra);
}

.logo-sub {
  font-size: 0.9rem;
  letter-spacing: 2px;
  color: var(--laranja);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-link {
  position: relative;
  padding: 0.5rem 0;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--laranja);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--laranja);
  transition: width 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-mobile {
  display: none;
  background: none;
  border: none;
  color: var(--texto);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8));
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--fundo-escuro);
}

#bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-text {
  margin-bottom: 2rem;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.5rem, 8vw, 5rem);
  margin-bottom: 1rem;
  line-height: 1.1;
  color: var(--texto);
  text-shadow: 0 0 10px rgba(230, 57, 70, 0.5);
}

.title-line {
  display: block;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--laranja);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--laranja);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.hero-cta {
  margin-top: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: var(--vermelho);
  color: var(--texto);
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--vermelho);
}

.cta-button:hover {
  transform: translateY(-3px);
  background: transparent;
  color: var(--texto);
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.5);
}

/* CARDÁPIO SECTION */
.cardapio-section {
  position: relative;
  overflow: hidden;
  background: var(--fundo-escuro);
  padding: 6rem 0;
}

.cardapio-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--laranja), transparent);
  opacity: 0.3;
}

.floating-icons {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.icon-food {
  position: absolute;
  color: rgba(244, 162, 97, 0.15);
  font-size: 1.8rem;
  animation: float 18s infinite linear;
  filter: drop-shadow(0 0 5px rgba(244, 162, 97, 0.3));
  opacity: 0;
}

.icon-food:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  font-size: 2rem;
}

.icon-food:nth-child(2) {
  top: 65%;
  left: 80%;
  animation-delay: 3s;
  font-size: 1.5rem;
}

.icon-food:nth-child(3) {
  top: 80%;
  left: 30%;
  animation-delay: 6s;
  font-size: 1.7rem;
}

.icon-food:nth-child(4) {
  top: 40%;
  left: 20%;
  animation-delay: 2s;
  font-size: 1.9rem;
}

.icon-food:nth-child(5) {
  top: 70%;
  left: 65%;
  animation-delay: 4s;
  font-size: 1.6rem;
}

@keyframes float {
  0% { 
    transform: translateY(100vh) rotate(0deg) scale(0.8); 
    opacity: 0; 
  }
  10% { 
    opacity: 0.3; 
  }
  50% { 
    transform: translateY(50vh) rotate(180deg) scale(1.1); 
    opacity: 0.5; 
  }
  100% { 
    transform: translateY(-100px) rotate(360deg) scale(0.9); 
    opacity: 0; 
  }
}

/* SECTIONS COMMON STYLES */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.section-header.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--laranja);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--vermelho);
}

.title-decoration {
  color: var(--vermelho);
}

.section-subtitle {
  font-size: 1.1rem;
  opacity: 0.8;
}

/* CARDÁPIO GRID */
.cardapio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card-categoria {
  background: var(--vermelho);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s;
  border: 2px solid var(--vermelho-escuro);
  color: var(--texto);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.card-categoria.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.card-categoria:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.5);
  border-color: var(--laranja);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.1);
}

.card-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--texto);
  font-size: 1.2rem;
}

.card-title {
  font-size: 1.5rem;
  flex-grow: 1;
  margin-left: 1rem;
}

.card-toggle {
  background: none;
  border: none;
  color: var(--texto);
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.3s;
  padding: 0.5rem;
}

.card-toggle[aria-expanded="true"] {
  transform: rotate(180deg);
}

.card-content {
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 0 0 8px 8px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

.card-content.expanded {
  height: auto;
  opacity: 1;
}

/* ESTILOS MELHORADOS PARA ITENS DO CARDÁPIO */
.item-list {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.item-card {
  display: flex;
  flex-direction: column;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(230, 57, 70, 0.2);
  border-color: var(--laranja);
}

.item-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 0;
  border-bottom: 3px solid var(--vermelho);
  transition: opacity 0.3s ease;
}

.item-image[data-src] {
  opacity: 0;
}

.item-image:not([data-src]) {
  opacity: 1;
}

.item-info {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.item-name {
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--laranja);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
}

.item-name::before {
  content: '★';
  margin-right: 0.6rem;
  color: var(--laranja);
}

.item-desc {
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--texto);
  line-height: 1.5;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: rgba(230, 57, 70, 0.1);
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
}

.item-price {
  font-weight: 700;
  color: var(--texto);
  font-size: 1.1rem;
}

.item-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.item-actions button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--vermelho-escuro);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  font-size: 0.9rem;
}

.item-actions button:hover {
  background: var(--laranja);
  transform: scale(1.1);
}

.item-quantity {
  min-width: 24px;
  text-align: center;
  font-size: 1rem;
}

/* CONTATO SECTION */
.contato-section {
  background: var(--fundo-cinza);
  padding: 6rem 0;
}

.contato-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contato-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  background: var(--fundo-escuro);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.contato-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.contato-card:hover {
  transform: translateY(-5px);
}

.whatsapp {
  border: 2px solid #25d366;
}

.telefone {
  border: 2px solid #4287f5;
}

.instagram {
  border: 2px solid #E1306C;
}

.whatsapp:hover {
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.3);
}

.telefone:hover {
  box-shadow: 0 10px 20px rgba(66, 135, 245, 0.3);
}

.instagram:hover {
  box-shadow: 0 10px 20px rgba(225, 48, 108, 0.3);
}

.contato-card .card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: transparent;
}

.whatsapp .card-icon {
  color: #25d366;
}

.telefone .card-icon {
  color: #4287f5;
}

.instagram .card-icon {
  color: #E1306C;
}

.contato-card .card-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  margin-left: 0;
  text-align: center;
}

.card-desc {
  opacity: 0.8;
  font-size: 0.9rem;
  text-align: center;
}

.card-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}

.contato-card:hover .card-glow {
  opacity: 1;
}

/* FOOTER */
.footer {
  background: rgba(0, 0, 0, 0.5);
  padding: 3rem 0 1rem;
  border-top: 1px solid var(--vermelho);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: 'Orbitron', sans-serif;
  color: var(--laranja);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.footer-text {
  margin-bottom: 1rem;
  opacity: 0.8;
}

.footer-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  opacity: 0.8;
  font-size: 0.9rem;
}

.franquias {
  margin: 1.5rem 0;
}

.franquias h4 {
  margin-bottom: 0.5rem;
  color: var(--laranja);
}

.franquias p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.social-link:hover {
  background: var(--vermelho);
  color: var(--texto);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}

.dev-credits {
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* CARRINHO DE COMPRAS */
.carrinho-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
}

.carrinho-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--vermelho);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(230, 57, 70, 0.5);
  position: relative;
  transition: all 0.3s;
}

.carrinho-toggle:hover {
  transform: scale(1.1);
  background: var(--vermelho-escuro);
}

.carrinho-quantidade {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--laranja);
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: bold;
}

.carrinho-painel {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 350px;
  max-height: 500px;
  background: var(--fundo-escuro);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--vermelho);
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.carrinho-container.active .carrinho-painel {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.carrinho-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.carrinho-header h3 {
  margin: 0;
  color: var(--laranja);
}

.fechar-carrinho {
  background: none;
  border: none;
  color: var(--texto);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.carrinho-itens {
  max-height: 300px;
  overflow-y: auto;
  padding: 1rem;
}

.carrinho-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.carrinho-item:last-child {
  border-bottom: none;
}

.carrinho-item-info {
  flex-grow: 1;
}

.carrinho-item-nome {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.carrinho-item-preco {
  font-size: 0.9rem;
  opacity: 0.8;
}

.carrinho-item-quantidade {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 1rem;
}

.carrinho-item-quantidade button {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--fundo-cinza);
  border: none;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.carrinho-item-remover {
  color: var(--vermelho);
  background: none;
  border: none;
  font-size: 1rem;
  padding: 0.5rem;
}

.carrinho-total {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: bold;
  font-size: 1.1rem;
}

.carrinho-acoes {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.carrinho-acoes button {
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.limpar-carrinho {
  background: var(--fundo-cinza);
  border: 1px solid var(--vermelho);
  color: var(--texto);
}

.limpar-carrinho:hover {
  background: rgba(230, 57, 70, 0.2);
}

.finalizar-pedido {
  background: var(--laranja);
  border: 1px solid var(--laranja);
  color: var(--fundo-escuro);
}

.finalizar-pedido:hover {
  background: transparent;
  color: var(--laranja);
}

/* MODAL DE PAGAMENTO */
.modal-pagamento {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.modal-pagamento.active {
  opacity: 1;
  visibility: visible;
}

.modal-conteudo {
  background: var(--fundo-escuro);
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1px solid var(--vermelho);
  box-shadow: 0 0 30px rgba(230, 57, 70, 0.3);
}

.fechar-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  color: var(--texto);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1;
  padding: 0.5rem;
}

.modal-conteudo h2 {
  text-align: center;
  padding: 1.5rem;
  color: var(--laranja);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin: 0;
}

.metodos-pagamento {
  padding: 1.5rem;
}

.metodo-tabs {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.metodo-tabs button {
  flex: 1;
  padding: 0.8rem;
  background: none;
  border: none;
  color: var(--texto);
  font-weight: 600;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.metodo-tabs button.tab-ativo {
  border-bottom: 3px solid var(--laranja);
  color: var(--laranja);
}

.metodo-tabs button:hover {
  color: var(--laranja);
}

.metodo-conteudo {
  display: none;
}

.metodo-conteudo.metodo-ativo {
  display: block;
}

.qr-code-container {
  text-align: center;
  margin-bottom: 1.5rem;
}

.qr-code-img {
  width: 200px;
  height: 200px;
  background: white;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.codigo-pix {
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.codigo-pix p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.codigo-container {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 5px;
}

#codigo-pix {
  flex-grow: 1;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.8rem;
}

.copiar-codigo {
  background: var(--laranja);
  border: none;
  color: var(--fundo-escuro);
  padding: 0.5rem;
  border-radius: 5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.5rem;
  font-size: 0.9rem;
}

.confirmar-pagamento {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  margin-top: 1rem;
}

/* FORMULÁRIO DE CARTÃO */
.form-cartao {
  padding: 1rem 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--texto);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.pagar-cartao {
  width: 100%;
  padding: 1rem;
  margin-top: 1rem;
  background: var(--laranja);
  color: var(--fundo-escuro);
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}

.pagar-cartao:hover {
  background: var(--vermelho);
  color: var(--texto);
}

/* PAGAMENTO EM DINHEIRO */
.dinheiro-container {
  text-align: center;
  padding: 1rem 0;
}

.dinheiro-container i {
  font-size: 3rem;
  color: var(--laranja);
  margin-bottom: 1rem;
}

.dinheiro-container h3 {
  margin-bottom: 0.5rem;
}

.dinheiro-container p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.aviso-troco {
  margin-top: 1rem;
  font-weight: 600;
  color: var(--laranja);
}

#valor-troco {
  width: 100%;
  padding: 0.8rem;
  margin-top: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  color: var(--texto);
  text-align: center;
  font-size: 16px;
}

.confirmar-dinheiro {
  width: 100%;
  padding: 1rem;
  margin-top: 1.5rem;
}

/* PEDIDO MOBILE FIXO */
.pedido-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--fundo-cinza);
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 900;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
  display: none;
}

.pedido-total {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.pedido-total span {
  font-weight: bold;
  font-size: 1.1rem;
}

.pedido-mobile .finalizar-pedido {
  background: var(--laranja);
  border: none;
  color: var(--fundo-escuro);
  padding: 0.7rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
}

.pedido-mobile .finalizar-pedido:hover {
  background: var(--vermelho);
  color: var(--texto);
}

/* ANIMATION CLASSES */
.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* FALLBACK PARA QUANDO GSAP NÃO CARREGAR */
.no-gsap [class*="animate"],
.no-gsap .header,
.no-gsap .hero-text,
.no-gsap .hero-stats,
.no-gsap .hero-cta,
.no-gsap section,
.no-gsap .card-categoria,
.no-gsap .contato-card {
  opacity: 1 !important;
  transform: none !important;
}

.no-gsap .card-content {
  height: auto !important;
  opacity: 1 !important;
  overflow: visible !important;
}

/* Estilos para detecção de bandeira do cartão */
.card-input-container {
  position: relative;
}

.card-brand-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  height: 25px;
  width: auto;
}

/* Estilo para o formulário de login admin */
.login-container {
  max-width: 400px;
  margin: 5rem auto;
  padding: 2rem;
  background: var(--fundo-cinza);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  border: 1px solid var(--vermelho);
}

.login-title {
  text-align: center;
  margin-bottom: 2rem;
  color: var(--laranja);
  font-family: 'Orbitron', sans-serif;
}

.login-form .form-group {
  margin-bottom: 1.5rem;
}

.login-form label {
  display: block;
  margin-bottom: 0.5rem;
}

.login-form input {
  width: 100%;
  padding: 0.8rem;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 5px;
  color: var(--texto);
  font-size: 1rem;
}

.login-form button {
  width: 100%;
  padding: 1rem;
  background: var(--laranja);
  border: none;
  border-radius: 5px;
  color: var(--fundo-escuro);
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.login-form button:hover {
  background: var(--vermelho);
  color: var(--texto);
}

.error-message {
  color: var(--vermelho);
  text-align: center;
  margin-top: 1rem;
}

/* Estilo para o painel admin */
.panel-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2rem;
  background: var(--fundo-cinza);
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.panel-title {
  color: var(--laranja);
  margin-bottom: 2rem;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.data-table th, .data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.data-table th {
  background: rgba(230, 57, 70, 0.2);
  color: var(--laranja);
}

.data-table tr:hover {
  background: rgba(255,255,255,0.05);
}

.logout-btn {
  display: block;
  width: 200px;
  margin: 2rem auto 0;
  padding: 0.8rem;
  background: var(--vermelho);
  color: var(--texto);
  border: none;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  transition: all 0.3s;
}

.logout-btn:hover {
  background: var(--vermelho-escuro);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .nav-list {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--fundo-escuro);
    flex-direction: column;
    align-items: center;
    padding: 1rem 0;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.3s ease;
    z-index: 999;
    border-top: 1px solid var(--vermelho);
  }
  
  .nav-list.active {
    transform: translateY(0);
  }
  
  .menu-mobile {
    display: block;
  }
  
  .hero {
    height: 90vh;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .cardapio-section, .contato-section {
    padding: 4rem 1rem;
  }
  
  .section-header {
    margin-bottom: 3rem;
  }
  
  .cardapio-grid, .contato-grid {
    gap: 1.5rem;
  }
  
  .carrinho-painel {
    width: 90vw;
    max-height: 60vh;
    right: 5vw;
  }
  
  .pedido-mobile {
    display: flex;
  }
  
  /* Ajustes para itens do cardápio em mobile */
  .item-card {
    flex-direction: column;
  }
  
  .item-image {
    width: 100%;
    height: 150px;
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .item-info {
    width: 100%;
    margin-bottom: 1rem;
    margin-right: 0;
  }
  
  .item-actions {
    margin-left: auto;
  }
  
  /* Ajustes para formulários no mobile */
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .metodo-tabs {
    flex-wrap: wrap;
  }
  
  .metodo-tabs button {
    flex: 1 0 45%;
    padding: 0.6rem;
    font-size: 0.9rem;
  }
  
  .modal-conteudo {
    width: 95vw;
  }
  
  /* Melhorias para touch */
  .item-actions button, 
  .carrinho-item-quantidade button {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  .cta-button, 
  .finalizar-pedido,
  .pagar-cartao,
  .confirmar-pagamento,
  .confirmar-dinheiro {
    padding: 1rem;
    font-size: 1rem;
  }
  
  /* Ajuste para evitar zoom em inputs */
  input, select, textarea {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .cardapio-grid {
    grid-template-columns: 1fr;
  }
  
  /* Ajustes para itens do cardápio em telas muito pequenas */
  .item-card {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .item-image {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
  }
  
  .item-actions {
    margin-left: 0;
    margin-top: 1rem;
    align-self: flex-end;
  }
  
  .contato-card {
    padding: 1.5rem 1rem;
  }
  
  .pedido-mobile {
    padding: 0.8rem;
  }
  
  .pedido-mobile .finalizar-pedido {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  
  /* Melhorias para touch */
  .item-actions button, 
  .carrinho-item-quantitude button {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  
  /* Ajuste para evitar zoom em inputs */
  input, select, textarea {
    font-size: 16px;
  }
}

/* Lazy Loading */
.lazy {
  opacity: 0;
  transition: opacity 0.3s;
  background-color: #f1f1f1;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHZpZXdCb3g9IjAgMCAxIDEiPjwvc3ZnPg==');
  background-size: cover;
}

.lazy.loaded {
  opacity: 1;
}

/* Estilo para o placeholder enquanto a imagem carrega */
.lazy::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f1f1f1 25%, #e1e1e1 50%, #f1f1f1 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* PWA Install Prompt */
.pwa-install-prompt {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--fundo-cinza);
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 1001;
  border: 1px solid var(--laranja);
  max-width: 90%;
}

.pwa-install-prompt button {
  background: var(--laranja);
  color: var(--fundo-escuro);
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.pwa-install-prompt button.secondary {
  background: transparent;
  color: var(--texto);
  border: 1px solid var(--texto);
}

/* Search and Filters */
.search-container {
  margin-bottom: 2rem;
  display: flex;
  gap: 1rem;
}

.search-input {
  flex-grow: 1;
  padding: 0.8rem 1rem;
  border-radius: 50px;
  border: 1px solid var(--vermelho);
  background: rgba(255,255,255,0.1);
  color: var(--texto);
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(230,57,70,0.2);
  border: 1px solid var(--vermelho);
  color: var(--texto);
  transition: all 0.3s;
}

.filter-btn.active {
  background: var(--vermelho);
}

/* Delivery Time Estimate */
.delivery-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--laranja);
}

/* Reviews Section */
.reviews-section {
  padding: 4rem 0;
  background: var(--fundo-cinza);
}

.review-card {
  background: var(--fundo-escuro);
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--vermelho);
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--laranja);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: var(--fundo-escuro);
  font-weight: bold;
}

.review-stars {
  color: var(--laranja);
  margin: 0.5rem 0;
}

.review-date {
  font-size: 0.8rem;
  opacity: 0.7;
}

/* CEP Checker */
.cep-checker {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.cep-input {
  flex-grow: 1;
  padding: 0.8rem;
  border-radius: 5px;
  border: 1px solid var(--vermelho);
  background: rgba(255,255,255,0.1);
  color: var(--texto);
}

.check-cep-btn {
  background: var(--laranja);
  color: var(--fundo-escuro);
  border: none;
  padding: 0 1.5rem;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

/* Map Container */
.map-container {
  height: 300px;
  margin-top: 1rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--vermelho);
}

/* Popular Badge */
.popular-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--laranja);
  color: var(--fundo-escuro);
  padding: 0.3rem 0.6rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
  z-index: 1;
}

/* Fallback para quando GSAP não carrega */
.no-gsap .animate-in {
  opacity: 1 !important;
  transform: none !important;
}