/* ============================================================
   Nómada — Hamburgueria & SteakHouse
   Paleta: dourado #b0963b · preto #0e0c08 · creme #f8f3e8
   ============================================================ */

:root {
  --gold: #b0963b;
  --gold-light: #d8bc5e;
  --gold-soft: rgba(176, 150, 59, 0.14);
  --black: #0e0c08;
  --black-2: #17140e;
  --black-3: #201c14;
  --cream: #f8f3e8;
  --cream-2: #efe7d4;
  --ink: #2a2519;
  --red: #af1d00;
  --radius: 14px;
  --font-display: 'Baloo 2', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
}

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

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

h2 {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.5em;
}

.center { text-align: center; }

.section-kicker {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold);
  margin-bottom: 0.6em;
}

.section-kicker::after {
  content: '';
  display: inline-block;
  width: 42px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  margin-left: 12px;
  vertical-align: middle;
}

.section-kicker.center::after { display: none; }

.section-kicker.center::before,
.section-kicker.center { display: block; }

/* ---------- Botões ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
  padding: 0.9em 1.9em 0.8em;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
  cursor: pointer;
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--black);
}

.btn-gold:hover { background: var(--gold-light); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(248, 243, 232, 0.5);
}

.btn-outline:hover { border-color: var(--gold-light); color: var(--gold-light); }

.btn-small { font-size: 0.9rem; padding: 0.55em 1.3em; }

.text-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover { text-decoration: underline; }

/* ---------- Navegação ---------- */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(14, 12, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(176, 150, 59, 0.25);
}

.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.65rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.nav-logo { height: 26px; width: auto; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav-links a:not(.btn) {
  color: var(--cream);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.nav-links a:not(.btn):hover::after { width: 100%; }

.lang-switch {
  display: flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(176, 150, 59, 0.4);
  border-radius: 999px;
}

.lang-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  background: none;
  border: none;
  color: rgba(248, 243, 232, 0.65);
  padding: 0.3em 0.65em;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.lang-btn:hover { color: var(--gold-light); }

.lang-btn.active {
  background: var(--gold);
  color: var(--black);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  padding: 0;
  position: relative;
  margin-right: -8px;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  margin-left: -12px;
  border-radius: 2px;
  background: var(--gold);
  transition: transform 0.25s ease, opacity 0.15s ease;
}

.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }

.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--black);
  color: var(--cream);
  overflow: hidden;
  padding: 7rem 1.4rem 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  filter: saturate(0.9);
}

.hero-bg.has-image { opacity: 0.4; }

.hero-content { position: relative; max-width: 780px; }

.hero-logo {
  height: clamp(150px, 24vh, 230px);
  margin: 0 auto 1.2rem;
}

.hero-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--gold-light);
  margin-bottom: 0.8rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 0.5rem;
}

.hero-sub {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  color: rgba(248, 243, 232, 0.85);
  max-width: 620px;
  margin: 0 auto 2rem;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Faixa de destaques ---------- */

.ribbon {
  background: var(--gold);
  color: var(--black);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 3rem;
  padding: 0.9rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.ribbon-item { display: flex; align-items: center; }

/* ---------- Secções ---------- */

.section { padding: 5.5rem 1.4rem; }

.section-inner { max-width: 1180px; margin: 0 auto; }

.section-dark {
  background: var(--black-2);
  color: var(--cream);
}

.section-dark h2 { color: var(--cream); }

/* ---------- Sobre ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.2rem;
  align-items: center;
}

.photo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--black-2);
  box-shadow: 0 6px 22px rgba(14, 12, 8, 0.14);
  position: relative;
}

.photo-frame img.photo { width: 100%; height: 100%; object-fit: cover; }

.photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: rgba(248, 243, 232, 0.45);
  font-family: var(--font-display);
  background: var(--black-2);
}

.photo-placeholder img { height: 90px; opacity: 0.5; }

.about-text p { margin-bottom: 1em; font-size: 1.05rem; }

/* ---------- Menu ---------- */

.menu-note {
  max-width: 640px;
  margin: 0 auto 2.4rem;
  color: rgba(248, 243, 232, 0.75);
  font-style: italic;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-bottom: 2.6rem;
}

.menu-tab {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.55em 1.5em;
  border-radius: 999px;
  border: 2px solid rgba(176, 150, 59, 0.5);
  background: transparent;
  color: var(--gold-light);
  cursor: pointer;
  transition: all 0.18s ease;
}

.menu-tab:hover { border-color: var(--gold-light); }

.menu-tab.active {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

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

.menu-item {
  background: rgba(248, 243, 232, 0.04);
  border: 1px solid rgba(176, 150, 59, 0.25);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  transition: border-color 0.18s ease;
}

.menu-item:hover {
  border-color: rgba(176, 150, 59, 0.55);
}

.menu-item-head {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
}

.menu-item-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--cream);
}

.menu-item-dots {
  flex: 1;
  border-bottom: 2px dotted rgba(176, 150, 59, 0.4);
  transform: translateY(-4px);
}

.menu-item-price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.12rem;
  color: var(--gold-light);
  white-space: nowrap;
}

.menu-item-desc { color: rgba(248, 243, 232, 0.7); font-size: 0.95rem; }

/* ---------- Galeria ---------- */

.gallery {
  columns: 3 300px;
  column-gap: 1.1rem;
  margin-top: 2.2rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: 0 4px 16px rgba(14, 12, 8, 0.12);
}

.gallery-item img { width: 100%; }

.gallery-item .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2rem 1rem 0.8rem;
  background: linear-gradient(transparent, rgba(14, 12, 8, 0.85));
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover .caption { opacity: 1; }

.gallery-empty {
  column-span: all;
  text-align: center;
  padding: 3rem 1rem;
  border: 2px dashed rgba(176, 150, 59, 0.4);
  border-radius: var(--radius);
  color: rgba(42, 37, 25, 0.55);
  font-family: var(--font-display);
}

/* ---------- Avaliações ---------- */

.reviews-summary {
  text-align: center;
  margin-bottom: 2.2rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--gold-light);
}

.reviews-summary .big-stars { font-size: 1.7rem; letter-spacing: 0.15em; }

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.2rem;
  max-width: 1050px;
  margin: 0 auto;
}

.review-card {
  background: rgba(248, 243, 232, 0.05);
  border: 1px solid rgba(176, 150, 59, 0.25);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.review-stars { color: var(--gold-light); letter-spacing: 0.12em; font-size: 1.05rem; }

.review-text { color: rgba(248, 243, 232, 0.85); font-size: 0.98rem; flex: 1; }

.review-author {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--cream);
  font-size: 0.95rem;
}

.review-time { color: rgba(248, 243, 232, 0.5); font-size: 0.85rem; }

.review-cta { margin-top: 2.8rem; }

.review-cta p { margin-bottom: 1rem; color: rgba(248, 243, 232, 0.8); }

/* ---------- Contactos ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  box-shadow: 0 4px 16px rgba(14, 12, 8, 0.07);
  border-top: 3px solid var(--gold);
}

.contact-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--black);
}

.contact-card h3.mt { margin-top: 1.4rem; }

.contact-card p { margin-bottom: 0.3rem; }

.socials { display: flex; gap: 0.8rem; margin-top: 0.8rem; }

.socials a {
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.socials a:hover { text-decoration: underline; }

.hours { width: 100%; border-collapse: collapse; }

.hours td { padding: 0.55em 0; border-bottom: 1px dashed var(--cream-2); }

.hours tr:last-child td { border-bottom: none; }

.hours td:first-child { font-weight: 700; }

.hours td:last-child { text-align: right; }

.hours .closed { color: var(--red); font-weight: 700; }

.contact-map {
  grid-column: 1 / -1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(14, 12, 8, 0.1);
  min-height: 360px;
}

.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; }

/* ---------- Rodapé ---------- */

.footer {
  background: var(--black);
  color: rgba(248, 243, 232, 0.65);
  text-align: center;
  padding: 3rem 1.4rem 2.2rem;
}

.footer-logo { height: 74px; margin: 0 auto 0.9rem; opacity: 0.9; }

.footer-name {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.footer-legal { font-size: 0.85rem; }

.footer-links { margin-top: 0.6rem; font-size: 0.85rem; }

.footer-links a { color: var(--gold); text-decoration: underline; }

.footer-credit {
  margin-top: 1.4rem;
  font-size: 0.78rem;
  color: rgba(248, 243, 232, 0.4);
}

.footer-credit a { color: rgba(248, 243, 232, 0.55); text-decoration: underline; }

.phone-note {
  display: block;
  font-size: 0.82rem;
  color: rgba(42, 37, 25, 0.65);
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(14, 12, 8, 0.94);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  border-radius: 14px;
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

.lightbox-caption {
  color: var(--cream);
  margin-top: 1rem;
  font-family: var(--font-display);
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.6rem;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.8rem;
  cursor: pointer;
}

/* ---------- Responsivo ---------- */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .photo-frame { aspect-ratio: 16 / 10; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media (max-width: 760px) {
  .nav-inner { padding: 0.55rem 1.1rem; }
  .nav-logo { height: 22px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #0e0c08;
    padding: 0.4rem 1.1rem 1.2rem;
    border-bottom: 1px solid rgba(176, 150, 59, 0.25);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
    max-height: calc(100svh - 100%);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a:not(.btn) {
    padding: 0.95rem 0.2rem;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(176, 150, 59, 0.14);
  }

  .nav-links a:not(.btn)::after { display: none; }

  .nav-links .btn {
    margin-top: 1rem;
    text-align: center;
    padding: 0.85rem 1rem;
  }

  .lang-switch {
    margin-top: 1rem;
    align-self: flex-start;
  }

  .lang-btn { padding: 0.45em 0.9em; font-size: 0.85rem; }

  .nav-toggle { display: block; }
  .section { padding: 4rem 1.2rem; }
}
