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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Poppins', sans-serif;
  background-color: #FFF8E7;
  background-image:
    radial-gradient(ellipse at top left,  rgba(255,213,0,0.22)  0%, transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(230,51,36,0.12) 0%, transparent 50%);
  overflow-x: hidden;
}

/* =============================================
   PARTÍCULAS FLUTUANTES
============================================= */

#bg-particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bg-particle {
  position: absolute;
  bottom: -8%;
  user-select: none;
  animation: floatDrift var(--dur, 14s) ease-in-out infinite var(--delay, 0s);
}

@keyframes floatDrift {
  0%   { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  6%   { opacity: var(--op, 0.18); }
  94%  { opacity: var(--op, 0.18); }
  100% { transform: translateY(-110vh) translateX(var(--drift, 0px)) rotate(var(--rot, 360deg)); opacity: 0; }
}

/* =============================================
   BANDEIRINHAS
============================================= */

.bandeirinhas-container {
  width: 100%;
  position: relative;
  overflow: hidden;
  height: 82px;
  background: linear-gradient(180deg, rgba(255,213,0,0.13) 0%, transparent 100%);
  z-index: 50;
}

.bandeirinhas-container::before {
  content: '';
  position: absolute;
  top: 7px;
  left: -30px;
  right: -30px;
  height: 4px;
  background: linear-gradient(to right,
    transparent 0%, #4A2000 1%, #7B3F00 5%,
    #5C2D00 50%, #7B3F00 95%, #4A2000 99%, transparent 100%);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  border-radius: 2px;
}

.bandeirinhas-container::after {
  content: '';
  position: absolute;
  top: 13px;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0,0,0,0.08);
  z-index: 1;
  filter: blur(3px);
}

#bandeirinhas {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: nowrap;
  height: 100%;
  padding: 0 4px;
}

.bandeirinha {
  display: inline-block;
  clip-path: polygon(0% 0%, 100% 0%, 50% 100%);
  flex-shrink: 0;
  margin: 9px 2px 0;
  animation: balanco var(--bdur, 2.5s) ease-in-out infinite;
  animation-delay: var(--bdel, 0s);
  transform-origin: top center;
  filter: drop-shadow(0 4px 5px rgba(0,0,0,0.32));
  position: relative;
  z-index: 3;
}

@keyframes balanco {
  0%, 100% { transform: rotate(-9deg); }
  50%       { transform: rotate(9deg);  }
}

/* =============================================
   BOTÃO VOLTAR
============================================= */

.btn-voltar {
  position: fixed;
  top: 96px;
  left: 20px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a0a00;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 30px;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.12);
  border: 2px solid rgba(255, 213, 0, 0.45);
  transition: all 0.25s ease;
  z-index: 100;
}

.btn-voltar:hover {
  background: #FFD500;
  transform: translateX(-3px);
  box-shadow: 0 6px 20px rgba(255, 213, 0, 0.45);
}

/* =============================================
   PAGE WRAPPER
============================================= */

.page-wrapper {
  min-height: calc(100vh - 82px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
  position: relative;
  z-index: 1;
}

/* =============================================
   CARD PRINCIPAL
============================================= */

.container {
  background: rgba(255, 255, 255, 0.93);
  padding: 52px 56px;
  border-radius: 26px;
  text-align: center;
  box-shadow:
    0 20px 70px rgba(0, 0, 0, 0.11),
    0 0 0 1px rgba(255, 213, 0, 0.25);
  max-width: 680px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: entrar 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Faixa colorida no topo do card */
.container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg,
    #E63324, #FF6B00, #FFD500, #2E7D32, #1565C0, #9C27B0, #E63324);
  background-size: 250% 100%;
  animation: gradientSlide 3.5s linear infinite;
}

@keyframes gradientSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 250% 0%; }
}

@keyframes entrar {
  from { opacity: 0; transform: translateY(28px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

/* =============================================
   HEADER FESTIVO
============================================= */

.header-festivo {
  margin-bottom: 30px;
}

.icone-topo {
  font-size: 3.6rem;
  display: block;
  margin-bottom: 6px;
  animation: pulsoIcone 2.2s ease-in-out infinite;
}

@keyframes pulsoIcone {
  0%, 100% { transform: scale(1)    rotate(0deg);  }
  50%       { transform: scale(1.14) rotate(-6deg); }
}

.header-festivo h1 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 2.7rem;
  font-weight: 900;
  background: linear-gradient(135deg, #E63324 0%, #FF6B00 50%, #FFD500 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 8px;
}

.subtitulo {
  font-size: 0.97rem;
  color: #777;
  margin-bottom: 16px;
}

.info-evento {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.info-evento span {
  background: linear-gradient(135deg, rgba(255,213,0,0.18), rgba(255,107,0,0.1));
  border: 1px solid rgba(255, 180, 0, 0.4);
  color: #7a4000;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  font-family: 'Baloo 2', sans-serif;
}

/* =============================================
   DIVISOR
============================================= */

.escolha-texto {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: #bbb;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
}

.escolha-texto::before,
.escolha-texto::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 60px;
  height: 1px;
  background: rgba(0,0,0,0.1);
}

.escolha-texto::before { right: calc(50% + 100px); }
.escolha-texto::after  { left:  calc(50% + 100px); }

/* =============================================
   CARDS DE OPÇÃO
============================================= */

.opcoes {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.opcao-card {
  flex: 1;
  padding: 30px 20px 24px;
  border-radius: 20px;
  text-decoration: none;
  text-align: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  cursor: pointer;
}

.opcao-card:hover {
  transform: translateY(-10px) scale(1.02);
}

.opcao-card.mapa {
  background: linear-gradient(150deg, #1565C0 0%, #1976D2 60%, #0D47A1 100%);
  box-shadow: 0 8px 28px rgba(21, 101, 192, 0.35);
}

.opcao-card.mapa:hover {
  box-shadow: 0 20px 50px rgba(21, 101, 192, 0.55);
}

.opcao-card.reservar {
  background: linear-gradient(150deg, #E63324 0%, #FF6B00 60%, #D32F2F 100%);
  box-shadow: 0 8px 28px rgba(230, 51, 36, 0.35);
}

.opcao-card.reservar:hover {
  box-shadow: 0 20px 50px rgba(230, 51, 36, 0.55);
}

.opcao-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 12px;
  transition: transform 0.3s ease;
}

.opcao-card:hover .opcao-icon {
  transform: scale(1.22) rotate(6deg);
}

.opcao-card h2 {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: white;
  margin-bottom: 8px;
  letter-spacing: 0.4px;
}

.opcao-card p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin-bottom: 18px;
}

.opcao-btn {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 7px 20px;
  border-radius: 30px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: background 0.25s ease;
}

.opcao-card:hover .opcao-btn {
  background: rgba(255, 255, 255, 0.35);
}

/* =============================================
   RESPONSIVO
============================================= */

@media (max-width: 600px) {
  .container {
    padding: 36px 24px;
  }

  .header-festivo h1 {
    font-size: 2.1rem;
  }

  .opcoes {
    flex-direction: column;
  }

  .info-evento {
    gap: 7px;
  }

  .btn-voltar {
    top: 88px;
    font-size: 13px;
    padding: 6px 13px;
  }

  .escolha-texto::before,
  .escolha-texto::after {
    display: none;
  }
}

/* =============================================
   BREADCRUMB
============================================= */

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: #1565C0;
  text-decoration: none;
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(21,101,192,0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.breadcrumb a:hover {
  background: rgba(21,101,192,0.18);
  color: #0D47A1;
}

.bc-sep {
  color: #bbb;
  font-size: 1.1rem;
  font-weight: 700;
}

.bc-active {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  color: #E63324;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(230,51,36,0.1);
}

.bc-next {
  font-family: 'Baloo 2', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #bbb;
}

/* =============================================
   BOTÃO WHATSAPP (RESERVAS)
============================================= */

.btn-whatsapp-res {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37,211,102,0.45);
  z-index: 998;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  animation: wppPulse 3s ease-in-out infinite;
}

.btn-whatsapp-res:hover {
  transform: scale(1.15);
  box-shadow: 0 8px 28px rgba(37,211,102,0.6);
}

@keyframes wppPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,0.45); }
  50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.08); }
}