@font-face {
  font-family: 'Veneer';
  src: url('../fonts/Veneer.woff2') format('woff2'),
       url('../fonts/Veneer.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --amber: #ffb03a;
  --barnia_orange: #ff6600; 
  --green: #41d68c;
  --line: #2a3540;
  --panel1: #1b232c;
  --panel2: #11161c;
  --text: #f3f7fa;
  --muted: #93a4b1;
  --display: 'Veneer', 'Anton', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --body-font: 'Open Sans', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #05080a;
  background-image: linear-gradient(rgba(7, 10, 13, 0.50), rgba(7, 10, 13, 0.50)),
	url('../images/background.jpg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--text);
  font-family: var(--body-font);
  overflow-x: hidden;
  font-weight: 400;
  min-height: 100vh;
}

/* Mantém o fixed apenas em telas grandes (Desktop) para não travar o mobile */
@media (min-width: 769px) {
  body {
    background-attachment: fixed;
  }
}

/* BASE CONTAINER */
.app {
  max-width: 1350px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}

/* HEADER */
header {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem;
  border-bottom: 2px solid rgba(255, 176, 58, .3);
  background: rgba(17, 22, 28, 0.98); /* Otimizado sem blur pesado */
  gap: 1rem;
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--text);
}

.logo {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  background: rgba(255, 176, 58, .12);
  border: 2px solid rgba(255, 176, 58, .55);
  color: var(--amber); 
  overflow: hidden;
}

.logo img {
  height: 70%;
  width: auto;
  object-fit: contain;
}

.brand-text img {
  max-width: 160px;
  height: auto;
}

.venue {
  margin-left: 1rem;
  border-left: 1px solid rgba(255, 255, 255, .1);
  padding-left: 1.5rem;
}

.venue h2 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--amber);
}

.venue a, .venue p {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
}

.nav-container {
  width: 100%;
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.nav-menu a {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.5rem 0.8rem;
  border-radius: 4px;
  border: 1px solid transparent;
  transition: color 0.2s, background-color 0.2s, border-color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.nav-menu a:hover, .nav-menu a.active {
  color: var(--amber);
  background: rgba(255, 176, 58, .15);
  border-color: rgba(255, 176, 58, .4);
}

/* CONTEÚDO PRINCIPAL */
main.page-content {
  flex: 1;
  padding: 2rem 1.5rem;
}

/* RESPONSIVIDADE FLUIDA - SMARTPHONES & TABLETS */
@media (max-width: 768px) {
  header {
    padding: 0.8rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  
  .venue { 
    display: none; 
  }

  .nav-menu { 
    width: 100%; 
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    gap: 0.4rem;
    -webkit-overflow-scrolling: touch;
  }

  .nav-menu li {
    flex-shrink: 0;
  }

  .nav-menu a { 
    font-size: 1rem; 
    padding: 0.4rem 0.7rem; 
  }

  main.page-content {
    padding: 1.2rem 0.8rem;
  }

  .page-header h2 {
    font-size: 2rem;
  }

  .hero-box {
    padding: 2rem 1rem;
  }

  .hero-box h1 {
    font-size: 2.2rem;
  }

  .hero-box p.slogan {
    font-size: 1.2rem;
  }

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

  .tap {
    flex-direction: row;
    min-height: 120px;
  }

  .art {
    flex: 0 0 95px;
    padding: 0.5rem 0.3rem;
  }

  .name {
    font-size: 1.35rem;
  }

  .price {
    font-size: 1.5rem;
  }

  .stat .val {
    font-size: 1rem;
  }

  .simulator-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .code-view-btn {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .brand-text h1 {
    font-size: 1.7rem;
  }

  .brand-text p {
    font-size: 0.75rem;
  }

  .logo {
    width: 45px;
    height: 45px;
    font-size: 1.4rem;
  }

  .tap {
    border-radius: 6px;
  }

  .content {
    padding: 0.6rem;
  }

  .top-row {
    gap: 0.3rem;
  }

  .tap-no {
    font-size: 0.9rem;
    padding: 0.1em 0.3em;
  }
}

/* TAP LIST 4x2 GRID & CARDS */
.page-header {
  border-bottom: 2px solid var(--line);
  padding-bottom: 0.8rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-header h2 {
  font-family: var(--display);
  font-size: 2.8rem;
  color: var(--amber);
  line-height: 1;
  font-weight: 400;
}

.page-header p {
  color: var(--muted);
  font-size: 0.9rem;
}

.tap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.2rem;
}

.tap {
  background: rgba(17, 22, 28, .85);
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 8px;
  display: flex;
  overflow: hidden;
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

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

.tap.sale {
  border-color: rgba(65, 214, 140, .85);
}

.art {
  flex: 0 0 110px;
  display: flex;
  flex-direction: column;
  background: rgba(0,0,0,0.3);
  padding: 0.6rem 0.4rem;
  border-right: 1px solid rgba(255,255,255,0.06);
}

.frame {
  width: 90px;
  height: 180px;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--panel1);
  border: 1px solid var(--line);
}

.promo-ribbon {
  position: absolute;
  top: 10px;
  left: -35px;
  width: 120px;
  text-align: center;
  transform: rotate(-45deg);
  background: yellow;
  color: black;
  font-family: var(--display);
  font-size: 0.75rem;
  padding: 0.2em 0;
  z-index: 20;
  text-transform: uppercase;
}

.medals {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  margin-top: 0.6rem;
  flex-wrap: wrap;
}

.medal-ico {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #2a3540;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: var(--amber);
  border: 1px solid rgba(255,176,58,0.4);
}

.content {
  flex: 1;
  padding: 0.8rem 0.9rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
}

.name {
  font-family: var(--display);
  font-size: 1.6rem; 
  font-weight: 400;
  line-height: 0.9;
  color: var(--text);
}

.tap-no {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--amber);
  background: rgba(255, 176, 58, .1);
  border: 1px solid rgba(255, 176, 58, .5);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.brewery {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.2rem;
  text-transform: uppercase;
}

.stats {
  display: flex;
  gap: 0.4rem;
  margin: 0.6rem 0;
}

.stat {
  flex: 1;
  background: #0f1419;
  border: 1px solid rgba(255, 176, 58, .3);
  border-radius: 4px;
  padding: 0.3rem;
  text-align: center;
}

.stat .lbl {
  font-family: var(--display);
  font-size: .65rem;
  letter-spacing: .1em;
  color: yellow;
  display: block;
}

.stat .val {
  font-family: var(--display);
  font-size: 1.2rem;
  color: #7fd4ff;
}

.price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  padding-top: 0.4rem;
}

.price {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--amber);
  line-height: 1;
} 

.tap.sale .price {
  color: var(--green);
}

.glass-size {
  font-size: .75rem;
  color: #7f919e;
}

.hero-box {
  background: linear-gradient(rgba(0,0,0,0.60), rgba(0,0,0,0.60));
  background-size: cover;
  background-position: center;
  border-radius: 8px;
  padding: 3rem 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid var(--line);
  text-align: center;
}

.hero-box h1 {
  font-family: var(--display);
  font-size: 3.2rem;
  color: var(--amber);
  line-height: 1;
  font-weight: 400;
}

.hero-box p.slogan {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--barnia_orange);
  letter-spacing: 0.1em;
  margin: 0.5rem 0 1rem;
}

.hero-desc {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text);
  line-height: 1.5;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: rgba(27, 35, 44, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.5rem;
}

.info-card h3 {
  font-weight: 400;
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--amber);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.info-card p, .info-card a {
  line-height: 1.6;
  font-size: 0.95rem;
  color: var(--text);
}

/* FOOTER */
footer {
  flex: 0 0 auto;
  border-top: 1px solid var(--line);
  background: rgba(17, 22, 28, 0.95);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.8rem;
}

footer .copy {
  font-family: var(--display);
  font-size: 1rem;
  letter-spacing: .06em;
  color: var(--muted);
}

footer .copy b {
  color: var(--amber);
}

/* MEDIA QUERIES REDUZIDOS E UNIFICADOS PARA PERFORMANCE */
@media (max-width: 768px) {
  header {
    padding: 1rem;
  }

  .venue {
    display: none;
  }

  .nav-menu {
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 6px;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
  }

  .nav-menu li {
    flex-shrink: 0;
  }

  .nav-menu a {
    font-size: 0.95rem;
    padding: 0.4rem 0.6rem;
  }

  main.page-content {
    padding: 1.2rem 0.8rem;
  }

  .hero-box {
    padding: 2rem 1rem;
  }

  .hero-box h1 {
    font-size: 2.2rem;
  }

  .hero-box p.slogan {
    font-size: 1.2rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 45px;
    height: 45px;
  }

  .brand-text img {
    max-width: 120px;
  }

  footer {
    flex-direction: column;
    text-align: center;
    gap: 0.4rem;
  }
}

.filter {
  border: 1px solid rgba(255, 176, 58, 0.45);
  background: rgba(17, 22, 28, 0.85);
  color: #dfe8ee;
  padding: 6px 16px;
  border-radius: 20px;
  font-family: var(--display);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  margin-bottom: 12px;
}

.filter.active {
  color: #07220f;
  background: linear-gradient(180deg, #5ce8a2, #2fbf76);
  border-color: #41d68c;
  width: 80%;
}

/* CARDAPIO GASTRONOMIA */
.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
}

.food-card {
  background: rgba(27, 35, 44, 0.9);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.food-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.food-body {
  padding: 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.food-title {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.3rem;
}
 
.food-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.food-price {
  font-family: var(--display);
  font-size: 2.0rem;
  color: var(--amber);
  margin-left: auto;
  text-align: right;
}


/* BOTÃO HAMBÚRGUER (Oculto em telas grandes) */
.mobile-menu-btn {
  display: none;
  background: rgba(255, 176, 58, 0.15);
  border: 1px solid rgba(255, 176, 58, 0.4);
  color: var(--amber);
  font-size: 1.5rem;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* COMPORTAMENTO EM TELAS DE CELULAR (até 768px) */
@media (max-width: 768px) {
  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }

  .mobile-menu-btn {
    display: block; /* Exibe o botão hambúrguer no celular */
  }

  .nav-container {
    display: none; /* Esconde o menu por padrão no mobile */
    width: 100%;
    margin-top: 10px;
  }

  /* Quando clica no botão, adiciona a classe .open e expõe os links empilhados */
  .nav-container.open {
    display: block;
  }

  .nav-menu {
    flex-direction: column; /* Empilha os links na vertical */
    width: 100%;
    gap: 8px;
    padding-bottom: 0;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    width: 100%;
    padding: 10px 14px;
    font-size: 1.1rem;
    justify-content: flex-start;
    background: rgba(17, 22, 28, 0.6);
    border: 1px solid var(--line);
  }
}

/* Título de Seção (ex: COQUETÉIS, CAIPIRINHAS, DOSES) */
.section-title {
  font-family: var(--display, 'sans-serif');
  font-size: 1.4rem;
  font-weight: 400;
  color: #ffb03a; /* Amarelo/Laranja dourado característico da marca */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  
  margin: 32px 0 16px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 176, 58, 0.25);
  
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Opcional: Adiciona um detalhe de linha decorativa no canto */
.section-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 1.2rem;
  background-color: #ffb03a;
  border-radius: 2px;
}


.btn-back-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  
  font-family: var(--display);
  font-size: 1.2rem;
  letter-spacing: 0.05em;
  color: #07220f;
  
  background: linear-gradient(180deg, #5ce8a2, #2fbf76);
  border: 1px solid #41d68c;
  border-radius: 20px;
  
  padding: 6px 18px;
  cursor: pointer;
  white-space: nowrap;
  
  /* Garante que o botão não estique */
  width: auto !important;
  flex-shrink: 0;
  align-self: flex-end;
  
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-back-green:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}
