/* ==========================================================================
   COMPONENTES UI/UX DE ALTA CONVERSÃO & INTERATIVIDADE
   ========================================================================== */

/* ==========================================================================
   1. BOTÕES ESTILO CHEVRON >> (ASSINATURA VISUAL DA REFERÊNCIA)
   ========================================================================== */
.buttonChevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px 10px;
  border: 1px solid rgba(0, 187, 255, 0.7);
  background: var(--accent-red);
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 120%;
  padding: 16px 85px 16px 36px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(231, 52, 76, 0.35);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  touch-action: manipulation;
}

.buttonChevron.blue {
  background: #0088cc;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 136, 204, 0.35);
}

.buttonChevron.green {
  background: var(--accent-green);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 150, 69, 0.35);
}

.buttonChevron.gold {
  background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
  color: #07152b;
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 8px 24px rgba(223, 186, 115, 0.4);
}

@media (hover: hover) {
  .buttonChevron:hover {
    filter: brightness(1.1);
    transform: translateY(-3px) scale(1.02);
    color: #ffffff;
  }

  .buttonChevron.gold:hover {
    color: #07152b;
  }
}

/* Seta Chevron Embutida */
.buttonChevron::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 58px;
  height: 100%;
  border-radius: 0 10px 30px 0;
  background: #172554;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

@media (hover: hover) {
  .buttonChevron:hover::before {
    background: #0f172a;
  }
}

.buttonChevron::after {
  content: ">>";
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -1px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}

@keyframes chevronBounce {
  0%, 100% { transform: translateY(-50%) translateX(0); opacity: 1; }
  50% { transform: translateY(-50%) translateX(5px); opacity: 0.7; }
}

@media (hover: hover) {
  .buttonChevron:hover::after {
    animation: chevronBounce 0.8s infinite ease-in-out;
  }
}

@media (max-width: 768px) {
  .buttonChevron {
    font-size: 0.95rem;
    padding: 13px 48px 13px 16px;
    white-space: normal;
    word-break: break-word;
    text-align: center;
    max-width: 100%;
  }
  .buttonChevron::before {
    width: 40px;
  }
  .buttonChevron::after {
    right: 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .buttonChevron {
    font-size: 0.85rem;
    padding: 11px 40px 11px 12px;
  }
  .buttonChevron::before {
    width: 34px;
  }
  .buttonChevron::after {
    right: 8px;
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   2. BOTÕES ESTILO PÍLULA (BUTTON PILL)
   ========================================================================== */
.buttonPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1.05rem;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
  max-width: 100%;
  box-sizing: border-box;
  touch-action: manipulation;
}

.buttonPill.red {
  background: var(--accent-red);
  color: #ffffff;
  box-shadow: var(--shadow-red);
}

.buttonPill.red:hover {
  background: var(--accent-red-hover);
  transform: translateY(-2px);
}

.buttonPill.blue {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.35);
}

.buttonPill.blue:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

.buttonPill.gold {
  background: linear-gradient(135deg, var(--gold-start) 0%, var(--gold-mid) 50%, var(--gold-end) 100%);
  color: #07152b;
  box-shadow: var(--shadow-gold);
}

.buttonPill.gold:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.buttonPill.outline-white {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(8px);
}

.buttonPill.outline-white:hover {
  background: #ffffff;
  color: var(--primary-deep);
}

@media (max-width: 768px) {
  .buttonPill {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

@media (max-width: 360px) {
  .buttonPill {
    padding: 10px 18px;
    font-size: 0.88rem;
  }
}

/* ==========================================================================
   3. MENU FULLSCREEN DESLIZANTE (AZUL EXPLORE MENU)
   ========================================================================== */
.fullscreen-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
}

.fullscreen-drawer.is-active {
  visibility: visible;
  opacity: 1;
}

.drawer-container {
  width: 100%;
  height: 100%;
  background: #0088cc;
  display: flex;
  overflow: hidden;
  position: relative;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fullscreen-drawer.is-active .drawer-container {
  transform: translateX(0);
}

/* Painel Esquerdo com Links e Categorias */
.drawer-left-pane {
  flex: 1;
  max-width: 650px;
  background: linear-gradient(180deg, #0188cc 0%, #026f97 100%);
  padding: 40px 50px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  color: #ffffff;
  z-index: 2;
  -webkit-overflow-scrolling: touch;
}

/* Botão Fechar / Voltar */
.btn-drawer-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: #a31e2d;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
  touch-action: manipulation;
}

.btn-drawer-close:hover {
  background: #801421;
  transform: scale(1.05);
}

.drawer-actions-top {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.drawer-category {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 18px;
}

.drawer-category-title {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #a9e8ff;
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  transition: var(--transition);
  touch-action: manipulation;
}

.drawer-nav-link:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateX(6px);
}

.drawer-nav-link::after {
  content: "→";
  font-size: 1.1rem;
  opacity: 0.6;
}

/* Painel Direito com Imagem de Destaque */
.drawer-right-pane {
  flex: 1.2;
  position: relative;
  background: #0c3c83;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-featured-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

@media (max-width: 992px) {
  .drawer-right-pane {
    display: none;
  }
  .drawer-left-pane {
    max-width: 100%;
    width: 100%;
    padding: 70px 24px 30px 24px;
  }
  .btn-drawer-close {
    top: 16px;
    right: 16px;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .drawer-left-pane {
    padding: 65px 16px 24px 16px;
    gap: 20px;
  }
  .btn-drawer-close {
    top: 12px;
    right: 12px;
    padding: 8px 16px;
    font-size: 0.82rem;
  }
  .drawer-category-title {
    font-size: 1.05rem;
  }
  .drawer-nav-link {
    font-size: 0.95rem;
    padding: 8px 10px;
  }
}

/* ==========================================================================
   4. GAVETA VERMELHA DE INGRESSOS E RESERVAS
   ========================================================================== */
.reservation-drawer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  z-index: 2000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.75);
}

.reservation-drawer.is-active {
  visibility: visible;
  opacity: 1;
}

.res-drawer-content {
  width: 100%;
  height: 100%;
  background: #e83348;
  color: #ffffff;
  padding: clamp(30px, 6vw, 60px) clamp(16px, 4vw, 40px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  -webkit-overflow-scrolling: touch;
}

.reservation-drawer.is-active .res-drawer-content {
  transform: translateY(0);
}

.res-cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  width: 100%;
  margin-top: 30px;
}

.res-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.res-card:hover {
  transform: translateY(-8px);
}

.res-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.res-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
}

.res-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-deep);
  margin-bottom: 8px;
}

.res-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

@media (max-width: 600px) {
  .res-cards-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   5. LIGHTBOX MODAL PARA FOTOS
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(12px, 3vw, 30px);
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.lightbox-modal.is-active {
  visibility: visible;
  opacity: 1;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 95vw;
  max-height: 85vh;
  max-height: 85dvh;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  max-height: 85dvh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.lightbox-close-btn {
  position: absolute;
  top: 20px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  touch-action: manipulation;
}

.lightbox-close-btn:hover {
  background: var(--accent-red);
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .lightbox-close-btn {
    top: 14px;
    right: 14px;
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .lightbox-img-wrapper {
    max-width: 98vw;
  }
  .lightbox-close-btn {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.6);
  }
}



.buttonChevron.red {
  background: var(--accent-red);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(231, 52, 76, 0.35);
}

