/* ==========================================================================
   Header & Footer - San Diego Gastronomia e Eventos
   Header fixo elegante, Footer 90.3% do site
   ========================================================================== */

:root {
  --gold-primary: #c98c1b;
  --gold-accent: #e2ab3d;
  --text-muted: #bab5ac;
}

/* --------------------------------------------------------------------------
   HEADER & NAVBAR (valores fixos — não escala com viewport)
   -------------------------------------------------------------------------- */
.nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  height: 72px !important;
  min-height: 72px !important;
  padding: 0 4.85vw !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  background: rgba(6, 6, 6, 0.92) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  border-bottom: 1px solid rgba(201, 140, 27, 0.16) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  z-index: 1000 !important;
  box-sizing: border-box !important;
}

/* Brand / Logo */
.nav .brand {
  width: 80px !important;
  height: 54px !important;
  flex: 0 0 80px !important;
  margin: 0 !important;
  background: url('assets/logo-nova.png') center / contain no-repeat !important;
  opacity: 0.98 !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.nav .brand:hover {
  transform: scale(1.04) !important;
  opacity: 1 !important;
}

.nav .brand > *,
.footer .footer-brand > * {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Navigation Links Container */
.nav-links {
  height: 72px !important;
  margin: 0 28px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(16px, 2vw, 36px) !important;
  flex: 1 1 auto !important;
}

/* Nav Item Links */
.nav-links a {
  position: relative !important;
  height: 72px !important;
  display: inline-flex !important;
  align-items: center !important;
  padding: 0 4px !important;
  border: 0 !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: rgba(245, 242, 235, 0.82) !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: color 0.22s ease !important;
}

/* Indicador de Hover e Ativo */
.nav-links a::after {
  content: '' !important;
  position: absolute !important;
  bottom: 16px !important;
  left: 50% !important;
  transform: translateX(-50%) scaleX(0) !important;
  width: 20px !important;
  height: 2px !important;
  background: var(--gold-primary) !important;
  border-radius: 2px !important;
  opacity: 0 !important;
  transition: transform 0.25s ease, opacity 0.25s ease !important;
}

.nav-links a:hover {
  color: #ffffff !important;
}

.nav-links a:hover::after {
  transform: translateX(-50%) scaleX(1) !important;
  opacity: 0.75 !important;
}

.nav-links a.active,
.nav-links .active {
  color: var(--gold-accent) !important;
  font-weight: 600 !important;
}

.nav-links a.active::after,
.nav-links .active::after {
  transform: translateX(-50%) scaleX(1) !important;
  opacity: 1 !important;
  background: linear-gradient(90deg, #c98c1b, #e2ab3d) !important;
  box-shadow: 0 0 8px rgba(201, 140, 27, 0.4) !important;
}

/* Botao Faca seu Pedido */
.top-order {
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 10px 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.07em !important;
  text-transform: uppercase !important;
  color: var(--gold-accent) !important;
  background: rgba(201, 140, 27, 0.08) !important;
  border: 1px solid rgba(201, 140, 27, 0.42) !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  transition: all 0.25s ease !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25) !important;
}

.top-order i {
  font-size: 16px !important;
  line-height: 1 !important;
  transition: transform 0.25s ease !important;
}

.top-order:hover {
  background: linear-gradient(110deg, #c98c1b, #af7010) !important;
  color: #080808 !important;
  border-color: #c98c1b !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 16px rgba(201, 140, 27, 0.35) !important;
}

.top-order:hover i {
  transform: scale(1.1) !important;
}

/* Hero Spacing */
.hero-copy {
  padding-top: 132px !important;
}

#espaco, #buffet, #cardapio, #feijoada, #eventos, #galeria, #contato {
  scroll-margin-top: 78px !important;
}

/* --------------------------------------------------------------------------
   FOOTER (90.3% como o restante do site)
   -------------------------------------------------------------------------- */
.footer {
  width: 90.3% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 auto !important;
  padding: 32px 0 24px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: flex-start !important;
  gap: clamp(20px, 3vw, 52px) !important;
  color: var(--text-muted) !important;
  text-align: left !important;
  border-top: 1px solid rgba(201, 140, 27, 0.14) !important;
  overflow: visible !important;
}

.footer > div {
  min-width: 0 !important;
  height: auto !important;
  overflow: visible !important;
  align-self: flex-start !important;
}

/* Coluna 1: logo (flex fixo em 200px) */
.footer-col-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  flex: 0 0 200px !important;
  width: 200px !important;
  min-width: 0 !important;
}

/* Coluna 2: FALE CONOSCO (1.5x) */
.footer > div:nth-child(2) {
  flex: 1.5 !important;
}

/* Coluna 3: LINKS RAPIDOS (1x) */
.footer > div:nth-child(3) {
  flex: 1 !important;
}

/* Coluna 4: SIGA-NOS (1x) */
.footer > div:nth-child(4) {
  flex: 1 !important;
}

/* Footer Brand (logo) */
.footer .footer-brand {
  width: 190px !important;
  height: 155px !important;
  margin: 0 !important;
  transform: none !important;
  background: url('assets/logo-nova.png') left center / contain no-repeat !important;
  opacity: 0.95 !important;
  display: block !important;
  transition: opacity 0.25s ease !important;
}

.footer .footer-brand:hover {
  opacity: 1 !important;
  transform: scale(1.02) !important;
}

/* Tagline abaixo da logo */
.footer-tagline {
  display: block !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
  color: #7a7672 !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-column: 1 !important;
}

/* Footer Column Titles */
.footer h4 {
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  margin: 0 0 14px !important;
  color: var(--gold-accent) !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
}

/* Footer Items & Contacts */
.footer p {
  display: flex !important;
  align-items: flex-start !important;
  gap: 8px !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  margin: 0 0 9px !important;
  color: #c4bfb6 !important;
  word-break: normal !important;
  overflow-wrap: break-word !important;
}

.footer p span {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.footer p i {
  color: var(--gold-primary) !important;
  font-size: 14px !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
  opacity: 0.9 !important;
}

/* Footer Quick Links — nth-child(3) = terceiro filho do footer = LINKS RAPIDOS */
.footer div:nth-child(3) a {
  display: block !important;
  width: fit-content !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  margin: 0 0 4px !important;
  color: #c4bfb6 !important;
  text-decoration: none !important;
  transition: color 0.22s ease, padding-left 0.22s ease !important;
}

.footer div:nth-child(3) a:hover {
  color: var(--gold-accent) !important;
  padding-left: 5px !important;
}

/* Social Icons */
.footer .social {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  margin-top: 2px !important;
}

.footer .social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: rgba(201, 140, 27, 0.08) !important;
  border: 1px solid rgba(201, 140, 27, 0.3) !important;
  color: var(--gold-accent) !important;
  font-size: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  transition: all 0.25s ease !important;
}

.footer .social a:hover {
  background: var(--gold-primary) !important;
  color: #080808 !important;
  border-color: var(--gold-primary) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(201, 140, 27, 0.3) !important;
}

/* Copyright Bar */
.copyright {
  width: 90.3% !important;
  max-width: none !important;
  height: auto !important;
  min-height: auto !important;
  margin: 0 auto !important;
  padding: 16px 0 24px !important;
  box-sizing: border-box !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  color: #726d66 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  text-align: center !important;
  display: block !important;
  clear: both !important;
}

/* --------------------------------------------------------------------------
   RESPONSIVIDADE MOBILE / TABLET
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .footer {
    flex-wrap: wrap !important;
    gap: 28px 24px !important;
  }
  .footer-col-brand {
    flex: 0 0 100% !important;
    width: 100% !important;
    align-items: flex-start !important;
  }
  .footer > div:nth-child(2),
  .footer > div:nth-child(3),
  .footer > div:nth-child(4) {
    flex: 1 1 160px !important;
  }
  .footer .footer-brand {
    width: 120px !important;
    height: 98px !important;
  }
  .footer-tagline {
    text-align: left !important;
  }
}

@media (max-width: 850px) {
  .nav {
    height: 58px !important;
    min-height: 58px !important;
    padding: 0 5vw !important;
  }

  .nav .brand {
    width: 60px !important;
    height: 41px !important;
    flex: 0 0 60px !important;
  }

  .nav-links {
    height: 58px !important;
  }

  .nav-links a {
    height: 58px !important;
    font-size: 12px !important;
  }

  .nav-links a::after {
    bottom: 12px !important;
  }

  .menu-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    margin-left: auto !important;
    background: rgba(201, 140, 27, 0.08) !important;
    border: 1px solid rgba(201, 140, 27, 0.3) !important;
    border-radius: 6px !important;
    color: var(--gold-accent) !important;
    font-size: 20px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
  }

  .menu-toggle:hover {
    background: rgba(201, 140, 27, 0.16) !important;
    border-color: var(--gold-accent) !important;
  }

  .nav-links,
  .top-order {
    display: none !important;
  }

  .nav.open .nav-links {
    display: flex !important;
    position: fixed !important;
    top: 58px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: auto !important;
    max-height: calc(100vh - 58px) !important;
    overflow-y: auto !important;
    margin: 0 !important;
    padding: 16px 20px 24px !important;
    flex-direction: column !important;
    gap: 4px !important;
    align-items: center !important;
    background: rgba(8, 8, 8, 0.98) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(201, 140, 27, 0.2) !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6) !important;
  }

  .nav.open .nav-links a {
    width: 100% !important;
    height: 40px !important;
    justify-content: center !important;
    font-size: 13px !important;
    border-radius: 6px !important;
  }

  .nav.open .nav-links a::after {
    display: none !important;
  }

  .nav.open .nav-links a:hover,
  .nav.open .nav-links a.active {
    background: rgba(201, 140, 27, 0.12) !important;
    color: var(--gold-accent) !important;
  }

  .hero-copy {
    padding-top: 100px !important;
  }

  #espaco, #buffet, #cardapio, #feijoada, #eventos, #galeria, #contato {
    scroll-margin-top: 64px !important;
  }

  .footer {
    flex-wrap: wrap !important;
    text-align: center !important;
    gap: 24px !important;
    padding: 28px 6% 20px !important;
  }

  .footer-col-brand {
    flex: 0 0 100% !important;
    width: 100% !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .footer > div:nth-child(2),
  .footer > div:nth-child(3),
  .footer > div:nth-child(4) {
    flex: 1 1 40% !important;
  }

  .footer .footer-brand {
    width: 110px !important;
    height: 90px !important;
    margin: 0 auto !important;
    background-position: center !important;
  }

  .footer-tagline {
    text-align: center !important;
  }

  .footer h4 {
    text-align: center !important;
  }

  .footer p {
    justify-content: center !important;
  }

  .footer div:nth-child(3) a {
    margin: 0 auto 5px !important;
  }

  .footer div:nth-child(3) a:hover {
    padding-left: 0 !important;
  }

  .footer .social {
    justify-content: center !important;
  }

  .copyright {
    padding: 12px 6% 16px !important;
  }
}

/* ==========================================================================
   OVERRIDES FINAIS — garantem que header-footer.css vence styles.css
   em qualquer situacao de cascata ou cache
   ========================================================================== */

/* Botao: garante padding visivel independente de outros estilos */
a.top-order,
button.top-order,
.top-order {
  height: auto !important;
  min-height: 0 !important;
  padding: 10px 24px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  width: auto !important;
  flex: 0 0 auto !important;
}

/* Footer: garante alinhamento ao topo em todos os cenarios */
footer.footer,
.footer.wrap,
.footer {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
}

.footer > div,
.footer-col-brand {
  align-self: flex-start !important;
  height: auto !important;
  min-height: 0 !important;
}

/* Logo do footer: sem transform e sem margin automatica */
.footer .footer-brand,
.footer .brand.footer-brand {
  transform: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  width: 190px !important;
  height: 155px !important;
  background-image: url('assets/logo-nova.png') !important;
  background-position: left center !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  align-self: start !important;
}

/* Fix final: video visivel na hero e logo do footer no topo da coluna. */
.hero {
  background-image: none !important;
  background-color: #050505 !important;
  isolation: isolate !important;
}

.hero-video-bg {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  z-index: 0 !important;
  opacity: 1 !important;
  pointer-events: none !important;
}

.hero-video-overlay {
  z-index: 1 !important;
}

.hero .nav,
.hero .hero-copy {
  position: relative !important;
}

.hero .nav {
  z-index: 1000 !important;
}

.hero .hero-copy {
  z-index: 2 !important;
}

footer.footer,
.footer.wrap,
.footer {
  align-items: flex-start !important;
  min-height: 0 !important;
  padding-top: 32px !important;
  padding-bottom: 18px !important;
}

.footer-col-brand,
.footer > div:first-child {
  align-self: flex-start !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.footer .footer-brand,
.footer .brand.footer-brand {
  width: 190px !important;
  height: 166px !important;
  margin: 0 !important;
  align-self: flex-start !important;
  background-position: left top !important;
}

.copyright {
  padding-top: 12px !important;
  padding-bottom: 16px !important;
}

/* Refinamento visual do footer: menos peso na esquerda e textos mais claros. */
footer.footer,
.footer.wrap,
.footer {
  display: grid !important;
  grid-template-columns: 210px minmax(360px, 1.25fr) minmax(190px, .8fr) minmax(170px, .7fr) !important;
  justify-content: space-between !important;
  column-gap: clamp(76px, 6.4vw, 128px) !important;
  row-gap: 28px !important;
  align-items: start !important;
  padding-top: 36px !important;
  padding-bottom: 24px !important;
}

.footer-col-brand,
.footer > div:first-child {
  width: 210px !important;
  flex: none !important;
}

.footer > div:nth-child(2),
.footer > div:nth-child(3),
.footer > div:nth-child(4) {
  width: auto !important;
  flex: none !important;
}

.footer .footer-brand,
.footer .brand.footer-brand {
  width: 178px !important;
  height: 156px !important;
}

.footer h4 {
  font-size: 13.5px !important;
  color: var(--gold-accent) !important;
}

.footer p,
.footer a,
.footer p span {
  color: #ffffff !important;
  font-size: 15px !important;
  line-height: 1.85 !important;
}

.footer p i {
  color: var(--gold-accent) !important;
  font-size: 15px !important;
}

.footer .social a {
  color: #ffffff !important;
  font-size: 17px !important;
}

.footer div:nth-child(3) a,
.footer > div:nth-child(3) a {
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.9 !important;
}

.copyright {
  color: rgba(255, 255, 255, .72) !important;
  font-size: 12.5px !important;
}

@media (max-width: 960px) {
  footer.footer,
  .footer.wrap,
  .footer {
    grid-template-columns: 1fr 1fr !important;
    column-gap: 32px !important;
  }

  .footer-col-brand,
  .footer > div:first-child {
    width: auto !important;
    grid-column: 1 / -1 !important;
  }
}

@media (max-width: 620px) {
  footer.footer,
  .footer.wrap,
  .footer {
    grid-template-columns: 1fr !important;
    text-align: left !important;
  }
}

/* Ajuste final do header: desce a barra sem quebrar o menu. */
.nav {
  top: 18px !important;
}

.hero-copy {
  padding-top: 214px !important;
}

#espaco,
#buffet,
#cardapio,
#feijoada,
#eventos,
#galeria,
#contato {
  scroll-margin-top: 152px !important;
}

@media (max-width: 850px) {
  .nav {
    top: 12px !important;
  }

  .nav.open .nav-links {
    top: 134px !important;
  }

  .hero-copy {
    padding-top: 204px !important;
  }
}

/* Header camuflado no topo: sem caixa escura ate o usuario rolar. */
.nav {
  position: fixed !important;
  z-index: 2147483000 !important;
  background: #050505 !important;
  border-bottom-color: rgba(201, 140, 27, 0.16) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
  transition: background-color .25s ease, box-shadow .25s ease, border-color .25s ease, backdrop-filter .25s ease, top .25s ease !important;
}

.hero .nav,
header.hero .nav {
  position: fixed !important;
  top: 18px !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2147483000 !important;
}

.nav.is-at-top {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.nav.is-scrolled {
  top: 0 !important;
  background: #050505 !important;
  border-bottom-color: rgba(201, 140, 27, 0.16) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35) !important;
  backdrop-filter: blur(16px) saturate(130%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(130%) !important;
}

.hero .nav.is-scrolled,
header.hero .nav.is-scrolled {
  top: 0 !important;
}

@media (max-width: 850px) {
  .hero .nav,
  header.hero .nav {
    top: 12px !important;
  }
}

/* Header global: fica acima de absolutamente todas as secoes. */
.built-site {
  isolation: auto !important;
  transform: none !important;
  contain: none !important;
}

.hero,
main,
main > section {
  z-index: 0 !important;
}

.built-site > .nav,
body .nav {
  position: fixed !important;
  inset: auto 0 auto 0 !important;
  top: 18px !important;
  width: 100% !important;
  max-width: none !important;
  z-index: 2147483647 !important;
  isolation: isolate !important;
  transform: translateZ(0) !important;
  will-change: background-color, box-shadow, top !important;
}

.built-site > .nav.is-scrolled,
body .nav.is-scrolled {
  top: 0 !important;
  z-index: 2147483647 !important;
}

.built-site > .nav.is-at-top,
body .nav.is-at-top {
  top: 18px !important;
  z-index: 2147483647 !important;
}

@media (max-width: 850px) {
  .built-site > .nav,
  body .nav,
  .built-site > .nav.is-at-top,
  body .nav.is-at-top {
    top: 12px !important;
  }

  .built-site > .nav.is-scrolled,
  body .nav.is-scrolled {
    top: 0 !important;
  }
}

/* Footer em 2 colunas: logo/redes + fale conosco, com texto menor embaixo. */
footer.footer,
.footer.wrap,
.footer {
  display: grid !important;
  grid-template-columns: minmax(180px, 300px) minmax(320px, 560px) !important;
  justify-content: center !important;
  align-items: start !important;
  gap: clamp(64px, 9vw, 150px) !important;
  width: 90.3% !important;
  min-height: 0 !important;
  padding: 30px 0 24px !important;
  text-align: left !important;
}

.footer-col-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  width: auto !important;
  flex: none !important;
  grid-column: auto !important;
}

.footer-contact {
  width: auto !important;
  flex: none !important;
}

.footer .footer-brand,
.footer .brand.footer-brand {
  width: 158px !important;
  height: 138px !important;
  margin: 0 0 16px !important;
  background-position: left top !important;
}

.footer .social {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

.footer .social a {
  width: 34px !important;
  height: 34px !important;
  font-size: 16px !important;
  color: #ffffff !important;
}

.footer h4 {
  font-size: 13px !important;
  margin: 0 0 14px !important;
}

.footer p,
.footer a,
.footer p span {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #ffffff !important;
}

.footer p {
  margin-bottom: 7px !important;
}

.copyright {
  font-size: 11px !important;
  padding: 10px 0 14px !important;
  color: rgba(255, 255, 255, .62) !important;
}

@media (max-width: 760px) {
  footer.footer,
  .footer.wrap,
  .footer {
    grid-template-columns: 1fr !important;
    gap: 26px !important;
    justify-content: start !important;
  }
}

/* Compactacao final do footer: remove vazios herdados e cola redes na logo. */
footer.footer,
.footer.wrap,
.footer {
  display: grid !important;
  grid-template-columns: 190px 420px !important;
  justify-content: center !important;
  align-content: start !important;
  align-items: start !important;
  gap: clamp(56px, 7vw, 112px) !important;
  min-height: 0 !important;
  height: auto !important;
  padding: 26px 0 22px !important;
}

.footer *,
.footer > div,
.footer-col-brand,
.footer-contact {
  min-height: 0 !important;
}

.footer-col-brand {
  height: auto !important;
  align-self: start !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.footer .footer-brand,
.footer .brand.footer-brand {
  width: 145px !important;
  height: 127px !important;
  flex: 0 0 127px !important;
  margin: 0 !important;
}

.footer-col-brand .social,
.footer .footer-col-brand .social {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  gap: 9px !important;
  align-items: center !important;
  justify-content: flex-start !important;
}

.footer-contact h4 {
  margin-top: 0 !important;
}

.footer-contact p {
  margin: 0 0 6px !important;
}

.copyright {
  margin-top: 0 !important;
}

@media (max-width: 760px) {
  footer.footer,
  .footer.wrap,
  .footer {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
}

/* Footer referencia final: tres colunas, divisorias e credito Rappu. */
footer.footer,
.footer.wrap,
.footer {
  display: grid !important;
  grid-template-columns: 260px minmax(320px, 430px) minmax(320px, 430px) !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: clamp(44px, 5.6vw, 86px) !important;
  width: 100% !important;
  padding: 54px max(6%, calc((100vw - 1220px) / 2)) 48px !important;
  margin: 0 auto !important;
  background: #050505 !important;
  border-top: 1px solid rgba(201, 140, 27, .75) !important;
}

.footer-col-brand,
.footer-contact,
.footer-hours {
  position: relative !important;
  min-height: 220px !important;
  align-self: stretch !important;
}

.footer-contact,
.footer-hours {
  padding-left: 54px !important;
  border-left: 1px solid rgba(201, 140, 27, .72) !important;
}

.footer .footer-brand,
.footer .brand.footer-brand {
  width: 220px !important;
  height: 192px !important;
  margin: 0 0 20px !important;
}

.footer h4 {
  color: var(--gold-accent) !important;
  font-size: 17px !important;
  line-height: 1.2 !important;
  letter-spacing: .12em !important;
  margin: 0 0 34px !important;
}

.footer h4::after {
  content: "" !important;
  display: block !important;
  width: 50px !important;
  height: 1px !important;
  margin-top: 14px !important;
  background: var(--gold-primary) !important;
}

.footer p {
  display: grid !important;
  grid-template-columns: 42px 1fr !important;
  gap: 16px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, .28) !important;
}

.footer-contact p:first-of-type,
.footer-hours p:first-of-type {
  padding-top: 0 !important;
}

.footer p:last-child {
  border-bottom: 0 !important;
}

.footer p,
.footer p span,
.footer a {
  color: #ffffff !important;
  font-size: 16px !important;
  line-height: 1.55 !important;
}

.footer p i {
  width: 36px !important;
  height: 36px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: var(--gold-accent) !important;
  font-size: 34px !important;
  margin-top: 0 !important;
}

.footer-hours strong,
.footer-hours a,
.developed-by strong {
  color: var(--gold-accent) !important;
  font-weight: 600 !important;
  text-decoration: none !important;
}

.footer .social {
  display: flex !important;
  gap: 14px !important;
  margin: 0 !important;
}

.footer .social a {
  width: 48px !important;
  height: 48px !important;
  border-radius: 50% !important;
  border: 1px solid var(--gold-primary) !important;
  color: var(--gold-accent) !important;
  font-size: 21px !important;
}

.copyright {
  width: 100% !important;
  max-width: none !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 24px !important;
  margin: 0 !important;
  padding: 20px max(6%, calc((100vw - 1220px) / 2)) 28px !important;
  border-top: 1px solid rgba(201, 140, 27, .82) !important;
  background: #050505 !important;
  color: rgba(255, 255, 255, .84) !important;
  font-size: 14px !important;
  text-align: left !important;
}

.developed-by {
  border-left: 1px solid var(--gold-primary) !important;
  padding-left: 30px !important;
  white-space: nowrap !important;
}

@media (max-width: 960px) {
  footer.footer,
  .footer.wrap,
  .footer {
    grid-template-columns: 1fr !important;
    gap: 34px !important;
  }

  .footer-contact,
  .footer-hours {
    padding-left: 0 !important;
    border-left: 0 !important;
  }

  .copyright {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .developed-by {
    border-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* Ajuste fino: logo maior e redes menores com padding. */
.footer .footer-brand,
.footer .brand.footer-brand {
  width: 245px !important;
  height: 214px !important;
}

.footer .social {
  padding-left: 18px !important;
}

.footer .social a {
  width: 42px !important;
  height: 42px !important;
  padding: 9px !important;
  font-size: 17px !important;
}

/* Eventos: manter apenas uma foto na lateral, sem divisao em duas imagens. */
.events .gallery,
.gallery {
  display: block !important;
  position: relative !important;
  min-height: 100% !important;
  background: url('assets/instagram-hero-hq.png') center / cover no-repeat !important;
}

.events .gallery > div,
.gallery > div {
  display: none !important;
}

.events .event-photo,
.event-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: inherit !important;
  background: url('assets/instagram-hero-hq.png') center / cover no-repeat !important;
}

@media (max-width: 850px) {
  .events .event-photo,
  .event-photo {
    min-height: 300px !important;
  }
}

/* Ajuste solicitado: logo maior e icones WPP/Instagram menores com padding. */
footer.footer .footer-col-brand {
  width: 300px !important;
}

footer.footer .footer-brand,
footer.footer .brand.footer-brand,
.footer.wrap .footer-brand {
  width: 285px !important;
  height: 250px !important;
  background-size: contain !important;
}

footer.footer .footer-col-brand .social {
  padding-left: 22px !important;
  gap: 12px !important;
}

footer.footer .footer-col-brand .social a {
  width: 38px !important;
  height: 38px !important;
  padding: 8px !important;
  font-size: 16px !important;
}

footer.footer .footer-contact p i.bi-whatsapp,
footer.footer .footer-contact p i.bi-instagram,
footer.footer .footer-contact p i {
  width: 38px !important;
  height: 38px !important;
  padding: 8px !important;
  border: 1px solid rgba(201, 140, 27, .75) !important;
  border-radius: 12px !important;
  font-size: 20px !important;
  line-height: 1 !important;
}

footer.footer .footer-contact p {
  grid-template-columns: 46px 1fr !important;
  gap: 14px !important;
}

/* Footer: logo como imagem real e icones de contato no estilo original. */
footer.footer .footer-logo-img {
  display: block !important;
  width: 200px !important;
  max-width: none !important;
  height: auto !important;
  opacity: 1 !important;
  visibility: visible !important;
}

footer.footer .footer-col-brand {
  width: 240px !important;
  overflow: visible !important;
}

footer.footer .footer-col-brand .social {
  padding-left: 20px !important;
  gap: 12px !important;
}

footer.footer .footer-col-brand .social a {
  width: 42px !important;
  height: 42px !important;
  padding: 0 !important;
  border: 0 !important;
  font-size: 20px !important;
}

footer.footer .footer-col-brand .social a i {
  font-size: 20px !important;
}

footer.footer .footer-brand > .footer-logo-img,
.footer .footer-brand > .footer-logo-img {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

footer.footer .footer-brand {
  background: none !important;
  width: auto !important;
  height: auto !important;
}

footer.footer .footer-contact p i.bi-whatsapp,
footer.footer .footer-contact p i.bi-instagram,
footer.footer .footer-contact p i.bi-geo-alt,
footer.footer .footer-contact p i {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  font-size: 34px !important;
}

/* Footer simples: logo central, redes sociais e termos. */
footer.footer.footer-simple,
.footer.footer-simple {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 300px !important;
  padding: 64px 5% !important;
  text-align: center !important;
  border-top: 1px solid rgba(201, 140, 27, .35) !important;
}

footer.footer.footer-simple .footer-col-brand {
  width: auto !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

footer.footer.footer-simple .footer-logo-img {
  display: block !important;
  width: 220px !important;
  max-width: 72vw !important;
  height: auto !important;
  margin: 0 0 24px !important;
  opacity: 1 !important;
  visibility: visible !important;
}

footer.footer.footer-simple .social {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
}

footer.footer.footer-simple .social a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  font-size: 21px !important;
  color: var(--gold-primary, #c98c1b) !important;
  border: 1px solid rgba(201, 140, 27, .75) !important;
  border-radius: 999px !important;
  text-decoration: none !important;
}

footer.footer.footer-simple .social a i {
  font-size: 21px !important;
  line-height: 1 !important;
}

.copyright.footer-legal {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  padding: 18px 5% !important;
  text-align: center !important;
  border-top: 1px solid rgba(201, 140, 27, .35) !important;
}

.copyright.footer-legal span,
.copyright.footer-legal a {
  float: none !important;
  color: rgba(255, 255, 255, .72) !important;
  font-size: 13px !important;
  text-decoration: none !important;
}


/* Override final: centraliza a logo exatamente no meio vertical do footer. */
footer.footer.footer-simple,
.footer.footer-simple {
  display: block !important;
  position: relative !important;
  width: 100% !important;
  height: 300px !important;
  min-height: 300px !important;
  padding: 0 !important;
  text-align: center !important;
}

footer.footer.footer-simple .footer-col-brand {
  position: static !important;
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}

footer.footer.footer-simple .footer-logo-img {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
}

footer.footer.footer-simple .social {
  position: absolute !important;
  left: 50% !important;
  top: calc(50% + 96px) !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 0 !important;
}



