/* V8 — ajustes compartilhados de interface e footer. */

.site-footer {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-top: 0;
  padding: 54px 0 42px;
  color: var(--creme-claro);
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 181, 30, 0.14), transparent 24rem),
    linear-gradient(135deg, #1a120a, #2b160b);
}

.site-footer .container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.footer-brand {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
}

.footer-logo {
  width: 102px;
  height: auto;
  padding: 0;
  border-radius: 18px;
  background: transparent;
  mix-blend-mode: lighten;
}

.footer-text h2 {
  color: var(--creme-claro);
  font-family: var(--titulo);
  font-size: 2.3rem;
  line-height: 0.9;
  letter-spacing: -0.045em;
}

.footer-text p {
  margin-top: 8px;
  color: rgba(255, 248, 232, 0.72);
  font-weight: 800;
  line-height: 1.5;
}

.footer-groups {
  display: grid;
  gap: 22px;
}

.footer-group {
  display: grid;
  gap: 10px;
}

.footer-group h3 {
  color: var(--amarelo);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 999px;
  color: rgba(255, 248, 232, 0.82);
  background: rgba(255, 248, 232, 0.08);
  font-size: 0.92rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  transform: translateY(-1px);
  color: var(--creme-claro);
  background: rgba(242, 181, 30, 0.16);
}

.footer-links .footer-social {
  background: rgba(255, 248, 232, 0.12);
}

.footer-links .footer-social.whatsapp {
  color: #cfffe0;
  background: rgba(37, 211, 102, 0.16);
}

.footer-links .footer-social.instagram {
  color: #ffe0f0;
  background: rgba(225, 48, 108, 0.16);
}

.footer-links .footer-social.facebook {
  color: #ddebff;
  background: rgba(24, 119, 242, 0.16);
}

.footer-links .footer-social.email {
  color: var(--creme-claro);
  background: rgba(242, 181, 30, 0.14);
}

.footer-links .footer-social.maps {
  color: #ffe8b8;
  background: rgba(201, 130, 36, 0.18);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 248, 232, 0.12);
  color: rgba(255, 248, 232, 0.58);
  font-size: 0.88rem;
  font-weight: 800;
}

.footer-management {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 248, 232, 0.14);
  border-radius: 999px;
  color: var(--amarelo);
  background: rgba(255, 248, 232, 0.06);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.footer-management:hover {
  transform: translateY(-2px);
  color: var(--creme-claro);
  border-color: rgba(242, 181, 30, 0.32);
  background: rgba(242, 181, 30, 0.12);
}

.footer-management-label {
  color: rgba(255, 248, 232, 0.52);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-management-name {
  color: inherit;
}

.footer-credit {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-credit-prefix {
  color: rgba(255, 248, 232, 0.58);
  font-size: 0.84rem;
  font-weight: 800;
}

.footer-credit-brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(141, 255, 224, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.footer-credit-brand:hover {
  transform: translateY(-2px);
  border-color: rgba(141, 255, 224, 0.34);
  background: rgba(255, 255, 255, 0.1);
}

.footer-credit-logo {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 8px;
  object-fit: contain;
}

.footer-credit-name {
  display: inline-block;
  color: transparent;
  background: linear-gradient(135deg, #22d3a6 0%, #2563ff 54%, #8dffe0 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.privacy-skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--marrom);
  background: var(--amarelo);
  font-weight: 900;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.privacy-skip-link:focus {
  transform: translateY(0);
}

/* Premiação principal com o mesmo papel bege dos cards do cardápio. */
.award-card--grand {
  color: var(--marrom);
  border-color: rgba(42, 22, 11, 0.12);
  border-left: 8px solid var(--amarelo);
  background:
    radial-gradient(circle at 24% 12%, rgba(242, 181, 30, 0.18), transparent 22rem),
    linear-gradient(145deg, rgba(255, 246, 220, 0.99), rgba(246, 228, 184, 0.8)),
    var(--creme-claro);
  box-shadow: 0 26px 70px rgba(42, 22, 11, 0.17), inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.award-card--grand::after {
  content: "";
  position: absolute;
  right: -118px;
  bottom: -132px;
  z-index: 0;
  display: block !important;
  width: 370px;
  height: 370px;
  border: 32px solid rgba(122, 62, 22, 0.055);
  border-radius: 50%;
  box-shadow:
    0 0 0 30px rgba(122, 62, 22, 0.034),
    0 0 0 62px rgba(122, 62, 22, 0.02);
  pointer-events: none;
}

.award-card--grand .award-art,
.award-card--grand .award-copy {
  position: relative;
  z-index: 1;
}

.award-card--grand .award-copy h3 {
  color: var(--marrom);
  text-shadow: none;
}

.award-card--grand .award-copy p {
  color: var(--marrom-suave);
}

.award-card--grand .award-badge {
  color: var(--vermelho-touca);
  border: 1px solid rgba(201, 130, 36, 0.24);
  background: rgba(242, 181, 30, 0.18);
}

.award-card--grand .award-meta span {
  color: rgba(42, 22, 11, 0.78);
  border-color: rgba(42, 22, 11, 0.12);
  background: rgba(255, 246, 220, 0.68);
}

/* Ícone com leitura melhor sem alterar o tamanho dos botões. */
.btn-whatsapp .social-icon {
  width: 1.3rem;
  height: 1.3rem;
}

.footer-social.whatsapp .social-icon {
  width: 1.12rem;
  height: 1.12rem;
}

/* O botão de retorno muda apenas no desktop; o mobile permanece como na V7. */
@media (min-width: 901px) {
  .site-header .header-inner,
  .topbar .topbar-shell {
    border-color: rgba(242, 181, 30, 0.24);
    background:
      radial-gradient(circle at 12% 0%, rgba(242, 181, 30, 0.11), transparent 20rem),
      linear-gradient(135deg, rgba(42, 22, 11, 0.98), rgba(31, 16, 8, 0.98));
    box-shadow:
      0 18px 48px rgba(15, 8, 4, 0.24),
      0 0 34px rgba(242, 181, 30, 0.08),
      inset 0 1px 0 rgba(255, 246, 220, 0.05);
  }

  .topbar {
    top: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px max(16px, env(safe-area-inset-left, 0px));
    overflow: visible;
    border: 0;
    border-bottom: 1px solid rgba(242, 181, 30, 0.12);
    border-radius: 0;
    background: #2a160b;
    box-shadow: 0 12px 32px rgba(26, 18, 10, 0.18);
  }

  .topbar::before {
    border-radius: 0;
    background: #2a160b;
  }

  .topbar .topbar-shell {
    width: min(100%, var(--container));
    max-width: var(--container);
    padding: 10px 18px;
    border: 1px solid rgba(242, 181, 30, 0.24);
    border-radius: 36px;
    grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.28fr) auto;
    align-items: center;
    column-gap: clamp(16px, 2vw, 28px);
  }

  .topbar .brand-row {
    display: contents;
  }

  .topbar .brand-lockup {
    grid-column: 1;
    grid-row: 1;
  }

  .topbar .menu-toolbar {
    grid-column: 2;
    grid-row: 1;
  }

  .topbar .brand-row .menu-pill {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    margin-left: 0;
  }

  .topbar .category-scroll,
  .topbar .smart-filters {
    grid-column: 1 / -1;
  }
}

/* Mesma flutuação da personagem do Index em telas capazes de animá-la. */
@media (min-width: 981px) and (hover: hover) and (prefers-reduced-motion: no-preference) {
  .delivery-vovo-img {
    animation: deliveryVovoFloat 5.5s ease-in-out infinite !important;
    will-change: transform !important;
  }
}

@media (update: slow), (prefers-reduced-motion: reduce) {
  .delivery-vovo-img {
    animation: none !important;
    will-change: auto !important;
  }
}

@media (max-width: 720px) {
  .award-card--grand::after {
    right: -86px;
    bottom: -96px;
    width: 270px;
    height: 270px;
    border-width: 23px;
    box-shadow:
      0 0 0 22px rgba(122, 62, 22, 0.034),
      0 0 0 46px rgba(122, 62, 22, 0.02);
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-credit {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .footer-brand {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .footer-logo {
    width: 76px;
  }

  .footer-text h2 {
    font-size: 1.85rem;
  }
}
