/* ============================================
   ALTO FOGO - Buffet de Churrasco Premium
   Design: Brasa Viva (Cinematic Scroll)
   Paleta: Preto + Dourado (#B8860B) + Tons de Fogo
   ============================================ */

:root {
  --black: #0c0b0a;
  --black-2: #131210;
  --black-3: #1b1916;
  --gold: #c89b3c;
  --gold-light: #e0bd6a;
  --gold-dark: #a07d2c;
  --fire-orange: #c2682a;
  --fire-red: #8a2f1f;
  --text: #e8e2d4;
  --text-muted: #9a9183;
  --text-dim: #6b6357;
  --border: #2a2722;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

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

::selection { background: rgba(200,155,60,0.3); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: #3a352d; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', Georgia, serif; font-weight: 600; line-height: 1.1; }

/* ============ DIVIDERS ============ */
.divider { display: flex; align-items: center; gap: 1rem; }
.divider.center { justify-content: center; }
.divider .line { height: 1px; width: 3rem; background: var(--gold); }
.hero .divider .line { background: linear-gradient(90deg, transparent, var(--gold)); width: 5rem; }
.divider .diamond { width: 7px; height: 7px; transform: rotate(45deg); background: var(--gold); }
.divider .flame { color: var(--gold); font-size: 0.7rem; }

/* ============ BUTTONS ============ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--gold);
  color: var(--black);
  font-weight: 600; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  border-radius: 3px;
  transition: all 0.3s var(--ease-out);
  box-shadow: 0 8px 30px rgba(200,155,60,0.2);
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-gold:active { transform: scale(0.97); }
.btn-gold .wa-icon { width: 1.15rem; height: 1.15rem; fill: currentColor; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: all 0.5s var(--ease-out);
  background: transparent;
}
.navbar.scrolled {
  background: rgba(10,9,8,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
  border-bottom: 1px solid rgba(200,155,60,0.15);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.nav-logo img { height: 56px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links > a {
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text);
  transition: color 0.3s;
}
.nav-links > a:hover { color: var(--gold); }
.nav-cta {
  padding: 0.65rem 1.4rem; background: var(--gold); color: var(--black) !important;
  border-radius: 3px; font-weight: 600 !important;
  transition: all 0.3s var(--ease-out);
}
.nav-cta:hover { background: var(--gold-light); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text); transition: 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 120%; top: -10%; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,0.7), rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.85)); }
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.7) 100%); }
.hero-content { position: relative; z-index: 10; text-align: center; padding: 0 1.25rem; max-width: 800px; }
.hero-logo img { width: 17rem; max-width: 75vw; margin: 0 auto 2rem; filter: drop-shadow(0 10px 40px rgba(0,0,0,0.6)); }
.hero-tagline { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(1.3rem, 4vw, 2.2rem); color: #f0e8d6; letter-spacing: 0.02em; margin-bottom: 1.5rem; }
.hero .divider { margin: 2rem 0; }
.hero-subtitle { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--text-muted); margin-bottom: 2.5rem; }
.hero-scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); animation: bounce 2s infinite; }
.hero-scroll svg { width: 28px; height: 28px; fill: none; stroke: rgba(200,155,60,0.6); stroke-width: 2; }
@keyframes bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* ============ SECTIONS ============ */
.section { position: relative; padding: 7rem 0; }
.section-head { text-align: center; margin-bottom: 4rem; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.3em; font-size: 0.7rem; font-weight: 500; }
.section-head h2 { font-size: clamp(2.5rem, 6vw, 4rem); color: #f0ece0; margin: 1rem 0 1.5rem; }

/* SOBRE */
.sobre { overflow: hidden; }
.sobre-bg { position: absolute; inset: 0; opacity: 0.12; }
.sobre-bg img { width: 100%; height: 100%; object-fit: cover; }
.sobre::after { content:''; position: absolute; inset: 0; background: linear-gradient(to bottom, var(--black), rgba(12,11,10,0.85), var(--black)); }
.sobre .container { position: relative; z-index: 2; }
.sobre-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; max-width: 1000px; margin: 0 auto; }
.sobre-text .lead { font-size: 1.25rem; color: var(--text); font-weight: 300; margin-bottom: 1.5rem; }
.sobre-text .lead strong { color: var(--gold); font-weight: 500; }
.sobre-text p { color: var(--text-muted); margin-bottom: 1rem; }
.sobre-cards { display: flex; flex-direction: column; gap: 1rem; }
.sobre-card { display: flex; gap: 1rem; padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: 3px; background: rgba(19,18,16,0.5); }
.sobre-card .bar { width: 3px; align-self: stretch; min-height: 3rem; background: linear-gradient(to bottom, var(--gold), var(--fire-orange)); border-radius: 2px; }
.sobre-card .label { color: var(--gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500; }
.sobre-card p { color: var(--text); font-weight: 300; margin-top: 0.25rem; }

/* CARDÁPIO */
.cardapio { background: var(--black-2); }
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.65rem; margin-bottom: 3rem; }
.menu-tab {
  padding: 0.55rem 1.1rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em;
  font-weight: 500; border: 1px solid var(--border); border-radius: 3px; background: transparent;
  color: var(--text-muted); cursor: pointer; transition: all 0.3s;
}
.menu-tab:hover { border-color: rgba(200,155,60,0.5); color: var(--text); }
.menu-tab.active { background: var(--gold); color: var(--black); border-color: var(--gold); }
.menu-content { max-width: 1000px; margin: 0 auto; }
.menu-cat-head { text-align: center; margin-bottom: 2.5rem; }
.menu-cat-head h3 { font-size: clamp(1.6rem, 4vw, 2.2rem); color: var(--gold); margin-bottom: 0.5rem; }
.menu-cat-head p { color: var(--text-dim); font-style: italic; font-family: 'Cormorant Garamond', serif; font-size: 1.1rem; }
.menu-items { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.menu-item { display: flex; gap: 0.75rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 3px; background: rgba(19,18,16,0.5); transition: all 0.3s; }
.menu-item:hover { border-color: rgba(200,155,60,0.3); background: rgba(27,25,22,0.8); }
.menu-item .dot { width: 7px; height: 7px; margin-top: 0.55rem; transform: rotate(45deg); background: var(--gold); flex-shrink: 0; opacity: 0.6; transition: opacity 0.3s; }
.menu-item:hover .dot { opacity: 1; }
.menu-item h4 { font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 500; color: #f0ece0; }
.menu-item p { font-size: 0.85rem; color: var(--text-dim); margin-top: 0.25rem; font-weight: 300; }
.menu-highlight { margin-top: 2rem; position: relative; border-radius: 4px; overflow: hidden; }
.menu-highlight img { width: 100%; height: 16rem; object-fit: cover; }
.menu-highlight .cap { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3) 60%, transparent); display: flex; align-items: flex-end; padding: 1.5rem; }
.menu-highlight .cap p { color: var(--text); font-weight: 300; font-size: 0.95rem; max-width: 32rem; }

/* GALERIA */
.galeria { background: var(--black-3); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.gallery-item { position: relative; overflow: hidden; border-radius: 4px; cursor: pointer; aspect-ratio: 1; }
.gallery-item.big { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease-out); }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item .cap { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75), transparent 50%); display: flex; align-items: flex-end; padding: 1rem; opacity: 0; transition: opacity 0.4s; }
.gallery-item:hover .cap { opacity: 1; }
.gallery-item .cap span { color: #fff; font-size: 0.85rem; font-weight: 300; }
.gallery-item::after { content:''; position: absolute; inset: 0; border: 2px solid var(--gold); border-radius: 4px; opacity: 0; transition: opacity 0.3s; pointer-events: none; }
.gallery-item:hover::after { opacity: 1; }

/* COMO FUNCIONA */
.como-funciona { overflow: hidden; }
.cf-bg { position: absolute; inset: 0; width: 100%; height: 130%; top: -15%; will-change: transform; }
.cf-bg img { width: 100%; height: 100%; object-fit: cover; }
.cf-overlay { position: absolute; inset: 0; background: rgba(10,9,8,0.88); }
.como-funciona .container { position: relative; z-index: 2; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; max-width: 1050px; margin: 0 auto; }
.step { text-align: center; }
.step-num { position: relative; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.step-num .ghost { font-family: 'Cormorant Garamond', serif; font-size: 4.5rem; font-weight: 700; color: rgba(200,155,60,0.15); position: absolute; }
.step-num .real { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--gold); position: relative; }
.step h3 { font-size: 1.5rem; color: #f0ece0; margin-bottom: 0.75rem; }
.step p { color: var(--text-dim); font-size: 0.88rem; font-weight: 300; }

/* CONTATO */
.contato { background: var(--black); border-top: 1px solid rgba(200,155,60,0.15); }
.contato-body { max-width: 768px; margin: 0 auto; }
.contato-lead { text-align: center; color: var(--text-muted); font-size: 1.1rem; font-weight: 300; margin-bottom: 3rem; }
.contato-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 3rem; }
.contato-card { display: flex; align-items: center; gap: 1rem; padding: 1.5rem; border: 1px solid var(--border); border-radius: 3px; background: rgba(19,18,16,0.5); transition: all 0.3s; }
.contato-card:hover { border-color: rgba(200,155,60,0.5); }
.contato-card .ic { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: rgba(200,155,60,0.1); border-radius: 3px; flex-shrink: 0; transition: background 0.3s; }
.contato-card:hover .ic { background: rgba(200,155,60,0.2); }
.contato-card .ic svg { width: 22px; height: 22px; fill: var(--gold); }
.contato-card .label { display: block; color: var(--gold); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 500; }
.contato-card strong { display: block; color: var(--text); font-weight: 300; font-size: 1.05rem; margin-top: 0.25rem; }
.contato-cta { text-align: center; }

/* FOOTER */
.footer { padding: 3rem 0 2rem; background: #08070600; background-color: #070605; border-top: 1px solid #1a1815; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-logo { height: 48px; width: auto; opacity: 0.8; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-links a { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-dim); transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }
.footer-email { font-size: 0.78rem; color: var(--text-dim); transition: color 0.3s; }
.footer-email:hover { color: var(--gold); }
.footer-bottom { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid #1a1815; text-align: center; }
.footer-bottom span { font-size: 0.72rem; color: #4a443b; }

/* WHATSAPP FLOAT */
.wa-float { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 90; width: 56px; height: 56px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 25px rgba(37,211,102,0.3); transition: transform 0.3s var(--ease-out); }
.wa-float:hover { transform: scale(1.1); }
.wa-float:active { transform: scale(0.95); }
.wa-float svg { width: 28px; height: 28px; fill: #fff; position: relative; z-index: 2; }
.wa-pulse { position: absolute; inset: 0; border-radius: 50%; background: #25D366; animation: pulse 2s infinite; opacity: 0.2; }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.3; } 100% { transform: scale(1.6); opacity: 0; } }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,0.95); display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lightbox.open { display: flex; animation: fadeIn 0.3s var(--ease-out); }
.lightbox img { max-width: 100%; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox-close { position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none; color: rgba(255,255,255,0.8); font-size: 2.5rem; line-height: 1; cursor: pointer; transition: color 0.3s; }
.lightbox-close:hover { color: #fff; }
.lightbox p { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.8); font-size: 0.85rem; font-weight: 300; }

/* ============ ANIMATIONS ============ */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.reveal-fade { opacity: 0; transform: translateY(20px); animation: revealFade 1.2s var(--ease-out) forwards; }
.reveal-fade.d1 { animation-delay: 0.3s; }
.reveal-fade.d2 { animation-delay: 0.6s; }
.reveal-fade.d3 { animation-delay: 0.9s; }
.reveal-fade.d4 { animation-delay: 1.2s; }
@keyframes revealFade { to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(35px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.step { opacity: 0; transform: translateY(40px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.step.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .reveal-fade, .reveal, .step { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  .wa-pulse, .hero-scroll { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .sobre-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .nav-links { position: absolute; top: 80px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: rgba(10,9,8,0.98); backdrop-filter: blur(12px); border-top: 1px solid var(--border); padding: 1rem 1.25rem; max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out), padding 0.5s; padding-top: 0; padding-bottom: 0; }
  .nav-links.open { max-height: 420px; padding-top: 1.25rem; padding-bottom: 1.5rem; }
  .nav-links > a { padding: 0.85rem 0; }
  .nav-cta { text-align: center; margin-top: 0.75rem; }
  .nav-toggle { display: flex; }
  .section { padding: 5rem 0; }
  .menu-items { grid-template-columns: 1fr; }
  .contato-cards { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
}
@media (max-width: 560px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.big { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; }
  .steps-grid { grid-template-columns: 1fr; }
}
