/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 10.2px; /* 36% menor que o padrão */
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* NAVBAR */
.navbar {
  width: 100%;
  height: 8.3rem;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.logo {
  position: absolute;
  left: 3rem;
}

/* MENU (DESKTOP) */
.menu ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.menu ul li a {
  font-family: 'Klavika', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  text-decoration: none;
  color: #333;
  transition: color 0.3s;
}

.menu ul li a:hover {
  color: #d2691e;
}

/* MENU HAMBÚRGUER (DESKTOP: oculto) */
.hamburger {
  display: none;
  position: absolute;
  right: 2rem;
  top: 2.5rem;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1000;
}

/* BANNER */
.banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* VENCEDOR */
.vencedor {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 5%;
  background-color: #fef1dc;
  flex-wrap: wrap;
}

.vencedor-texto {
  max-width: 50%;
}

.vencedor-texto h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: #2c2c2c;
  margin-bottom: 1.5rem;
}

.vencedor-texto h3 {
  font-size: 2.4rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 1.5rem;
}

.vencedor-texto .destaque {
  color: #e66818;
  font-weight: 700;
  font-size: 2.7rem;
}

.vencedor-texto p {
  font-size: 2rem;
  font-weight: 300;
  color: #444;
  margin-bottom: 2rem;
}

.botao-container {
  position: relative;
  width: 100%;
}

.botao-votar {
  display: inline-block;
  width: 80%;
  max-width: 40rem;
  height: 5.8rem;
  background-color: #e66818;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  line-height: 5.8rem;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.botao-votar:hover {
  background-color: #d15814;
}

.vencedor-imagem {
  max-width: 45%;
  text-align: center;
}

.vencedor-imagem img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* VÍDEO */
.video-botecar {
  background-color: #f37020;
  padding: 4rem 0;
  text-align: center;
}

.video-botecar h2 {
  font-weight: 800;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 2rem;
}

.video-container {
  width: 100%;
  max-width: 75rem;
  margin: 0 auto;
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
}

/* PATROCÍNIOS */
.patrocinios {
  background-color: #fef1dc;
  text-align: center;
  padding: 4rem 0;
}

.patrocinios h2 {
  font-weight: 800;
  font-size: 2.5rem;
  color: #e66818;
  margin-bottom: 2rem;
}

.patrocinios-imagem img {
  width: 90%;
  max-width: 100rem;
  height: auto;
}

/* FOOTER */
.footer {
  background-color: #fff;
  text-align: center;
  padding-top: 3rem;
}

.footer-logo {
  margin-bottom: 1.5rem;
  width: 90px;
  height: 90px;
}

.footer-menu ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 1rem 0;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin: 2rem auto;
  max-width: 80rem;
  flex-wrap: wrap;
}

.footer-menu li {
  margin: 0 1rem;
}

.footer-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 1rem;
}

.footer-contato p,
.footer-contato a {
  margin: 1rem 0;
  color: #333;
  font-size: 1rem;
}

.footer-contato img {
  margin-top: 0.5rem;
  width: 3.2rem;
  height: 3.2rem;
}

.footer-bottom {
  background-color: #444;
  color: #fff;
  padding: 1rem;
  font-size: 1rem;
}

.footer-bottom a {
  color: #fff;
  text-decoration: underline;
}

/* Seção de Patrocínios (variante) */
.patrocinios {
  background-color: #fef1dc; /* mesmo fundo usado anteriormente */
  text-align: center;
  padding: 80px 0;
}

.patrocinios h2 {
  font-family: Hagrid Text Trial;
  font-weight: 800;
  font-style: Extrabold;
  font-size: 50.98px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #e66818; /* mesma cor usada no destaque anterior */
  margin-bottom: 40px;
}

.patrocinios-imagem img {
  width: 90%;
  max-width: 1200px;
  height: auto;
  display: inline-block;
}

/* ---------------- */
/* Pratos           */
/* ---------------- */

.pratos-container {
  padding: 40px 10%;
  background-color: #fff8ec;
  text-align: center;
}

.pratos-titulo {
  font-family: 'Klavika', sans-serif;
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

/* Filtros acima dos cards */
.filtros {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  flex-wrap: wrap;
  align-items: center;
}

.filtros input,
.filtros select,
.filtros button {
  padding: 10px;
  font-size: 16px;
}

.filtros .resultado {
  font-size: 14px;
  color: #d2691e;
}

/* Grid dos cards */
.grade-pratos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin: 40px 0;
}

/* Card individual de prato */
.prato-card {
  display: flex;
  background: #fdfcfb;
  border: 1px solid #f2e5d4;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

.prato-card:hover {
  transform: translateY(-3px);
}

/* Imagem do prato */
.prato-imagem img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Detalhes do prato */
.prato-detalhes {
  padding: 15px;
  text-align: left;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bar-nome {
  color: #e66818;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 5px;
}

.prato-nome {
  color: #555;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.preco {
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.descricao {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.saiba-mais {
  color: #e66818;
  font-weight: bold;
  font-size: 13px;
  text-decoration: underline;
  align-self: flex-start;
}

/* Paginação */
.paginacao {
  text-align: center;
  margin-top: 30px;
}

.paginacao a {
  margin: 0 8px;
  font-size: 16px;
  color: #333;
  text-decoration: none;
}

.paginacao .ativo {
  font-weight: bold;
  color: #e66818;
}

/* ---------------- */
/* Mapa dos bares   */
/* ---------------- */

.mapa-bares {
  padding: 2rem;
  text-align: center;
  background-color: #fff8ec;
}

.mapa-bares iframe {
  width: 100%;
  max-width: 900px;
  height: 515px;
  border: none;
}

/* ---------------- */
/* Mini Guia Digital*/
/* ---------------- */

.mini-guia-digital {
  padding: 2rem;
  text-align: center;
  background-color: #fff8ec;
}

.mini-guia-digital iframe {
  width: 100%;
  max-width: 900px;
  height: 515px;
  border: none;
}

/* Patrocínios e Apoio */
.patrocinio-apoio {
  width: 100%;
  background-color: #fef1dc;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 0;
}

.patrocinio-apoio img {
  width: 100%;
  max-width: 800px;
  height: auto;
  display: block;
  padding: 0 2rem;
}

/* Responsivo Patrocínio e Apoio */
@media (max-width: 768px) {
  .patrocinio-apoio {
    padding: 2rem 0;
  }

  .patrocinio-apoio img {
    padding: 0 1rem;
  }
}

/* Responsivo Mini Guia Digital */
@media (max-width: 768px) {
  .mini-guia-digital iframe {
    height: 400px;
  }
}

@media (max-width: 480px) {
  .mini-guia-digital iframe {
    height: 300px;
  }
}

/* ----------------------- */
/* Bares Vencedores        */
/* ----------------------- */

.bares-vencedores {
  position: relative;
  background-color: #d2691e;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

.frame-vencedores {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 1;
}

.vencedores-grid,
.linha-centralizada {
  position: relative;
  z-index: 2;
}

/* IMPORTANTE: garantir grid para o layout funcionar bem */
.vencedores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  justify-items: center;
}

.vencedores-grid img,
.linha-centralizada img {
  width: 100%;
  max-width: 250px;
  height: 250px;
  object-fit: contain;
  margin-left: 50px;
  margin-right: 50px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* Agrupamento da 2ª linha em Desktop */
.linha-centralizada {
  grid-column: 1 / -1; /* ocupa toda a linha do grid */
  display: flex;
  justify-content: center;
  gap: 1rem; /* espaço maior entre Quarto e Quinto */
}

/* ----------------------- */
/* RESPONSIVO (MOBILE)     */
/* ----------------------- */
@media (max-width: 768px) {
  /* Vencedor (home) */
  .vencedor {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
  }

  .vencedor-texto,
  .vencedor-imagem {
    max-width: 100%;
  }

  .vencedor-texto h2,
  .vencedor-texto h3,
  .vencedor-texto p {
    text-align: center;
  }

  .botao-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
  }

  .botao-votar {
    position: relative;
    width: 90%;
    max-width: 300px;
    left: auto;
    top: auto;
    line-height: normal;
    height: auto;
    padding: 1rem 2rem;
    font-size: 1.8rem;
  }

  .vencedor-imagem img {
    margin-top: 2rem;
    max-width: 100%;
  }

  /* MENU MOBILE (unificado e sem conflitos) */
  .menu {
    display: none;                /* escondido por padrão */
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: white;
    z-index: 998;
    justify-content: center;      /* centraliza links vertical/horizontal */
    align-items: center;
    padding: 0 2rem;
  }

  .menu.active {
    display: flex;                /* aparece quando .menu recebe .active (JS) */
  }

  .menu ul {
    display: flex;                /* garantir que a UL fique visível */
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .menu ul li a {
    font-size: 2.5rem;
    color: #333;
    text-decoration: none;
  }

  .hamburger {
    display: block;
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 999;
    font-size: 3rem;
    cursor: pointer;
    background-color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
  }

  /* Bares Vencedores: em mobile fica um por linha */
  .vencedores-grid {
    grid-template-columns: 1fr;
  }

  .linha-centralizada {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Grade de pratos em 1 coluna no mobile (opcional) */
  .grade-pratos {
    grid-template-columns: 1fr;
  }
}


/*Popup*/
/* ---------- POPUP ---------- */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;              /* aparece via JS */
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 20px;
}

.popup.mostrar { display: flex; }

.popup-conteudo {
  background: #fff;
  border-radius: 8px;
  max-width: 980px;
  width: 100%;
  padding: 24px;
  position: relative;
}

.popup-fechar {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 28px;
  background: transparent;
  border: none;
  cursor: pointer;
  line-height: 1;
}

.popup-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 24px;
}

.popup-imagem img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  display: block;
}

.popup-detalhes .popup-titulo {
  color: #e66818;             /* mesmo tom da UI */
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
  font-weight: 800;
}

.popup-detalhes .popup-subtitulo {
  font-size: 18px;
  color: #e66818;
  margin: 18px 0 6px;
  font-weight: 800;
}

.popup-detalhes p {
  font-size: 16px;
  color: #333;
  margin: 6px 0 0;
}

.popup-detalhes .popup-preco {
  font-weight: 700;
  color: #333;
  margin-top: 16px;
}

.popup-detalhes .popup-endereco {
  margin-top: 8px;
}

.popup-funcionamento {
  font-size: 1.4rem;
  color: #444;
  margin-top: 0.8rem;
}

/* Responsivo do popup */
@media (max-width: 768px) {
  .popup-grid {
    grid-template-columns: 1fr;
  }
}

/*Botão Download*/
.botao-download-container {
  text-align: center;
  margin-top: 2rem;
}

.botao-download {
  background-color: #d2691e;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: bold;
  padding: 1.2rem 2.5rem;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.botao-download:hover {
  background-color: #b35917;
}

