
/* ================= EVENT PAGE ================= */
.event-container {
  padding-top: 10px;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 80px;
  }
}
@media (max-width: 768px) {

  .event-sidebar {
    order: -1;
  }

}
/* HERO */

/* HERO AJUSTADO */

.event-hero {
  margin-top: 0px; /* espaço após header */
  margin-bottom: 0px;
}

.event-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.event-title {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 0;
}

.event-meta {
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
  margin-bottom: 0;
}


.event-hero-image {
  border-radius: 20px;
  overflow: hidden;
  margin-top: 0;
  box-shadow: 0 15px 40px var(--alpha-shadow);
}

.event-hero-image img {
  width: 100%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

.event-hero-actions {
  margin-top: 10px;
}

.event-hero-actions .btn-primary {
  padding: 12px 24px;
  margin-top: 0;
  margin-bottom: 10px;
}

.btn-share {
  background: transparent;
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
}

.btn-share:hover {
  background: #f8f9fb;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.cupom-badge {
  /* background: rgba(16, 185, 129, 0.1); */
  background: linear-gradient(135deg, #d1fae5, #ecfdf5);
  border: 1px solid rgba(16,185,129,0.2);
  color: #013526;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
}

.cupom-badge strong {
  font-weight: 700;
  color: #026141;
}

@media (max-width: 768px) {
  .event-hero-image img {
    aspect-ratio: 16 / 9;
  }
}

/* LAYOUT */

.event-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 10px;
}

/* CONTENT */

.event-section-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 10px;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 15px 40px var(--alpha-shadow);
}

.event-section-card h2 {
  margin-top: 0;
  margin-bottom: 0px;
}

.event-section-card p {
  margin-top: 5px;
  margin-bottom: 0;
}


/* SIDEBAR */

.event-sidebar {
  background:  transparent;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid rgba(0,0,0,0.03);
  box-shadow: 0 15px 40px var(--alpha-shadow);
}

.sidebar-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.full {
  width: 100%;
  text-align: center;
  margin-top: 15px;
}

/* RESPONSIVO */

@media (max-width: 900px) {
  .event-layout {
    grid-template-columns: 1fr;
  }

  .event-hero-content {
    left: 20px;
    right: 20px;
  }

  .event-hero-image img {
    height: 300px;
  }
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

/* Ícone */
.contact-link img {
  width: 16px;
  height: 16px;
}

/* WhatsApp */
.whatsapp-link {
  color: #0f172a;
  background: rgba(37, 211, 102, 0.08);
}

.whatsapp-link:hover {
  background: rgba(37, 211, 102, 0.18);
}

/* Mapa */
.map-link {
  color: #0f172a;
  background: rgba(59, 130, 246, 0.08);
}

.map-link:hover {
  background: rgba(59, 130, 246, 0.18);
}

/* Botões de inscrição */
.btn {
  display: inline-block;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 600;
  text-align: center;
  transition: 0.2s ease;
  text-decoration: none;
}

.btn-cta {
  background: #b51217;
  color: #fff;
}

.btn-cta:hover {
  background: #8f0f13;
}

.btn-warning {
  background: #facc15;
  color: #111;
  cursor: not-allowed;
}

.btn-warning {
  background: #facc15;
  color: #111;
  cursor: not-allowed;
}

.btn-info {
  background: #cbd5e1;
  color: #334155;
  cursor: not-allowed;
}

.btn-disabled {
  background: #e2e8f0;
  color: #64748b;
  cursor: not-allowed;
}

.mobile-cta {
  display: none;
  background: var(--bg);
}
@media (max-width: 768px) {

  .mobile-cta {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.15);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.3s ease;
  }

  .mobile-cta.show {
    transform: translateY(0);
  }

  .mobile-cta .btn {
    width: 100%;
    border-radius: 12px;
  }

  .sidebar-card .btn {
    display: none;
  }
}

/* Botao flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  z-index: 999;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(0,0,0,20);
}

.whatsapp-float {
  background: #ffffff;
  border: 4px solid #25D366;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.2s ease;
}
.whatsapp-float svg {
  fill: #25D366;
}
@media (max-width: 768px) {

  .whatsapp-float {
    bottom: 90px; /* altura do botão Inscreva-se fixo + respiro */
    width: 52px;
    height: 52px;
  }

  .whatsapp-float img {
    width: 24px;
    height: 24px;
  }

}