.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 40;
  height: var(--header);
  color: #fff;
  background: transparent;
}

.site-header.is-sticky {
  position: fixed;
  height: 90px;
  background: #000;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}

.header-bar {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1360px, calc(100% - 32px));
  margin: 0 auto;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-left { justify-content: flex-end; }
.nav-right { justify-content: flex-start; }

.nav-list a {
  display: block;
  padding: 8px 10px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.3px;
}

.nav-list a:hover { color: var(--gold); }

.logo img {
  display: block;
  width: 150px;
  height: auto;
}

.site-header.is-sticky .logo img { width: 92px; }

.logo-mobile { display: none; }

.burger {
  display: none;
  align-items: center;
  gap: 8px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}

.burger svg { width: 18px; height: 18px; }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 20px;
}

.mobile-panel[hidden] { display: none; }

.mobile-panel a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
}

.mobile-panel a:hover { color: var(--gold); }

.mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.mobile-search {
  margin-top: 18px;
  display: flex;
  width: min(420px, 100%);
}

.mobile-search input {
  flex: 1;
  border: 0;
  border-bottom: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 8px;
  font: inherit;
}

.mobile-search button {
  border: 0;
  background: var(--gold);
  color: #111;
  padding: 8px 14px;
  cursor: pointer;
  text-transform: uppercase;
  font: inherit;
  font-size: 12px;
}

.hero {
  position: relative;
  height: 600px;
  background: #333;
  overflow: hidden;
  color: #fff;
}

.slide {
  position: absolute;
  inset: 0;
  background: #333 center / cover no-repeat;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.is-on { opacity: 1; z-index: 1; }

.slide-copy {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 250px;
}

.slide-copy h1 {
  margin: 0;
  font-size: 60px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #fff;
}

.slide-copy h1 span { color: var(--gold); }

.slide-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 46px;
  height: 70px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  opacity: 0;
}

.hero:hover .slide-nav { opacity: 1; }
.slide-prev { left: 10px; }
.slide-next { right: 10px; }

.welcome {
  background: url("/assets/uploads/2018/09/bg-bem-vindo-home-01.jpg") center / cover fixed;
  padding: 105px 0;
}

.welcome-grid {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  align-items: center;
}

.split {
  width: min(1200px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.split.cardapio { margin-top: 105px; }
.split.buffet { margin-bottom: 105px; }

.welcome h2,
.panel h2,
.news h2,
.map-block h2 {
  margin: 0 0 16px;
  font-size: 35px;
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  color: #333;
}

.welcome p { margin: 0 0 16px; }

.foto {
  display: block;
  padding: 12px;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2), 0 6px 20px rgba(0, 0, 0, 0.19);
}

.btn {
  display: inline-block;
  background: #333;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.6px;
  padding: 20px 35px;
  border: 1px solid #fff;
}

.btn:hover { background: #000; }

.btn-gold {
  background: var(--gold);
  color: #312c37 !important;
  border-color: var(--gold);
  padding: 20px 35px;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.6px;
}

.btn-gold:hover { background: #e4c24a; }

.split-card { margin: 0; }
.split-card .panel { min-height: 487px; }

.panel {
  background: #312c37;
  color: #fff;
  padding: 70px;
  min-height: 487px;
}

.panel h2 {
  color: #fff;
  margin: 0;
}

.gold-rule {
  width: 75px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: 14px 0 18px;
}

.panel p { margin: 0 0 20px; line-height: 1.8; color: #fff; }
.panel p:last-child { margin-bottom: 0; }
.panel p strong { font-weight: 700; }

.photo-panel {
  min-height: 516px;
  background: center / cover no-repeat;
}

.split.cardapio .panel { min-height: 516px; }
.split.buffet .photo-panel { min-height: 487px; }

.news {
  background: url("/assets/uploads/2018/08/bg-news.jpg") center / cover no-repeat;
  padding: 105px 0;
  color: #fff;
}

.news-grid {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.news h2 { color: #fff; }

.news-form input[type="text"],
.news-form input[type="email"] {
  width: 100%;
  margin: 0 0 20px;
  padding: 12px 14px;
  background: transparent;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  font: inherit;
}

.news-form input::placeholder { color: rgba(255, 255, 255, 0.85); }

.news-form button,
.contact-form button {
  background: #333;
  color: #fff;
  border: 1px solid #fff;
  padding: 16px 36px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font: inherit;
  font-weight: 300;
  cursor: pointer;
}

.news-form button:hover,
.contact-form button:hover { background: #000; }

.form-note { min-height: 1.4em; margin: 12px 0 0; }

.hp { position: absolute; left: -9999px; }

.map-block { padding: 105px 0; text-align: center; }

.map-block h2 { text-align: center; }

.map-frame {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.page-hero {
  background: #111 center / cover no-repeat;
  min-height: 340px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 250px 20px 50px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  color: #fff;
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.page-body {
  width: min(1100px, calc(100% - 48px));
  margin: 48px auto 80px;
}

.page-body p { margin: 0 0 1em; }

.page-body .alignright,
.page-body .foto.alignright {
  float: right;
  margin: 0 0 16px 28px;
  width: min(450px, 100%);
}

.page-body::after { content: ""; display: block; clear: both; }

.entry-title {
  margin: 10px 0 8px;
  text-align: center;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0.6px;
  color: #333;
  text-transform: none;
}

.post-meta {
  display: flex;
  justify-content: center;
  gap: 16px;
  color: #888;
  font-size: 13px;
  letter-spacing: 0.6px;
  border-bottom: 1px solid #eee;
  padding-bottom: 16px;
  margin-bottom: 22px;
}

.post-meta a { color: #888; text-decoration: none; }
.post-meta a:hover { color: var(--gold); }

.entry-content { width: min(980px, 100%); margin: 0 auto; }
.entry-content iframe { max-width: 100%; }

.entry-content .gallery {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin: 0;
}

.entry-content .gallery-item { margin: 0; }
.entry-content .gallery-icon { line-height: 0; }

.entry-content .gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  height: auto;
}

.related { margin-top: 48px; padding-top: 10px; }

.related h2 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #333;
  margin: 0 0 22px;
}

.related h2::before {
  content: "▸";
  color: #13aff0;
  margin-right: 8px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.related-card { text-align: center; text-decoration: none; color: #333; }
.related-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.related-card strong {
  display: block;
  margin-top: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 1.45;
  text-transform: uppercase;
}
.related-card span { display: block; color: #999; font-size: 13px; margin-top: 6px; }

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.pdf-viewer { margin: 10px 0 24px; }
.pdf-stage {
  background: #f6f3ea;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
}

.pdf-stage canvas { max-width: 100%; height: auto; }

.pdf-tools {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.pdf-tools button {
  width: 42px;
  height: 42px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-size: 20px;
}

.contact-form label {
  display: block;
  margin: 18px 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 10px 12px;
  color: #929292;
  font: inherit;
  background: #fff;
}

.contact-form button { margin-top: 16px; }

.loc-line { font-size: 16px; }
.loc-line svg { color: var(--gold); margin-right: 10px; vertical-align: -2px; }

.site-footer { background: #1a1a1a; color: #929292; }

.footer-grid {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 50px 0 30px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1.1fr 0.9fr;
  gap: 40px;
}

.site-footer h2 {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 18px;
  font-weight: 600;
  text-transform: none;
}

.site-footer p { margin: 0 0 12px; }

.site-footer a { color: #929292; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

.footer-menu { list-style: none; margin: 0; padding: 0; }

.footer-menu a {
  display: block;
  padding: 7px 0;
  border-bottom: 1px solid #333;
}

.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.contact-list svg { flex: 0 0 16px; margin-top: 4px; color: var(--gold); }

.socials { display: flex; gap: 8px; margin-top: 8px; }

.socials a {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: #2a2a2a;
  color: #fff;
}

.socials a:hover { background: var(--gold); color: #111; }
.socials svg { width: 14px; height: 14px; }

.footer-logo { width: 210px; height: auto; display: block; margin-left: auto; }

.footer-bottom {
  background: #111;
  text-align: center;
  padding: 25px 16px;
  font-size: 12px;
  color: #8a8a8a;
}

.footer-bottom a { color: #8a8a8a; }

.to-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  width: 40px;
  height: 40px;
  background: #4a4a4a;
  color: #fff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.to-top[hidden] { display: none; }

.popup {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0, 0, 0, 0.6);
  display: grid;
  place-items: center;
  padding: 20px;
}

.popup[hidden] { display: none; }

.popup-card {
  position: relative;
  background: #fff;
  border: 8px solid #000;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  max-width: 420px;
}

.popup-card img { display: block; width: 100%; height: auto; }

.popup-x {
  position: absolute;
  top: -13px;
  right: -13px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #000;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox[hidden] { display: none; }

.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; }

.lightbox-x,
.lightbox-nav {
  position: absolute;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 36px;
}

.lightbox-x { top: 12px; right: 16px; }
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }

@media (max-width: 1080px) {
  .nav-left, .nav-right, .logo-desk { display: none; }
  .header-bar { display: flex; align-items: center; }
  .logo-mobile { display: block; position: absolute; left: 50%; transform: translateX(-50%); }
  .logo-mobile img { width: 120px; }
  .burger { display: flex; margin-left: auto; }
  .site-header, .site-header.is-sticky { height: 88px; }
  .page-hero { padding-top: 150px; min-height: 240px; }
  .slide-copy { padding-top: 140px; }
  .slide-copy h1 { font-size: 32px; }
  .hero { height: 460px; }
}

@media (max-width: 780px) {
  .welcome { background-attachment: scroll; padding: 20px; }
  .welcome-grid { grid-template-columns: 1fr; }
  .welcome-grid .welcome-photo { order: -1; }
  .split, .news-grid, .footer-grid, .related-grid, .archive-grid { grid-template-columns: 1fr; }
  .split.cardapio .panel { order: -1; }
  .panel { padding: 40px 20px; min-height: 0; }
  .photo-panel, .photo-panel.buffet { min-height: 240px; }
  .news, .map-block { padding: 48px 0; }
  .page-body .alignright,
  .page-body .foto.alignright { float: none; margin: 0 0 16px; width: 100%; }
  .entry-content .gallery { grid-template-columns: repeat(2, 1fr); }
  .footer-logo { margin: 0; }
  .slide-nav { opacity: 1; }
}
