/* ============ TOKENS ============ */
:root{
  --charcoal:#2A211B;
  --charcoal-2:#332822;
  --charcoal-3:#241C16;
  --kraft:#F3E6CE;
  --kraft-2:#EAD9B8;
  --rust:#C1521A;
  --rust-dark:#9A3F14;
  --mustard:#E3A63B;
  --tomato:#A8342A;
  --olive:#6B7A3D;
  --cream-text:#F6ECD9;
  --muted-dark:#B8A588;
  --muted-light:#6B5D4C;

  --font-display:'Fraunces', serif;
  --font-body:'Nunito', sans-serif;
  --font-accent:'Caveat', cursive;

  --ease:cubic-bezier(0.22, 1, 0.36, 1);
  --header-h:76px;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; scroll-padding-top:calc(var(--header-h) + 12px); }

body{
  font-family:var(--font-body);
  background:var(--kraft);
  color:var(--charcoal);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

h1,h2,h3{ font-family:var(--font-display); }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

/* ============ TEXTURE / GRAIN ============ */
.grain{ position:relative; }
.grain::before{
  content:"";
  position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size:3px 3px;
  pointer-events:none;
  mix-blend-mode:overlay;
}

#embers{
  position:fixed; inset:0;
  width:100%; height:100%;
  pointer-events:none;
  z-index:1;
  opacity:0.5;
}

.section-inner{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* Garante que nenhuma seção fique escondida atrás do header fixo
   ao navegar por âncora (clique no menu) */
#cardapio, #ambiente, #historia, #contato{
  scroll-margin-top:calc(var(--header-h) + 12px);
}

/* ============ SCROLL REVEAL ============ */
[data-reveal]{
  opacity:0;
  transform:translateY(24px);
  transition:opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal].is-visible{
  opacity:1;
  transform:translateY(0);
}

/* ============ PHOTO SLOT ============ */
.photo-slot{
  background:repeating-linear-gradient(135deg, rgba(42,33,27,0.06) 0 10px, rgba(42,33,27,0.02) 10px 20px);
  border:1.5px dashed rgba(42,33,27,0.25);
  border-radius:16px;
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:8px; color:#8A7A63; text-align:center; flex-shrink:0;
  transition:border-color 0.3s, background 0.3s;
  overflow:hidden;
}
.photo-slot:hover{ border-color:rgba(193,82,26,0.5); }
.photo-slot.dark{
  background:repeating-linear-gradient(135deg, rgba(246,236,217,0.06) 0 10px, rgba(246,236,217,0.02) 10px 20px);
  border-color:rgba(246,236,217,0.25); color:var(--muted-dark);
}
.photo-slot img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  object-position:center;
}

/* Se a imagem falhar ao carregar (arquivo ainda não existe na pasta img/),
   mostra um aviso discreto no lugar do ícone quebrado do navegador */
.photo-slot.img-fallback{
  display:flex;
}
.photo-slot.img-fallback::after{
  content:"Foto não encontrada";
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:0.4px;
  opacity:0.7;
}

/* ============ BUTTONS ============ */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:800; font-size:15px;
  padding:14px 26px;
  border-radius:100px;
  border:none;
  transition:transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  white-space:nowrap;
}
.btn:active{ transform:scale(0.96); }
.btn-primary{
  background:var(--rust); color:#fff;
  box-shadow:0 8px 20px rgba(193,82,26,0.35);
}
.btn-primary:hover{ background:var(--rust-dark); box-shadow:0 10px 26px rgba(193,82,26,0.45); transform:translateY(-2px); }
.btn-ghost{
  background:transparent; color:var(--cream-text);
  border:1.5px solid rgba(246,236,217,0.3);
}
.btn-ghost:hover{ background:rgba(246,236,217,0.08); border-color:rgba(246,236,217,0.55); }
.btn-dark{
  background:var(--charcoal); color:var(--cream-text);
}
.btn-dark:hover{ background:var(--charcoal-3); transform:translateY(-2px); }
.btn-sm{ padding:10px 18px; font-size:13px; }

/* ============ HEADER ============ */
.site-header{
  position:fixed; top:0; left:0; right:0;
  z-index:100;
  background:rgba(42,33,27,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(246,236,217,0.08);
  transition:background 0.3s, box-shadow 0.3s;
}
.site-header.is-scrolled{
  box-shadow:0 8px 24px rgba(0,0,0,0.25);
}
.header-inner{
  max-width:1280px; margin:0 auto;
  height:var(--header-h);
  padding:0 24px;
  display:flex; align-items:center; justify-content:space-between;
  gap:20px;
}
.logo{ display:flex; align-items:center; gap:9px; }
.logo-img{ height:44px; width:auto; border-radius:10px; display:block; }
.logo-mark{ width:26px; height:26px; color:var(--rust); }
.logo-mark svg{ width:100%; height:100%; }
.logo-text{
  font-family:var(--font-display); font-weight:900; font-size:21px; color:var(--cream-text);
  letter-spacing:-0.3px;
}
.main-nav{ display:none; align-items:center; gap:30px; }
.nav-link{
  font-size:14.5px; font-weight:700; color:var(--cream-text);
  position:relative; padding:4px 0; opacity:0.85;
  transition:opacity 0.2s;
}
.nav-link::after{
  content:""; position:absolute; left:0; right:0; bottom:-4px; height:2px;
  background:var(--rust); transform:scaleX(0); transform-origin:left;
  transition:transform 0.25s var(--ease);
}
.nav-link:hover{ opacity:1; }
.nav-link:hover::after{ transform:scaleX(1); }

.header-actions{ display:flex; align-items:center; gap:14px; }
.header-actions .btn-sm{ display:none; }

.nav-toggle{
  width:38px; height:38px;
  background:transparent; border:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
}
.nav-toggle span{
  width:20px; height:2px; background:var(--cream-text); border-radius:2px;
  transition:transform 0.3s var(--ease), opacity 0.3s;
}
.nav-toggle.is-open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity:0; }
.nav-toggle.is-open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position:fixed; top:var(--header-h); left:0; right:0;
  background:var(--charcoal); z-index:99;
  display:flex; flex-direction:column;
  padding:0 24px;
  gap:4px;
  max-height:0; overflow:hidden;
  visibility:hidden;
  pointer-events:none;
  transition:max-height 0.4s var(--ease), visibility 0s linear 0.4s, padding 0.4s var(--ease);
  border-bottom:1px solid rgba(246,236,217,0.08);
}
.mobile-nav.is-open{
  max-height:400px;
  padding:12px 24px 24px;
  visibility:visible;
  pointer-events:auto;
  transition:max-height 0.4s var(--ease), padding 0.4s var(--ease);
}
.mobile-nav-link{
  padding:14px 4px; font-size:16px; font-weight:700; color:var(--cream-text);
  border-bottom:1px solid rgba(246,236,217,0.08);
}
.mobile-cta{ margin-top:14px; width:100%; }

/* ============ HERO ============ */
.hero{
  background:var(--charcoal); color:var(--cream-text);
  padding:calc(var(--header-h) + 48px) 24px 64px;
  position:relative; overflow:hidden;
  isolation:isolate;
}
.hero-inner{
  max-width:1200px; margin:0 auto;
  display:flex; flex-direction:column; gap:40px;
  position:relative; z-index:2;
}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(227,166,59,0.12); border:1px solid rgba(227,166,59,0.4);
  padding:7px 15px; border-radius:100px; font-size:12px; font-weight:700;
  letter-spacing:0.5px; text-transform:uppercase; color:var(--mustard); margin-bottom:22px;
}
.badge-dot{
  width:7px; height:7px; border-radius:50%; background:var(--mustard);
  animation:pulse-dot 1.8s infinite;
}
@keyframes pulse-dot{
  0%,100%{ opacity:1; transform:scale(1); }
  50%{ opacity:0.4; transform:scale(0.75); }
}
.hero-title{
  font-size:clamp(34px, 8vw, 56px);
  font-weight:900; line-height:1.08; margin-bottom:10px; letter-spacing:-0.5px;
}
.hero-title em{ font-style:italic; color:var(--rust); font-weight:600; }
.hero-slogan{
  font-family:var(--font-accent); font-weight:700; font-size:clamp(20px,4vw,26px);
  color:var(--mustard); margin-bottom:20px; display:block;
}
.hero-sub{
  font-size:16px; line-height:1.65; color:#D8C9AE; margin-bottom:30px; max-width:460px;
}
.hero-ctas{ display:flex; gap:12px; margin-bottom:38px; flex-wrap:wrap; }

.stats-strip{
  display:flex; gap:32px; padding-top:28px;
  border-top:1px solid rgba(246,236,217,0.12); flex-wrap:wrap;
}
.stat{ display:flex; flex-direction:column; }
.stat-num{ font-family:var(--font-display); font-weight:900; font-size:26px; color:var(--mustard); }
.stat-label{ font-size:11px; color:var(--muted-dark); text-transform:uppercase; letter-spacing:0.5px; margin-top:3px; }

.hero-right{ display:flex; justify-content:center; }

/* Hero photo frame — moldura rústica para a foto real do burger */
.hero-photo-frame{
  position:relative;
  width:min(360px, 82vw);
}
.hero-photo-frame::before{
  content:"";
  position:absolute;
  inset:-24px;
  background:radial-gradient(circle at 50% 45%, rgba(227,166,59,0.16), transparent 68%);
  border-radius:50%;
  z-index:0;
  pointer-events:none;
}
.hero-photo{
  position:relative;
  z-index:1;
  width:100%;
  aspect-ratio:1/1;
  border-radius:28px;
  border:none;
  box-shadow:0 30px 60px rgba(0,0,0,0.45);
}
.hero-photo-frame{ border:none; }

.steam{
  position:absolute; width:3px; border-radius:10px;
  background:rgba(255,255,255,0.18); filter:blur(2.5px);
  animation:rise 3.2s ease-in-out infinite;
}
.steam.s1{ top:8%; left:38%; height:30px; animation-delay:0.2s; }
.steam.s2{ top:12%; left:56%; height:22px; animation-delay:1.1s; }
@keyframes rise{
  0%{ opacity:0; transform:translateY(0) scaleY(0.6); }
  30%{ opacity:0.6; }
  100%{ opacity:0; transform:translateY(-40px) scaleY(1.3); }
}

.scroll-cue{
  position:absolute; bottom:20px; left:50%; transform:translateX(-50%);
  z-index:2;
}
.scroll-cue span{
  display:block; width:1px; height:34px;
  background:linear-gradient(to bottom, transparent, var(--mustard));
  animation:scrollcue 1.8s ease-in-out infinite;
}
@keyframes scrollcue{
  0%{ transform:scaleY(0); transform-origin:top; opacity:0; }
  40%{ transform:scaleY(1); transform-origin:top; opacity:1; }
  60%{ transform:scaleY(1); transform-origin:bottom; opacity:1; }
  100%{ transform:scaleY(0); transform-origin:bottom; opacity:0; }
}

/* ============ SECTION HEAD ============ */
.section-head{ text-align:center; margin-bottom:36px; }
.eyebrow{
  font-family:var(--font-accent); font-weight:700; font-size:22px;
  color:var(--rust-dark); display:block; margin-bottom:6px;
}
.eyebrow-light{ color:var(--mustard); }
.section-head h2{ font-size:clamp(26px,4vw,32px); font-weight:900; color:var(--charcoal); }
.process-section .section-head h2{ color:var(--cream-text); }
.section-desc{ font-size:14px; color:var(--muted-light); margin-top:10px; }

/* ============ MENU SECTION ============ */
.menu-section{ padding:64px 0 72px; background:var(--kraft); }

.menu-tabs{
  display:flex; justify-content:center; gap:6px;
  position:relative;
  margin-bottom:40px;
  background:#fff;
  border:1px solid var(--kraft-2);
  border-radius:100px;
  padding:5px;
  max-width:460px;
  margin-left:auto; margin-right:auto;
}
.tab-btn{
  flex:1;
  background:transparent; border:none;
  padding:11px 14px;
  font-size:13.5px; font-weight:800; color:var(--muted-light);
  border-radius:100px;
  position:relative; z-index:2;
  transition:color 0.3s;
  white-space:nowrap;
}
.tab-btn.is-active{ color:#fff; }
.tab-indicator{
  position:absolute; top:5px; left:5px; height:calc(100% - 10px);
  background:var(--rust);
  border-radius:100px;
  z-index:1;
  transition:transform 0.35s var(--ease), width 0.35s var(--ease);
}

.menu-panel{ display:none; }
.menu-panel.is-active{ display:block; animation:panelFade 0.4s var(--ease); }
@keyframes panelFade{ from{ opacity:0; transform:translateY(8px);} to{ opacity:1; transform:translateY(0);} }

.menu-grid{
  display:grid; grid-template-columns:1fr; gap:22px;
}
.menu-card{
  background:#fff; border-radius:20px; overflow:hidden;
  box-shadow:0 6px 18px rgba(42,33,27,0.08); border:1px solid var(--kraft-2);
  transition:transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.menu-card:hover{ transform:translateY(-5px); box-shadow:0 16px 32px rgba(42,33,27,0.14); }
.menu-card .photo-slot{ width:100%; height:160px; border-radius:0; border-left:none; border-right:none; border-top:none; }
.menu-info{ padding:20px 22px; }
.menu-top{ display:flex; justify-content:space-between; align-items:flex-start; gap:10px; margin-bottom:7px; }
.menu-info h3{ font-size:18px; font-weight:600; color:var(--charcoal); }
.price{ font-weight:800; color:var(--rust-dark); font-size:15px; white-space:nowrap; }
.menu-info p{ font-size:13.5px; color:var(--muted-light); line-height:1.6; margin-bottom:12px; }
.chip-row{ display:flex; gap:6px; flex-wrap:wrap; }
.chip{
  font-size:10.5px; font-weight:700; text-transform:uppercase; letter-spacing:0.3px;
  padding:5px 11px; border-radius:100px; background:var(--kraft); color:var(--rust-dark);
}
.menu-grid-simple{ grid-template-columns:1fr; gap:16px; }
.menu-card-simple .menu-info{ padding:20px; }
.menu-card-simple p{ margin-bottom:0; }

/* ============ AMBIENTE ============ */
.ambiente-section{ background:#fff; padding:64px 0; }
.ambiente-content{ display:flex; flex-direction:column; gap:36px; }
.ambiente-text h2{ margin-bottom:2px; }
.ambiente-text p{ font-size:15px; line-height:1.75; color:var(--muted-light); margin-top:14px; max-width:480px; }
.ambiente-gallery{ display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.ambiente-gallery .photo-slot.big{ grid-column:1/-1; height:220px; }
.ambiente-gallery .photo-slot{ height:150px; }
.ambiente-feats{ display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.feat{
  display:flex; align-items:center; gap:9px;
  background:var(--kraft); padding:11px 17px; border-radius:100px;
  font-size:13px; font-weight:700; color:var(--charcoal);
  transition:background 0.25s, transform 0.25s;
}
.feat:hover{ background:var(--kraft-2); transform:translateY(-2px); }
.feat svg{ width:16px; height:16px; color:var(--rust); flex-shrink:0; }

/* ============ PROCESS ============ */
.process-section{ background:var(--charcoal-2); color:var(--cream-text); padding:64px 0; position:relative; }
.process-list{ display:flex; flex-direction:column; gap:28px; max-width:640px; margin:8px auto 0; }
.process-item{ display:flex; gap:20px; align-items:flex-start; }
.process-item .mark{
  font-family:var(--font-display); font-style:italic; font-weight:600; font-size:21px;
  color:var(--mustard); width:44px; flex-shrink:0;
}
.process-item h3{ font-size:17px; font-weight:600; margin-bottom:5px; }
.process-item p{ font-size:14px; color:var(--muted-dark); line-height:1.6; }

/* ============ CTA BANNER ============ */
.cta-banner{ background:var(--rust); color:#fff; padding:56px 0; text-align:center; position:relative; overflow:hidden; }
.cta-inner h2{ font-size:clamp(24px,4vw,30px); font-weight:900; margin-bottom:10px; }
.cta-inner p{ font-size:14.5px; margin-bottom:26px; opacity:0.92; }

/* ============ FOOTER ============ */
.site-footer{ background:var(--charcoal); color:var(--muted-dark); padding:48px 0 0; }
.footer-inner{ display:flex; flex-direction:column; gap:32px; padding-bottom:32px; }
.footer-brand p{ font-size:13.5px; max-width:280px; margin-top:10px; line-height:1.6; }
.footer-cols{ display:flex; flex-wrap:wrap; gap:36px; }
.footer-col{ display:flex; flex-direction:column; gap:9px; font-size:13.5px; }
.footer-col strong{ color:var(--cream-text); font-size:13.5px; margin-bottom:2px; }
.footer-col a{ transition:color 0.2s; }
.footer-col a:hover{ color:var(--mustard); }
.footer-bottom{
  border-top:1px solid rgba(199,183,154,0.15);
  padding:18px 24px 24px;
  font-size:12px; display:flex; flex-direction:column; gap:6px;
}
.footer-bottom .credit{ color:var(--mustard); font-weight:700; }

/* ============ WHATSAPP FLOAT ============ */
.whats-float{
  position:fixed; bottom:22px; right:22px; z-index:90;
  width:56px; height:56px; border-radius:50%;
  background:var(--rust); color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 26px rgba(193,82,26,0.45);
  transition:transform 0.25s var(--ease);
}
.whats-float:hover{ transform:scale(1.08); }
.whats-float svg{ width:26px; height:26px; }
.whats-pulse{
  position:absolute; inset:0; border-radius:50%;
  border:2px solid var(--rust);
  animation:whats-pulse 2.2s ease-out infinite;
}
@keyframes whats-pulse{
  0%{ transform:scale(1); opacity:0.6; }
  100%{ transform:scale(1.7); opacity:0; }
}

/* ============ SCROLLBAR ESCONDIDA ============ */
html, body{ scrollbar-width:none; -ms-overflow-style:none; }
html::-webkit-scrollbar, body::-webkit-scrollbar{ display:none; width:0; height:0; }

/* ============ RESPONSIVE ============ */
@media (min-width:640px){
  .menu-grid-simple{ grid-template-columns:1fr 1fr; }
}

@media (min-width:860px){
  .main-nav{ display:flex; }
  .header-actions .btn-sm{ display:inline-flex; }
  .nav-toggle{ display:none; }

  .hero{ padding:calc(var(--header-h) + 70px) 24px 90px; }
  .hero-inner{ flex-direction:row; align-items:center; justify-content:space-between; }
  .hero-left{ flex:1; max-width:560px; }
  .hero-right{ flex:1; }

  .menu-grid{ grid-template-columns:1fr 1fr; }
  .menu-grid-simple{ grid-template-columns:1fr 1fr 1fr; }

  .ambiente-content{ flex-direction:row; align-items:center; gap:60px; }
  .ambiente-text, .ambiente-gallery{ flex:1; }

  .footer-inner{ flex-direction:row; justify-content:space-between; }
  .footer-bottom{ flex-direction:row; justify-content:space-between; padding-left:24px; padding-right:24px; }
}

@media (min-width:1100px){
  .menu-grid{ grid-template-columns:repeat(3, 1fr); }
}