* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  /* Paleta Natalina - Fundo Bordô, Madeira Escura e Dourado */
  --cor-principal: #FFC107;
  --cor-destaque: #ff5722;
  --cor-fundo: #1e0d0b;          
  --cor-bloco: #2e1613;          
  --cor-cartao: #3a1f1b;         
  --cor-cabecalho: #140807;      
  --cor-texto: #f4ede2;          
  --cor-texto-secundario: #d4c2aa;
  --cor-wpp: #0A7D33;
  --cor-ifood: #EA1D2C;
  --cor-99food: #FFD100;
}

body {
  margin: 0;
  padding-bottom: 40px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: var(--cor-fundo);
  /* Degradê suave bordô/dourado e Flocos de neve dourados caindo */
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(214, 40, 40, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 70%, rgba(255, 193, 7, 0.08) 0%, transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg stroke='%23d49b27' stroke-width='1.5' stroke-opacity='0.35' stroke-linecap='round'%3E%3Cpath d='M40 30v16M32 38h16M34 32l12 12M46 32l-12 12'/%3E%3Cpath d='M160 70v14M153 77h14M155 72l10 10M165 72l-10 10'/%3E%3Cpath d='M95 150v16M87 158h16M89 152l12 12M101 152l-12 12'/%3E%3C/g%3E%3Cg fill='%23d49b27' fill-opacity='0.25'%3E%3Ccircle cx='110' cy='35' r='2.5'/%3E%3Ccircle cx='25' cy='115' r='3'/%3E%3Ccircle cx='175' cy='165' r='2.5'/%3E%3Ccircle cx='65' cy='85' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--cor-texto);
}

body.com-banner { padding-bottom: 170px; }
img { max-width: 100%; height: auto; display: block; }
section[id] { scroll-margin-top: 90px; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cor-destaque); outline-offset: 2px; }

/* =========================================================
   CABEÇALHO E DECORAÇÕES (GUIRLANDA, LAÇO E GORRO)
   ========================================================= */
.topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 24px;
  background: var(--cor-cabecalho);
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* 1. Guirlanda de Pinheiro com Bolas e Luzes no fundo do cabeçalho */
.topo::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -22px;
  height: 35px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='35' viewBox='0 0 300 35'%3E%3Cpath d='M0,5 Q75,35 150,5 T300,5' fill='none' stroke='%230d3b1b' stroke-width='18' stroke-linecap='round'/%3E%3Cpath d='M0,5 Q75,30 150,5 T300,5' fill='none' stroke='%23195e2f' stroke-width='12' stroke-dasharray='5 10' stroke-linecap='round'/%3E%3Ccircle cx='40' cy='18' r='7' fill='%23d62828'/%3E%3Ccircle cx='100' cy='14' r='5' fill='%23ffb703'/%3E%3Ccircle cx='160' cy='20' r='6' fill='%23d62828'/%3E%3Ccircle cx='220' cy='12' r='5' fill='%23ffb703'/%3E%3Ccircle cx='280' cy='18' r='7' fill='%23d62828'/%3E%3Ccircle cx='20' cy='10' r='2' fill='%23ffffff'/%3E%3Ccircle cx='70' cy='24' r='2.5' fill='%23ffea00'/%3E%3Ccircle cx='130' cy='8' r='2' fill='%23ffffff'/%3E%3Ccircle cx='190' cy='22' r='2.5' fill='%23ffea00'/%3E%3Ccircle cx='250' cy='10' r='2' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center top;
  pointer-events: none;
  z-index: 9;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.6));
}

/* 2. Laço Vermelho Gigante no centro do cabeçalho */
.topo::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -32px;
  transform: translateX(-50%);
  width: 70px;
  height: 60px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 80'%3E%3Cpath d='M30,35 L10,75 L35,75 L40,45 Z' fill='%23a11111'/%3E%3Cpath d='M50,35 L70,75 L45,75 L40,45 Z' fill='%23a11111'/%3E%3Cpath d='M40,30 C20,0 -5,15 15,40 C22,48 35,35 40,35 C45,35 58,48 65,40 C85,15 60,0 40,30 Z' fill='%23d62828'/%3E%3Ccircle cx='40' cy='35' r='6' fill='%23ff3333'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 11;
  filter: drop-shadow(0 4px 4px rgba(0,0,0,0.5));
}

.marca {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cor-principal);
  text-decoration: none;
  font-weight: 900;
  line-height: 1.15;
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  position: relative;
}

/* 3. Gorrinho de Papai Noel no Logo */
.marca::before {
  content: "";
  position: absolute;
  top: -12px;
  left: -10px;
  width: 36px;
  height: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M12 42 C16 20, 36 12, 50 22 C42 28, 38 34, 42 42 Z' fill='%23d62828'/%3E%3Crect x='8' y='39' width='38' height='9' rx='4.5' fill='%23ffffff'/%3E%3Ccircle cx='52' cy='23' r='6.5' fill='%23ffffff'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(-14deg);
  pointer-events: none;
  z-index: 12;
}

.marca img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--cor-principal);
  background: #fff;
}

.marca small { display: block; color: #ffffff; font-size: 0.82rem; font-weight: 700; }
.topo nav { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.redes-topo { display: inline-flex; align-items: center; gap: 10px; padding-right: 12px; border-right: 1px solid rgba(255, 255, 255, 0.2); }
.redes-topo a { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: var(--cor-principal); transition: transform 0.15s, background 0.15s; }
.redes-topo a:hover { background: var(--cor-principal); color: var(--cor-cabecalho); transform: translateY(-1px); }
.redes-topo svg { width: 17px; height: 17px; }
.topo nav a.link-menu { display: inline-flex; align-items: center; gap: 6px; color: #ffffff; text-decoration: none; font-size: 0.95rem; font-weight: 700; transition: color 0.15s; }
.topo nav a.link-menu svg { width: 18px; height: 18px; color: var(--cor-principal); flex-shrink: 0; }
.topo nav a.link-menu:hover { color: var(--cor-principal); }

/* =========================================================
   ÁREA PRINCIPAL E BANNERS
   ========================================================= */
main { width: min(100% - 28px, 780px); margin: 0 auto; }
.hero { text-align: center; padding: 34px 0 10px; }

.selo {
  display: inline-flex; align-items: center; gap: 6px; margin: 0 0 12px; padding: 6px 18px;
  border-radius: 999px; background: var(--cor-principal); color: #1b120c;
  font-size: 0.8rem; font-weight: 800; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.titulo-destaque { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 8px; }
.raios-icone { width: 28px; height: 36px; flex-shrink: 0; }
h1 { margin: 0; color: #ffffff; font-size: clamp(1.65rem, 5vw, 2.45rem); font-weight: 900; line-height: 1.15; text-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.subtitulo { margin: 0 auto 14px; max-width: 600px; color: var(--cor-texto-secundario); font-size: 0.96rem; }
.subtitulo strong { color: #ffffff; font-weight: 800; }

.comunicado-marca {
  max-width: 440px; margin: 0 auto 16px; padding: 14px 18px; background: var(--cor-cartao);
  border: 1px solid #522d27; border-radius: 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); text-align: center;
}
.comunicado-logos { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 10px; }
.logo-item { display: flex; flex-direction: column; align-items: center; }
.logo-item img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #1e0d0b; border: 1px solid #522d27; }
.logo-item span { font-size: 0.75rem; color: var(--cor-texto-secundario); margin-top: 4px; font-weight: 700; }
.seta-transicao { font-size: 1.25rem; color: var(--cor-principal); font-weight: 700; }
.comunicado-texto { margin: 0; font-size: 0.85rem; line-height: 1.45; color: var(--cor-texto); }
.comunicado-texto strong { display: block; margin-top: 3px; font-weight: 800; color: var(--cor-principal); }

.status {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 18px; padding: 7px 20px;
  border-radius: 999px; background: #3a1f1b; color: #f4ede2; font-weight: 700; font-size: 0.88rem; border: 1px solid #522d27;
}
.status.aberto { color: #73e68c; border-color: #0A7D33; background: #132e1b; }
.status.madrugada { color: #ffe680; border-color: #b38f00; background: #332b00; }
.status.fechado { color: #ff9999; border-color: #c91422; background: #331214; }

.banner-promo { max-width: 100%; margin: 0 auto 18px; }
.banner-promo img { width: 100%; max-height: 440px; object-fit: cover; border-radius: 16px; border: 2px solid #b8973e; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5); }

/* =========================================================
   BOTÕES, CARDS E BLOCOS (BORDÔ ESCURO E MADEIRA)
   ========================================================= */
.botoes { display: grid; gap: 12px; margin-bottom: 22px; }
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 18px;
  min-height: 62px; border-radius: 12px; text-align: left; text-decoration: none; font-weight: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); transition: transform 0.12s ease, filter 0.12s ease;
}
.btn:hover { filter: brightness(1.08); }
.btn:active { transform: scale(0.99); }
.btn-icone { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; flex-shrink: 0; }
.btn-icone svg { width: 30px; height: 30px; }
.btn-conteudo { flex: 1; line-height: 1.25; }
.btn-titulo { display: block; font-size: 1rem; font-weight: 800; }
.btn-conteudo small { display: block; margin-top: 2px; font-size: 0.74rem; font-weight: 600; opacity: 0.92; }
.btn-seta { font-size: 1.35rem; font-weight: 700; line-height: 1; padding-left: 6px; opacity: 0.85; }

.btn-principal { background: var(--cor-principal); color: #1b120c; border: 1px solid #d49b27; }
.btn-wpp { background: #0d5c26; color: #ffffff; border: 1px solid #0A7D33; }
.btn-99food { background: #382c00; color: #FFD100; border: 1.5px solid #b38f00; }
.btn-ifood { background: #5c1219; color: #ffffff; border: 1px solid #c91422; }
.btn-inativo-madrugada { opacity: 0.6; }

.badge-99 {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; background: var(--cor-99food); color: #1b120c; font-weight: 900; font-size: 0.92rem; line-height: 0.95;
}
.badge-99 span { font-size: 0.52rem; font-weight: 800; letter-spacing: -0.2px; }

.logo-ifood-pill {
  display: flex; flex-direction: column; align-items: center; justify-content: center; width: 38px; height: 38px;
  border-radius: 10px; background: #ffffff; font-style: italic; font-weight: 900; color: #EA1D2C; font-size: 0.85rem; letter-spacing: -0.5px; line-height: 1;
}
.logo-ifood-pill span { display: block; font-size: 0.65rem; margin-top: -2px; }

.bloco {
  margin-top: 18px; padding: 20px; background: var(--cor-bloco);
  border: 1.5px solid #522d27; border-radius: 16px; box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}
.titulo-secao { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; color: #ffffff; font-size: 1.3rem; font-weight: 900; }
.titulo-secao svg { width: 26px; height: 26px; color: var(--cor-principal); flex-shrink: 0; }

.grade-lanches { display: grid; gap: 14px; }
.card-lanche {
  padding: 16px; background: var(--cor-cartao); border: 1px solid #522d27;
  border-left: 5px solid var(--cor-principal); border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  display: flex; flex-direction: column;
}
.card-topo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.card-topo svg { width: 28px; height: 28px; color: var(--cor-principal); flex-shrink: 0; }
.card-lanche h3 { margin: 0; font-size: 1.02rem; font-weight: 800; line-height: 1.2; color: #ffffff; }
.card-lanche p { margin: 0; color: var(--cor-texto-secundario); font-size: 0.84rem; line-height: 1.45; }

.carrossel-box {
  position: relative; width: 100%; height: 165px; border-radius: 8px; overflow: hidden;
  border: 1px solid #522d27; background: #1e0d0b; margin-bottom: 12px;
}
.carrossel-box img { width: 100%; height: 100%; object-fit: cover; display: none; transform: scale(1.12); transform-origin: top left; }
.carrossel-box img.ativo { display: block; }
.carrossel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border: none;
  border-radius: 50%; background: rgba(18, 11, 8, 0.85); color: #FFC107; font-size: 1.1rem; font-weight: 900;
  cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.carrossel-prev { left: 8px; }
.carrossel-next { right: 8px; }
.carrossel-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 2; }
.carrossel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.4); border: none; padding: 0; cursor: pointer; }
.carrossel-dot.ativo { background: var(--cor-principal); transform: scale(1.2); }

.lista-horarios { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.lista-horarios li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.94rem; color: var(--cor-texto); }
.icone-lista { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: var(--cor-principal); }
.link-tel { color: #ffffff; font-weight: 700; }
.btn-mapa {
  display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--cor-cabecalho);
  color: #ffffff; margin-top: 14px; padding: 13px 18px; border-radius: 10px; text-decoration: none;
  font-weight: 800; text-align: center; border: 1px solid #522d27;
}

/* =========================================================
   RODAPÉ E POLÍTICAS
   ========================================================= */
footer { max-width: 780px; margin: 0 auto; padding: 24px 16px; color: var(--cor-texto-secundario); text-align: center; font-size: 0.82rem; }
.lgpd { font-size: 0.78rem; color: #b89b82; line-height: 1.5; }
.lgpd a { color: var(--cor-principal); }
.link-cookies { background: none; border: none; padding: 0; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }

.banner-lgpd {
  position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 680px; margin: 0 auto; padding: 14px 16px;
  background: var(--cor-cabecalho); border: 1px solid var(--cor-principal); border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6); z-index: 100; display: flex; flex-direction: column; gap: 10px; color: #fff;
}
.banner-lgpd[hidden] { display: none !important; }
.banner-lgpd p { margin: 0; font-size: 0.82rem; color: #f4ede2; }
.banner-lgpd a { color: var(--cor-principal); }
.banner-lgpd-botoes { display: flex; gap: 8px; }
.btn-lgpd { flex: 1; padding: 10px 12px; border-radius: 8px; border: none; font-weight: 700; font-size: 0.85rem; cursor: pointer; min-height: 44px; }
.btn-lgpd-aceitar { background: var(--cor-principal); color: #1e0d0b; }
.btn-lgpd-recusar { background: #2e1613; color: #e6d9cc; border: 1px solid #522d27; }

.pagina-texto { width: min(100% - 28px, 780px); margin: 0 auto; padding: 24px 0 48px; color: var(--cor-texto); }
.pagina-texto h1 { font-size: 1.8rem; margin-bottom: 12px; color: #ffffff; }
.pagina-texto h2 { font-size: 1.2rem; margin: 24px 0 8px; color: var(--cor-principal); }
.pagina-texto p, .pagina-texto li { color: var(--cor-texto); }
.pagina-texto a { color: var(--cor-principal); }

@media (max-width: 640px) {
  .topo { padding: 10px 12px; flex-wrap: wrap; }
  .topo nav { gap: 10px; width: 100%; justify-content: flex-end; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 8px; }
  .topo nav a.link-menu { font-size: 0.84rem; }
  .raios-icone { display: none; }
}

@media (min-width: 720px) {
  .grade-lanches { grid-template-columns: repeat(3, 1fr); }
  .botoes { grid-template-columns: repeat(2, 1fr); }
  .banner-lgpd { flex-direction: row; align-items: center; justify-content: space-between; }
  .banner-lgpd-botoes { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}