.step-footer { position: absolute; left: 0; right: 0; bottom: 0; background: #fff; padding: 16px; border-top: 1px solid var(--border); z-index: 4; }
.step-footer .step-actions { justify-content: space-between; }
.step-footer .total { margin: 0 0 8px; }
:root {
  --primary: #18aa79;
  --primary-600: #129166;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e5e7eb;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }

.header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 64px; }
.logo { height: 40px; }
/* removido menu, header minimalista */

.hero { position: relative; }
.hero-img { width: 100%; height: clamp(260px, 48vw, 560px); object-fit: cover; display: block; }
/* Removido texto no banner, mantendo imagem full-bleed */

.btn { appearance: none; border: 0; background: var(--primary); color: #fff; border-radius: 10px; padding: 12px 18px; font-weight: 700; cursor: pointer; box-shadow: 0 6px 16px rgba(24,170,121,.25); transition: .2s ease; }
.btn:hover { background: var(--primary-600); transform: translateY(-1px); }
.btn:disabled { background: #a7a7a7; box-shadow: none; cursor: not-allowed; }
.btn-outline { background: #fff; color: var(--primary); border: 2px solid var(--primary); box-shadow: none; }
.btn-outline:hover { background: #f0fdf4; }
.btn-primary { background: var(--primary); }

.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.card-body { padding: 16px; display: grid; gap: 12px; }
.card h3 { margin: 0; font-size: 18px; }

.sobre { background: var(--white); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin: 24px 0; }
.sobre h2 { margin-top: 0; }

.footer { background: #0a0f0c; color: #d1fae5; margin-top: 48px; }
.footer-inner { display: flex; gap: 12px; align-items: center; height: 72px; }
.footer-logo { height: 28px; filter: brightness(1.1) contrast(1.1); }

.whatsapp { position: fixed; right: 16px; bottom: 16px; width: 60px; height: 60px; border-radius: 50%; background: #25d366; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(0,0,0,.25); z-index: 20; }
.whatsapp img { width: 36px; height: 36px; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; place-items: center; padding: 12px; background: rgba(15,23,42,.55); z-index: 30; }
.modal.active { display: grid; }
.modal-dialog { width: min(960px, 100%); background: var(--white); border-radius: 16px; border: 1px solid var(--border); box-shadow: 0 24px 60px rgba(0,0,0,.35); overflow: hidden; }
.modal-xl { width: min(1100px, 100%); }
.modal-sm { width: min(480px, 100%); }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--border); }
.modal-body { 
  position: relative; 
  padding: 16px; 
  padding-bottom: 140px; /* Mais espaço para o footer fixo */
  max-height: calc(100vh - 160px); 
  overflow-y: auto; 
  overflow-x: hidden; 
  display: block; 
}

.modal-content {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 20px;
  align-items: start;
}
.modal-close { position: absolute; right: 20px; top: 14px; font-size: 24px; background: transparent; border: 0; cursor: pointer; }
.modal-close { width: 36px; height: 36px; border-radius: 50%; background: #ffffff; border: 1px solid var(--border); display: grid; place-items: center; box-shadow: 0 6px 14px rgba(0,0,0,.12); }
.modal-close:hover { background: #f9fafb; }

.modal-grid { display: grid; grid-template-columns: 1fr; gap: 16px; }
.form-wrap { display: grid; gap: 16px; }

/* Stepper */
.stepper { display: none; }
.step-btn { display: flex; align-items: center; gap: 8px; justify-content: center; padding: 8px 10px; border: 1px solid var(--border); background: #fff; border-radius: 10px; cursor: pointer; font-weight: 600; color: var(--muted); }
.step-btn span { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 999px; background: #e2f8f0; color: var(--primary-600); font-size: 12px; }
.step-btn.active { border-color: var(--primary); color: var(--primary-600); box-shadow: 0 6px 14px rgba(24,170,121,.12); }

.steps-views { position: relative; }
.step-view { margin-top: 8px; }
.hidden { display: none !important; }

.gallery { background: #000; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); }
.gallery-main { width: 100%; height: 300px; object-fit: cover; display: block; }
.produto-descricao { 
  margin-top: 16px; 
  padding: 16px; 
  background: #f8fafc; 
  border-radius: 12px; 
  border: 1px solid var(--border);
  max-height: 400px;
  overflow-y: auto;
}
.produto-descricao h3 { 
  margin: 0 0 12px 0; 
  color: var(--primary); 
  font-size: 18px; 
  font-weight: 700;
}
.produto-descricao p { 
  margin: 0 0 12px 0; 
  line-height: 1.5; 
  color: var(--text);
}
.produto-descricao ul { 
  margin: 8px 0 12px 0; 
  padding-left: 20px; 
}
.produto-descricao li { 
  margin: 4px 0; 
  line-height: 1.4; 
  color: var(--text);
}
/* thumbs removidos: popup com 1 imagem apenas */

.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.form-field.full { grid-column: 1/-1; }
.horarios-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.horario-btn { padding: 10px; background: #f6fffb; border: 2px solid var(--primary); color: var(--text); border-radius: 10px; cursor: pointer; text-align: center; }
.horario-btn.active { background: var(--primary); color: #fff; }
.form-field { display: grid; gap: 6px; }
.form-field input, .form-field select, .pix-text { width: 100%; padding: 14px 14px; border: 1px solid var(--border); border-radius: 12px; font: inherit; font-size: 16px; }
.form-field select { appearance: none; background: #fff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="%236b7280" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>') no-repeat right 10px center; padding-right: 36px; }
.form-field { position: relative; }
.select-overlay { position: absolute; inset: 28px 0 0 0; cursor: pointer; border-radius: 12px; }
.dropdown-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 5; background: #fff; border: 1px solid var(--border); border-radius: 12px; margin-top: 6px; box-shadow: 0 14px 30px rgba(0,0,0,.12); display: none; max-height: 260px; overflow: auto; }
.dropdown-panel.active { display: block; }
.dropdown-item { padding: 10px 12px; cursor: pointer; }
.dropdown-item:hover { background: #f6fffb; }

.ingressos { margin-top: 12px; display: grid; gap: 12px; }
.ticket-types { display: grid; gap: 8px; }
.ticket { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.ticket .price { font-weight: 700; color: var(--primary-600); }
.qty { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 10px; padding: 4px; }
.qty button { width: 32px; height: 32px; border-radius: 8px; border: 0; background: #f1f5f9; cursor: pointer; font-weight: 700; }
.qty input { width: 42px; border: 0; text-align: center; font-weight: 700; background: transparent; }
.total { display: flex; justify-content: space-between; align-items: center; padding: 12px; background: #f8fafc; border-radius: 10px; border: 1px solid var(--border); }
.ingressos .total { display: none; }

.qrcode { display: grid; place-items: center; min-height: 240px; border: 1px dashed var(--border); border-radius: 16px; margin: 10px auto; background: #0b1f18; max-width: 300px; }
.pix-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 12px; }
.muted { color: var(--muted); font-size: 12px; }
.pix-actions { display: flex; gap: 10px; justify-content: center; }
.pix-actions .btn, .pix-actions .btn-outline { padding: 16px 20px; font-size: 17px; border-radius: 14px; min-width: 240px; }
.payment { display: grid; justify-items: center; }
.payment .pix-text { max-width: 300px; height: calc(1.25em * 3 + 16px); line-height: 1.25em; resize: none; overflow: auto; white-space: pre-wrap; word-break: break-all; }
.payment .hint { color: var(--muted); font-size: 12px; text-align: center; margin-top: 6px; }
.summary-card { border: 1px solid var(--border); border-radius: 12px; padding: 10px; background: #f8fafc; margin-bottom: 10px; font-size: 14px; }
.summary-card .row { display: flex; justify-content: space-between; padding: 4px 0; }
.step-actions { position: static; display: flex; justify-content: space-between; gap: 8px; background: transparent; padding: 0; }
.step-footer { 
  position: fixed; 
  bottom: 0; 
  left: 0; 
  right: 0; 
  background: #fff; 
  padding: 12px 16px; 
  border-top: 1px solid var(--border); 
  z-index: 10;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* Calendário custom */
.calendar { border: 1px solid var(--border); border-radius: 12px; padding: 8px; background: #fff; }
.cal-header { display: flex; align-items: center; gap: 8px; justify-content: space-between; padding: 8px; }
.cal-header .month { font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(36px, 1fr)); gap: 6px; padding: 8px; }
.cal-day, .cal-wlabel { text-align: center; padding: 10px 0; border-radius: 10px; }
.cal-wlabel { color: var(--muted); font-weight: 600; }
.cal-day { border: 2px solid var(--primary); background: #f6fffb; cursor: pointer; }
.cal-day.disabled { opacity: .35; cursor: not-allowed; background: transparent; border-color: transparent; }
.cal-day.active { background: var(--primary); color: #fff; }

/* Smooth step scroll dentro do modal */
.form-wrap { scroll-behavior: smooth; }

@media (min-width: 768px) {
  .hero-cta { inset: 0; align-content: center; }
  .modal-content { grid-template-columns: 1.1fr 1.4fr; }
  .gallery-main { height: 360px; }
  .horarios-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
}

@media (max-width: 768px) {
  .modal-content { 
    grid-template-columns: 1fr; 
    gap: 16px;
  }
  .gallery-main { height: 250px; }
}

/* Botão WhatsApp Flutuante */
.whatsapp-float {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 1000;
  width: 60px;
  height: 60px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Ocultar WhatsApp quando modal estiver aberto */
body.modal-open .whatsapp-float {
  display: none !important;
}

@media (max-width: 640px) {
  .stepper { display: none; }
  .cal-grid { grid-template-columns: repeat(7, minmax(32px, 1fr)); gap: 4px; padding: 6px; }
  .cal-day, .cal-wlabel { padding: 8px 0; border-radius: 8px; font-size: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  
  .whatsapp-float {
    left: 15px;
    bottom: 15px;
    width: 55px;
    height: 55px;
  }
  
  .whatsapp-icon {
    width: 55px;
    height: 55px;
  }
}


