/* ============================================================
   PACATO — pacatobh.com.br · réplica fiel do site original
   Cores do original: #3F4036 (fundo) · #1F1F1F (reservas) ·
   #A27743 (títulos) · #CCB8A9 (logos/destaques) ·
   #AA4B26 (botões) · #FFFFFF / #F1F1F1 (textos)
   Fontes do original: Abhaya Libre (títulos e menu) ·
   Open Sans (botões e apoio) · pilha do sistema (parágrafos)
   ============================================================ */

:root {
  --verde: #3F4036;
  --preto: #1F1F1F;
  --dourado: #A27743;
  --bege: #CCB8A9;
  --terracota: #AA4B26;
  --branco: #FFFFFF;
  --cinza-claro: #F1F1F1;
  --abhaya: "Abhaya Libre", Georgia, serif;
  --opensans: "Open Sans", Arial, sans-serif;
  --sistema: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

body {
  background: var(--verde);
  color: var(--branco);
  font-family: var(--sistema);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a:focus-visible, button:focus-visible, label:focus-visible, input:focus-visible + label {
  outline: 2px solid var(--bege);
  outline-offset: 3px;
}

/* Anti-linhas-órfãs: equilibra títulos e evita última linha com 1 palavra em parágrafos */
.titulo-home, .faixa-chamada h2, .bloco-pacato h2,
.caixa-menu h2, .faixa-reservas h2, .rodape h3 { text-wrap: balance; }
.texto-home p, .texto-pacato p, .caixa-menu p, .faixa-chamada p,
.faixa-reservas p, .rodape p { text-wrap: pretty; }

/* ---------- Cabeçalho (transparente sobre a 1ª seção) ---------- */
.topo {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 18px 34px;
}
.topo-logo img { height: 58px; width: auto; }

/* ---------- Menu (hambúrguer + overlay, sem JavaScript) ---------- */
.menu-chave { position: absolute; opacity: 0; pointer-events: none; }
.menu-abrir {
  cursor: pointer;
  display: inline-flex;
  padding: 8px;
  margin-top: 2px;
}
.menu-abrir svg { width: 26px; height: 26px; fill: var(--bege); }
.menu-painel {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(38, 39, 32, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.menu-chave:checked ~ .menu-painel { visibility: visible; opacity: 1; }
.menu-painel a {
  font-family: var(--abhaya);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.25;
  color: var(--cinza-claro);
  text-decoration: none;
  transition: color 0.2s ease;
}
.menu-painel a:hover, .menu-painel a.ativo { color: var(--dourado); }
.menu-fechar {
  position: absolute;
  top: 22px; right: 30px;
  cursor: pointer;
  padding: 8px;
}
.menu-fechar svg { width: 28px; height: 28px; fill: var(--bege); }

/* ---------- Botões (padrão do original) ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--opensans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--branco);
  background: var(--terracota);
  padding: 12px 22px;
  border-radius: 3px;
  transition: background 0.2s ease;
}
.botao:hover { background: #93401f; }
.botao svg { width: 15px; height: 15px; fill: currentColor; }

/* ---------- HOME · hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  background: url("/imagens/fundo-hero.jpg") center / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 20px 60px;
}
.hero-marca {
  width: min(480px, 78vw);
  height: auto;
  margin-bottom: 92px;
}

/* ---------- HOME · seção principal (verde) ---------- */
.secao-home {
  background:
    url("/imagens/textura-fruta.png") no-repeat calc(50% + 130px) 60px / 700px auto,
    var(--verde);
  text-align: center;
  padding: 178px 20px 0;
}
.titulo-home {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(38px, 3.6vw, 48px);
  line-height: 1.25;
  color: var(--dourado);
  max-width: 700px;
  margin: 0 auto 10px;
}
.assinatura-secao {
  font-family: var(--opensans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--bege);
  margin-bottom: 26px;
}
.foto-topo, .foto-bloco, .foto-pratos {
  width: min(1300px, 96vw);
  border-radius: 20px;
  display: block;
}
.foto-topo { margin: 0 auto 28px; }
.foto-bloco { margin: 0 auto 40px; }
.foto-pratos {
  margin: 35px auto -24px;
  position: relative;
  z-index: 2;
}
.texto-home {
  max-width: 915px;
  margin: 0 auto;
}
.texto-home p { margin-bottom: 16px; }

/* ---------- HOME · rótulo pequeno acima dos títulos ---------- */
.eyebrow-home {
  font-family: var(--opensans);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--bege);
  margin-bottom: 8px;
}

/* ---------- HOME · faixa "Escolha seu caminho à mesa" (preta, recebe a foto dos pratos) ---------- */
.faixa-chamada {
  background: var(--preto);
  border-bottom: 1px solid rgba(170, 75, 38, 0.45);
  text-align: center;
  padding: 88px 20px 64px;
}
.faixa-chamada h2 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(38px, 3.8vw, 50px);
  line-height: 1.2;
  color: var(--bege);
  margin-bottom: 10px;
}
.faixa-chamada p {
  max-width: 560px;
  margin: 0 auto 28px;
  color: #d9cec4;
}

/* ---------- HOME · bloco "O Pacato" ---------- */
.bloco-pacato {
  background: var(--verde);
  text-align: center;
  padding: 120px 20px 72px;
}
.bloco-pacato h2 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(38px, 3.6vw, 48px);
  line-height: 1.25;
  color: var(--dourado);
  max-width: 720px;
  margin: 0 auto 28px;
}
.texto-pacato { max-width: 915px; margin: 0 auto; }
.texto-pacato p { margin-bottom: 16px; }

/* ---------- HOME · bloco "Menu" (caixa emoldurada) ---------- */
.bloco-menu {
  background: var(--verde);
  padding: 8px 20px 110px;
}
.caixa-menu {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid rgba(162, 119, 67, 0.55);
  background: rgba(31, 31, 31, 0.18);
  padding: 48px 36px 44px;
  text-align: center;
}
.caixa-menu h2 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.15;
  color: var(--dourado);
  margin-bottom: 22px;
}
.caixa-menu p {
  max-width: 600px;
  margin: 0 auto 22px;
  color: #d9cec4;
}
.caixa-menu .botoes-linha + p { margin-top: 40px; }
.botoes-linha {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* ---------- HOME · faixa reservas (preta) ---------- */
.faixa-reservas {
  background: var(--preto);
  border-bottom: 1px solid rgba(170, 75, 38, 0.45);
  text-align: center;
  padding: 88px 20px 72px;
}
.faixa-reservas h2 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(44px, 4.5vw, 60px);
  line-height: 1.2;
  color: var(--bege);
  margin-bottom: 14px;
}
.faixa-reservas p {
  max-width: 640px;
  margin: 0 auto 30px;
  color: #d9cec4;
}

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--verde);
  color: var(--bege);
  text-align: center;
  padding: 130px 20px 120px;
}
.rodape-logo { width: 200px; margin: 0 auto; }
.rodape-colunas {
  max-width: 1000px;
  margin: 205px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px 30px;
}
.rodape h3 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.25;
  color: var(--bege);
  margin-bottom: 18px;
}
.rodape p { font-size: 16px; line-height: 1.7; color: #d9cec4; }
.rodape a { color: #d9cec4; text-decoration: none; }
.rodape a:hover { color: var(--branco); }
.rodape .nota {
  font-family: var(--opensans);
  font-style: italic;
  font-size: 12.5px;
  color: var(--dourado);
  margin-top: 18px;
}
.rodape .rodape-mini {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--opensans);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--bege);
  border-bottom: 1px solid rgba(204, 184, 169, 0.5);
  line-height: 1.6;
}
.rodape .rodape-mini:hover { color: var(--branco); border-color: var(--branco); }
.rodape .sep { color: var(--dourado); padding: 0 6px; }

@media (max-width: 760px) {
  .rodape-colunas { grid-template-columns: 1fr; margin-top: 110px; }
  .rodape h3 { font-size: 27px; }
}

/* ---------- PÁGINA MENU (título da faixa) ---------- */
.titulo-pagina {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(46px, 4.5vw, 60px);
  line-height: 1.2;
  color: var(--branco);
  margin-bottom: 14px;
}

/* ---------- PÁGINA RESERVAS ---------- */
.reservas-faixa {
  background: url("/imagens/fundo-hero.jpg") center / cover no-repeat;
  padding: 60px 20px 150px;
  display: flex;
  justify-content: center;
}
.widget-reservas {
  border: 0;
  margin: 0;
  overflow: auto;
  height: 550px;
  width: min(1050px, 100%);
  display: block;
}
.reservas-link-alt {
  position: absolute;
  left: -9999px;
}

/* ---------- 404 ---------- */
.erro {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 26px;
  padding: 40px 20px;
}
.erro h1 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: 44px;
  line-height: 1.2;
  color: var(--dourado);
}

/* ---------- Ajustes mobile (fiéis ao original + blocos novos) ---------- */
@media (max-width: 640px) {
  body { font-size: 14.5px; line-height: 1.65; }
  .texto-home p, .texto-pacato p, .caixa-menu p,
  .faixa-chamada p, .faixa-reservas p { margin-bottom: 14px; }
  .topo { padding: 14px 18px; }
  .topo-logo img { height: 48px; }
  .hero {
    min-height: 0;
    background:
      url("/imagens/fundo-hero.jpg") center bottom / cover no-repeat,
      var(--verde);
    background-size: auto 310px;
    background-position: center bottom;
    padding: 84px 20px 176px;
    justify-content: flex-start;
  }
  .hero-marca { width: min(280px, 70vw); margin-bottom: 62px; }
  .secao-home {
    padding-top: 100px;
    background-position: center 50px;
    background-size: 520px auto;
  }
  .foto-topo, .foto-bloco, .foto-pratos { border-radius: 18px; }
  .bloco-pacato { padding: 84px 20px 56px; }
  .bloco-menu { padding-bottom: 84px; }
  .caixa-menu { padding: 36px 18px 32px; }
  .faixa-chamada, .faixa-reservas { padding: 76px 20px 60px; }
  .rodape { padding: 70px 20px 80px; }
  .rodape-colunas { margin-top: 100px; }
}


/* ---------- PÁGINA MENU · cardápio em HTML ---------- */
.cardapio-topo {
  position: relative;
  background: url("/imagens/fundo-menu-1.jpg") center top / cover no-repeat;
  text-align: center;
  padding: 112px 20px 92px;
}
.cardapio-topo::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, 0.42); }
.cardapio-topo > * { position: relative; }
.cardapio-topo .titulo-pagina { margin-bottom: 6px; }
.cardapio-sub {
  font-family: var(--opensans);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--bege);
  margin-bottom: 34px;
}
.seletor { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.seletor a {
  font-family: var(--opensans);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cinza-claro);
  border: 1px solid rgba(204, 184, 169, 0.7);
  border-radius: 3px;
  padding: 10px 18px;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.seletor a:hover { background: var(--terracota); border-color: var(--terracota); color: var(--branco); }

.barra-cartas {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(63, 64, 54, 0.96);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(162, 119, 67, 0.35);
}
.barra-cartas ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 18px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.barra-cartas ul::-webkit-scrollbar { display: none; }
.barra-cartas a {
  display: block;
  padding: 15px 0;
  font-family: var(--opensans);
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--bege);
  text-decoration: none;
  transition: color 0.2s ease;
}
.barra-cartas a:hover { color: var(--branco); }
.barra-cartas .reserva-item a { color: var(--dourado); }

.carta { padding: 96px 20px 24px; scroll-margin-top: 48px; }
.carta-cardapio {
  background:
    url("/imagens/textura-fruta.png") no-repeat calc(50% + 130px) 20px / 700px auto,
    var(--verde);
}
.carta-miolo { max-width: 760px; margin: 0 auto; }
.carta-titulo {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(36px, 3.4vw, 44px);
  line-height: 1.15;
  color: var(--branco);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
  text-align: center;
  margin-bottom: 22px;
}
.carta-intro {
  text-align: center;
  font-family: var(--opensans);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--bege);
  margin-bottom: 56px;
}

.secao { margin-bottom: 64px; scroll-margin-top: 64px; }
.secao h3 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: 32px;
  line-height: 1.2;
  color: var(--dourado);
  margin-bottom: 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(204, 184, 169, 0.25);
}
.item { display: flex; align-items: baseline; gap: 16px; margin-bottom: 4px; }
.item .nome { flex: 1; font-size: 17px; font-weight: 500; color: var(--branco); line-height: 1.4; }
.item .preco { font-family: var(--opensans); font-size: 14px; color: var(--dourado); white-space: nowrap; }
.item-desc { font-size: 15px; line-height: 1.6; color: #d9cec4; margin-bottom: 22px; }
.item-desc .nota { color: var(--bege); font-style: italic; font-size: 13px; white-space: nowrap; }
.sep { color: var(--dourado); padding: 0 7px; }
.aviso {
  font-family: var(--opensans);
  font-style: italic;
  font-size: 12.5px;
  color: var(--dourado);
  text-align: center;
  margin: 6px 0 0;
}

.degustacao {
  border: 1px solid rgba(162, 119, 67, 0.55);
  background: rgba(31, 31, 31, 0.18);
  padding: 48px 32px 40px;
  text-align: center;
  margin-bottom: 72px;
  scroll-margin-top: 64px;
}
.degustacao .eyebrow {
  font-family: var(--opensans);
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--bege);
  margin-bottom: 2px;
}
.degustacao h3 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: clamp(38px, 4vw, 48px);
  line-height: 1.15;
  color: var(--dourado);
  margin-bottom: 4px;
  padding: 0;
  border: 0;
}
.degustacao .preco-deg { font-family: var(--opensans); font-size: 14px; color: var(--branco); margin-bottom: 36px; }
.tempo { margin-bottom: 22px; }
.tempo p { font-size: 16px; line-height: 1.7; color: var(--branco); }
.tempo .escolha { font-style: italic; color: var(--bege); }
.degustacao .harm {
  margin-top: 30px;
  font-family: var(--opensans);
  font-size: 13px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--bege);
}

.executivo {
  border-left: 3px solid var(--terracota);
  background: rgba(31, 31, 31, 0.3);
  padding: 26px 28px;
  margin: 0 0 64px;
}
.executivo h3 {
  font-family: var(--abhaya);
  font-weight: 600;
  font-size: 30px;
  line-height: 1.2;
  color: var(--dourado);
  margin-bottom: 6px;
}
.executivo p { font-size: 15px; line-height: 1.6; color: #d9cec4; }
.executivo .preco-exec { display: block; margin-top: 8px; font-size: 16px; font-weight: 500; color: var(--branco); }

.duas-colunas { display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px; }
.colunas-2 .item-desc { margin-bottom: 18px; }
.lista-simples .item { margin-bottom: 10px; }

.vinho { margin-bottom: 18px; }
.vinho .item { margin-bottom: 0; }
.vinho .produtor { font-weight: 400; color: #d9cec4; }
.origem { font-family: var(--opensans); font-size: 13px; color: var(--bege); }
.cachaca { margin-bottom: 20px; }
.cachaca .madeira { font-size: 14px; color: #d9cec4; }

.cta-final { text-align: center; padding: 48px 20px 30px; }

@media (max-width: 700px) {
  .cardapio-topo { padding: 96px 20px 72px; }
  .carta { padding: 72px 16px 16px; }
  .duas-colunas { grid-template-columns: 1fr; }
  .degustacao { padding: 36px 18px 30px; }
  .tempo p { font-size: 15px; }
  .sep { padding: 0 5px; }
  .secao h3 { font-size: 28px; }
  .barra-cartas ul { justify-content: flex-start; gap: 22px; }
}

/* ---------- Chave de idioma (PT · EN · ES) ---------- */
.topo-direita { display: flex; align-items: center; gap: 14px; }
.chave-idioma {
  display: inline-flex;
  align-items: center;
  font-family: var(--opensans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 1px;
}
.chave-idioma a, .chave-idioma .atual { text-decoration: none; padding: 4px 1px; }
.chave-idioma a { color: var(--bege); transition: color 0.2s ease; }
.chave-idioma a:hover { color: var(--branco); }
.chave-idioma .atual { color: var(--dourado); }
.chave-idioma .sep-idioma { color: rgba(204, 184, 169, 0.5); padding: 0 7px; }
.no-topo { margin-top: 6px; }
.no-painel { margin-top: 18px; font-size: 14px; letter-spacing: 1.4px; }
.aviso-moeda { margin-bottom: 34px; }
@media (max-width: 700px) {
  .topo-direita { gap: 8px; }
  .chave-idioma { font-size: 11px; letter-spacing: 0.6px; }
  .chave-idioma .sep-idioma { padding: 0 4px; }
}

/* ---------- 404 trilíngue e aviso da página de reservas ---------- */
.erro-bloco { margin-bottom: 46px; }
.erro-bloco:last-child { margin-bottom: 0; }
.erro-bloco h2 {
  font-family: var(--abhaya);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 30px);
  color: var(--bege);
  margin-bottom: 18px;
}
.reservas-ajuda {
  max-width: 680px;
  margin: 0 auto 26px;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
  color: #d9cec4;
}
