/* ==================================================
   BASE
================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700;800;900&display=swap');

@font-face {
  font-family: 'Amsipro';
  src: url('https://cdn.prod.website-files.com/649e284b495329acb459d6b4/649e284b495329acb459d6c6_AmsiPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  background-color: #f8f9fa;
  font-family: 'Open Sans', Arial, sans-serif;
}
.logo { max-height: 80px; }

.tags-filter-shell {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  gap: 10px;
  align-items: center;
  padding: 10px 0 14px;
}

.tags-filter-control {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 50%;
  background: #fff;
  color: #737b84;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(0,0,0,.06);
}

.tags-filter-control:hover,
.tags-filter-control:focus {
  color: #d71920;
  border-color: rgba(215,25,32,.35);
}

.eventos-tags-filtro {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  align-items: center;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 0 14px;
  margin: -10px 0 -14px;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.eventos-tags-filtro::-webkit-scrollbar {
  display: none;
}

.eventos-tag-pill {
  position: relative;
  z-index: 21;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 102px;
  width: 102px;
  min-height: 88px;
  padding: 12px 8px 10px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  background: rgba(255,255,255,.96);
  color: #727b86;
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.18;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 4px 14px rgba(0,0,0,.04);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.eventos-tag-pill i {
  font-size: 22px;
  line-height: 1;
}

.eventos-tag-pill:hover,
.eventos-tag-pill:focus {
  border-color: #d71920;
  color: #b4161c;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
  text-decoration: none;
}

.eventos-tag-pill.active {
  border-color: #d71920;
  background: #d71920;
  color: #fff;
}

.eventos-anchor {
  position: relative;
  top: -92px;
  height: 1px;
  pointer-events: none;
}

/* ==================================================
   HEADER INSTITUCIONAL (STICKY)
================================================== */

.header-institucional {
  position: sticky;
  top: 0;
  z-index: 1050;

  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(6px);

  padding: 14px 0 16px 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Barra vermelha sofisticada */
.header-institucional::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 5px;

  background: linear-gradient(
    90deg,
    #d71920 0%,
    #c4161c 40%,
    #d71920 100%
  );

  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-brand .logo {
  max-height: 54px;
  max-width: min(280px, 58vw);
  height: auto;
  width: auto;
  display: block;
}

.header-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-content {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 54px;
  padding-left: 20px;
  border-left: 1px solid rgba(63,63,63,.35);
}

.header-section {
  font-family: 'Amsipro', 'Open Sans', Arial, sans-serif;
  font-size: clamp(.88rem, 1.75vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #3f3f3f;
  line-height: .92;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: 4px;
  font-family: 'Amsipro', 'Open Sans', Arial, sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.header-action:hover,
.header-action:focus {
  text-decoration: none;
  transform: translateY(-1px);
}

.header-action-primary {
  color: #fff;
  background: #d71920;
  border: 1px solid #d71920;
}

.header-action-primary:hover,
.header-action-primary:focus {
  color: #fff;
  background: #b90f16;
  border-color: #b90f16;
}

.header-action-secondary {
  color: #d71920;
  background: #fff;
  border: 1px solid #d71920;
}

.header-action-secondary:hover,
.header-action-secondary:focus {
  color: #fff;
  background: #d71920;
  border-color: #d71920;
}

/* Responsivo */
@media (max-width: 768px) {
  .header-inner {
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
  }

  .header-brand .logo {
    max-height: 44px;
    max-width: 132px;
  }

  .header-actions {
    width: 100%;
    margin-left: 0;
    justify-content: center;
    order: 3;
  }

  .header-action {
    min-height: 34px;
    padding: 0 14px;
    font-size: .76rem;
  }

}

@media (max-width: 480px) {
  .header-institucional {
    padding: 12px 0 14px 0;
  }

  .header-inner {
    align-items: center;
    gap: 12px;
  }

  .header-content {
    min-height: 38px;
    padding-left: 12px;
  }

  .header-brand .logo {
    max-height: 38px;
    max-width: 116px;
  }

  .header-section {
    font-size: .72rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-action {
    flex: 1 1 0;
    max-width: 150px;
    min-height: 32px;
    padding: 0 10px;
    font-size: .7rem;
  }
}


/* ==================================================
   SECTION TITLE (Escolha Evento)
================================================== */

.section-title {
  position: relative;
  padding-left: 14px;
  font-weight: 800;
  font-size: 1.55rem;
  color: #222;
  line-height: 1.2;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  height: 26px;
  width: 4px;
  background-color: #d71920;
  border-radius: 2px;
}

.list-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #222;
}

.list-count {
  color: #666;
  font-size: 0.95rem;
  font-weight: 600;
}


/* ==================================================
   DESTAQUE
================================================== */

.evento-destaque {
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(215,25,32,0.12), transparent 38%),
    linear-gradient(135deg, #ffffff 0%, #fff7f7 100%);
  box-shadow: 0 8px 20px rgba(0,0,0,0.07);
}

.evento-destaque-overlay {
  position: relative;
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  --destaque-bg-y: 50%;
}

.evento-destaque-overlay::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 50%;
  top: -28px;
  width: 100vw;
  height: calc(100% + 56px);
  transform: translateX(-50%);
  background-image: url('/public/uploads/logo/2d92f7de-1252-4754-847a-8c1c4e6a93232-v2.png');
  background-position: center var(--destaque-bg-y);
  background-size: cover;
  background-repeat: no-repeat;
}

.evento-destaque-thumb {
  position: relative;
  z-index: 1;
  width: 68%;
  aspect-ratio: 16 / 9;
  height: auto;
  min-height: 0;
  max-height: 360px;
  background-color: #111;
  background-position: center;
  background-size: cover;
  overflow: hidden;
  box-shadow: none;
}

.evento-destaque-thumb::before,
.evento-thumb::before {
  display: none;
}

.evento-destaque-thumb .fundo-blur,
.evento-thumb .fundo-blur {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: cover;
  filter: blur(18px);
  transform: scale(1.08);
  opacity: .9;
}

.evento-destaque-thumb::after,
.evento-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(255,255,255,.05), rgba(255,255,255,.01)),
    linear-gradient(0deg, rgba(215,25,32,.02), rgba(215,25,32,.02));
  pointer-events: none;
}

.evento-destaque-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-height: 360px;
  object-fit: fill;
  object-position: center;
  filter: saturate(.9) contrast(.98) brightness(.99);
  opacity: .98;
  display: block;
}

.evento-link-thumb {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
}

.evento-destaque-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 1rem 1.2rem;
}

.evento-destaque-panel {
  position: absolute;
  z-index: 5;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 48%;
  max-width: 520px;
  min-height: 260px;
  margin: 0;
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: center;
  background: #fff;
  padding: 28px 26px;
  box-shadow: 0 16px 32px rgba(0,0,0,.10);
}

.evento-destaque-date {
  min-height: 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0,0,0,.10);
  color: #d71920;
  line-height: 1;
}

.evento-destaque-day {
  font-size: 2rem;
  font-weight: 800;
}

.evento-destaque-month {
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0;
}

.evento-destaque-summary {
  min-width: 0;
}

.evento-destaque-panel .evento-destaque-titulo {
  font-size: 1.18rem;
  line-height: 1.22;
  margin: 0 0 .45rem;
  min-height: 0;
  display: block;
  overflow: visible;
}

.evento-destaque-panel .evento-destaque-info {
  margin-bottom: .65rem;
  color: #626b75;
  font-size: .74rem;
}

.evento-destaque-panel .evento-destaque-info i {
  color: #d71920;
}

.evento-destaque-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.evento-destaque-action-link,
.evento-destaque-share-link {
  border: 0;
  background: transparent;
  padding: 0;
  font-size: .92rem;
  font-weight: 800;
  color: #d71920;
  text-decoration: none;
  cursor: pointer;
}

.evento-destaque-share-link {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #4b5563;
  border-radius: 999px;
}

.evento-destaque-share-link i {
  font-size: 1rem;
  line-height: 1;
}

.evento-destaque-action-link:hover,
.evento-destaque-share-link:hover {
  color: #a81218;
  text-decoration: underline;
}

.evento-closed-link,
.evento-closed-link:hover,
.evento-closed-link:focus {
  color: #3f3f3f;
}

.evento-destaque-closed {
  font-size: .92rem;
  font-weight: 800;
  color: #6c757d;
}

.evento-destaque-titulo {
  font-size: clamp(1.1rem, 1.55vw, 1.45rem);
  line-height: 1.22;
  font-weight: 900;
  color: #1a1a1a;
  margin-bottom: 0.55rem;
}

.evento-destaque-info {
  font-size: 0.86rem;
  margin-bottom: 0.35rem;
}

.evento-destaque-descricao {
  margin: 0.55rem 0 0;
  color: #474747;
  font-size: 0.9rem;
  line-height: 1.42;
  max-height: 4.9rem;
  overflow: hidden;
}

.evento-destaque-acoes {
  margin-top: 0.9rem;
}

.evento-destaque .btn-primary {
  background-color: #d71920;
  border-color: #d71920;
  border-radius: 12px;
  font-weight: 800;
  padding: 0.68rem 1rem;
  font-size: 0.95rem;
}

.evento-destaque .btn-primary:hover {
  background-color: #b4161c;
  border-color: #b4161c;
}

.btn-destaque-visualizar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 180px;
  min-height: 42px;
  border-width: 1px;
  box-shadow: 0 14px 24px rgba(215,25,32,0.18);
}

.btn-destaque-visualizar i {
  font-size: 1rem;
}

.evento-destaque-acoes .btn-share-event {
  min-height: 42px;
  padding: 0.68rem 0.95rem;
  font-size: 0.92rem;
}

.evento-link-thumb {
  display: block;
  width: 100%;
  height: 100%;
}

.evento-link-thumb img {
  transition: transform .25s ease;
}

.evento-link-thumb:hover img {
  transform: none;
}

.evento-link-titulo {
  color: inherit;
  text-decoration: none;
  transition: color .2s ease;
}

.evento-link-titulo:hover {
  color: #b4161c;
}

.btn-share-card {
  width: 46px;
  min-width: 46px;
  border-radius: 0.375rem;
}

.share-modal {
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.16);
}

.share-kicker {
  display: block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d71920;
  margin-bottom: 4px;
}

.share-copy {
  color: #555;
}

.share-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.share-network {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease;
}

.share-network:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.share-network i,
.share-x-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  font-size: 1rem;
  font-weight: 900;
}

.share-facebook {
  background: #1877f2;
  color: #fff;
}

.share-x {
  background: #111;
  color: #fff;
}

.share-whatsapp {
  background: #25d366;
  color: #fff;
}

.badge-destaque {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: #fff;
  color: #d71920;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  box-shadow: 0 10px 24px rgba(0,0,0,0.14);
  text-transform: uppercase;
}

.destaque-encerrado {
  right: 16px;
  top: 16px;
}

.eventos-coverflow {
  position: relative;
  width: 100%;
  overflow: visible;
  padding: 18px 0 8px;
}

.eventos-coverflow-stage {
  position: relative;
  height: min(31vw, 480px);
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coverflow-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coverflow-slide {
  position: absolute;
  width: min(58vw, 860px);
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  background: #111;
  box-shadow: 0 18px 35px rgba(0,0,0,.18);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0) scale(.55);
  transition: transform .35s ease, opacity .35s ease, z-index .35s ease;
}

.coverflow-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
}

.coverflow-slide.is-active img {
  animation: eventosHeroIntroZoom .9s ease-out both;
}

@keyframes eventosHeroIntroZoom {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}

.coverflow-slide.is-active {
  z-index: 6;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.coverflow-slide.is-prev {
  z-index: 5;
  opacity: .92;
  pointer-events: auto;
  transform: translateX(-33%) scale(.82);
}

.coverflow-slide.is-next {
  z-index: 5;
  opacity: .92;
  pointer-events: auto;
  transform: translateX(33%) scale(.82);
}

.coverflow-slide.is-far-prev {
  z-index: 3;
  opacity: .72;
  transform: translateX(-56%) scale(.7);
}

.coverflow-slide.is-far-next {
  z-index: 3;
  opacity: .72;
  transform: translateX(56%) scale(.7);
}

.coverflow-nav {
  position: absolute;
  z-index: 10;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  cursor: pointer;
}

.coverflow-nav:hover,
.coverflow-nav:focus {
  color: #d71920;
}

.coverflow-prev {
  left: max(18px, 11%);
}

.coverflow-next {
  right: max(18px, 11%);
}

.eventos-coverflow-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 10px;
}

.eventos-coverflow-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: #d7dce2;
  cursor: pointer;
}

.eventos-coverflow-dots button.is-active {
  background: #0d8ee8;
}

.eventos-coverflow-caption {
  margin: 14px auto 0;
  text-align: center;
  color: #2f3542;
}

.eventos-coverflow-caption h2 {
  margin: 0 0 7px;
  color: #2d3442;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.eventos-coverflow-caption div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  color: #5f6875;
  font-size: .86rem;
  font-weight: 700;
}

.eventos-coverflow-caption span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}


/* ==================================================
   EVENTOS (CARDS)
================================================== */

.mais-eventos-section {
  position: relative;
  padding-top: 0px;
  padding-bottom: 42px;
}

.mais-eventos-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  /* background: url('/public/uploads/logo/Pattern-Randomized.svg') center / 100% 100% repeat; */
  opacity: .22;
}

.mais-eventos-section > * {
  position: relative;
  z-index: 1;
}

.eventos-grid {
  row-gap: 2.25rem;
}

.evento-card {
  position: relative;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
  overflow: visible;
}

.evento-card:hover {
  transform: translateY(-4px);
}

/* Imagem com proporção fixa */
.evento-thumb {
  position: relative;
  overflow: hidden;
  background-color: #111;
  background-position: center;
  background-size: cover;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto !important;
  min-height: 0;
  max-height: 240px;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.evento-thumb img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  filter: saturate(.9) contrast(.98) brightness(.99);
  opacity: .98;
  display: block;
}

.evento-card .evento-link-thumb {
  height: 100%;
}

.evento-card .evento-link-thumb img,
.evento-card > .evento-thumb > img {
  height: 100%;
  max-height: 240px;
}

.evento-card-panel {
  position: relative;
  z-index: 4;
  width: calc(100% - 28px);
  margin: -34px auto 0;
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(0,0,0,.10);
  height: 148px;
  min-height: 148px;
}

.evento-card-date {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-right: 1px solid rgba(0,0,0,.10);
  color: #d71920;
  line-height: 1;
}

.evento-card-day {
  font-size: 1.55rem;
  font-weight: 800;
}

.evento-card-month {
  margin-top: 5px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 0;
}

.evento-card-summary {
  min-width: 0;
}

.evento-card-info {
  margin-top: .45rem;
  font-size: .68rem;
  color: #626b75;
  min-height: 1.9rem;
  overflow: hidden;
}

.evento-card-info i {
  color: #d71920;
}

.evento-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: .65rem;
}

/* Badge "Encerrado" */
.badge-encerrado {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 5;
  display: inline-block;
  background-color: #dc3545;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  padding: 4px 8px;
  border-radius: 6px;
  line-height: 1;
  box-shadow: 0 2px 6px rgba(0,0,0,0.18);
}

/* Imagem em preto e branco quando encerrado */
.evento-card.encerrado .evento-thumb .fundo-blur {
  filter: grayscale(100%) brightness(75%) blur(18px);
  opacity: .9;
}

.evento-card.encerrado .evento-thumb::after {
  background:
    linear-gradient(135deg, rgba(255,255,255,.06), rgba(255,255,255,.02)),
    linear-gradient(0deg, rgba(0,0,0,.08), rgba(0,0,0,.08));
}

.evento-card.encerrado .evento-thumb img {
  filter: grayscale(100%) brightness(85%);
  opacity: .98;
}

/* Título em até 2 linhas */
.text-truncate-2{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Corpo */
.evento-card .card-body { padding: 1.4rem; }

/* Título do evento (melhorado) */
.evento-titulo {
  font-size: .9rem;
  font-weight: 900;
  color: #1f1f1f;
  line-height: 1.25;
  margin: 0;
}

/* Infos (data/local) */
.evento-info {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #555;
  line-height: 1.4;
}

.evento-info i {
  color: #d71920;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.evento-info span {
  display: block;
}

/* Botão */
.evento-card .btn-primary {
  background-color: #d71920;
  border-color: #d71920;
  font-weight: 800;
  padding: 10px 14px;
  border-radius: 0.375rem;
}

.evento-card .btn-primary:hover {
  background-color: #b4161c;
  border-color: #b4161c;
}


/* ==================================================
   PAGINACAO
================================================== */

.eventos-pagination .page-link {
  border: 0;
  color: #5b5b5b;
  font-weight: 700;
  border-radius: 10px;
  margin: 0 4px;
  min-width: 42px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
}

.eventos-pagination .page-item.active .page-link {
  background-color: #d71920;
  color: #fff;
}

.eventos-pagination .page-item.disabled .page-link {
  color: #9b9b9b;
  box-shadow: none;
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
  background: #d8d8d8;
  color: #000;
  font-size: 14px;
  line-height: 21px;
  margin-top: 60px;
}

.site-footer a {
  color: #514a4a;
  text-decoration: none;
}

.site-footer a:hover {
  color: #b5151a;
  text-decoration: underline;
}

.footer-main {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 52px;
  padding: 40px 12px 26px;
}

.footer-side {
  max-width: 245px;
}

.footer-logo {
  width: 200px;
  max-width: 100%;
  height: auto;
  margin: 0 0 18px;
  display: block;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.footer-social a {
  color: #514a4a;
  font-size: 1.35rem;
  line-height: 1;
}

.footer-buttons {
  display: grid;
  gap: 8px;
  margin: 0 0 22px;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 225px;
  max-width: 100%;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 4px;
  color: #fff !important;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-pill:hover {
  color: #fff !important;
  text-decoration: none !important;
  filter: brightness(.95);
}

.footer-pill-whatsapp {
  background: #477656;
}

.footer-pill-email {
  background: #6a6a6a;
}

.footer-contact-block {
  margin-top: 24px;
}

.footer-contact-block h2,
.footer-menu h2 {
  color: #000;
  font-size: 18px;
  line-height: 21px;
  font-weight: 700;
  margin: 0 0 10px;
}

.footer-contact-block p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 21px;
}

.footer-phone {
  font-size: 14px;
  line-height: 21px;
  font-weight: 700;
}

.footer-contact-icons {
  display: flex;
  gap: 18px;
  margin-top: 6px;
}

.footer-contact-icons a {
  color: #514a4a;
  font-size: 1.35rem;
}

.footer-links {
  display: grid;
  align-content: start;
  gap: 26px;
  padding-top: 2px;
}

.footer-menu ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-menu li {
  display: inline-block;
}

.footer-menu a {
  font-size: 14px;
  line-height: 21px;
}

.footer-copy {
  background: #d8d8d8;
  padding: 0 0 24px;
}

.footer-copy p {
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 21px;
}

.footer-copy a {
  color: #b5151a;
}

.convenio-section-tabs {
  position: relative;
  display: flex;
  align-items: flex-end;
  width: 100%;
  margin: 8px 0 24px;
  padding-left: 34px;
  min-height: 50px;
}

.convenio-section-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: #d2d2d2;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
}

.convenio-section-tab {
  position: relative;
  z-index: 1;
  min-width: 198px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-right: -34px;
  border: 0;
  background: transparent;
  color: #101820;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .18s ease, transform .18s ease;
}

.convenio-section-tab::before {
  content: "";
  position: absolute;
  inset: 0 10px 0 10px;
  z-index: -1;
  border: 1px solid #d9d9d9;
  border-bottom-color: #d2d2d2;
  border-radius: 19px 19px 5px 5px;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(15, 23, 42, .05);
  transform: skewX(-2deg);
  transform-origin: bottom center;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.convenio-section-tab.active {
  z-index: 3;
  color: #fff;
}

.convenio-section-tab i {
  font-size: 1.18rem;
}

.convenio-section-tab:hover {
  color: #d71920;
  text-decoration: none;
  transform: translateY(-2px);
}

.convenio-section-tab:hover::before {
  border-color: #d2d2d2;
  background: #fff;
  box-shadow: 0 -5px 14px rgba(15, 23, 42, .10);
}

.convenio-section-tab.active::before {
  border-color: #d71920;
  background: linear-gradient(180deg, #d71920 0%, #c90008 100%);
  box-shadow: 0 -3px 12px rgba(215, 25, 32, .18);
}

.convenio-section-tab.active:hover {
  color: #fff;
}

.convenio-home-support {
  margin-top: 8px;
}

.convenio-support-card {
  min-height: 100%;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .06);
}

.convenio-support-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.convenio-support-head h2 {
  margin: 0;
  color: #1f2937;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.convenio-support-see-all {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #d71920;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.convenio-support-see-all:hover {
  color: #b4161c;
  text-decoration: none;
}

.convenio-latest-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.convenio-latest-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid #edf0f4;
  color: inherit;
  text-decoration: none;
}

.convenio-latest-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.convenio-latest-item:hover {
  text-decoration: none;
}

.convenio-latest-item img {
  width: 72px;
  height: 58px;
  border-radius: 7px;
  object-fit: contain;
  background: #eef2f7;
}

.convenio-latest-copy {
  min-width: 0;
}

.convenio-latest-copy strong,
.convenio-latest-copy small,
.convenio-latest-date {
  display: block;
}

.convenio-latest-copy strong {
  overflow: hidden;
  color: #1f2937;
  font-size: .86rem;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.convenio-latest-copy small {
  overflow: hidden;
  margin-top: 2px;
  color: #6b7280;
  font-size: .76rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.convenio-latest-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  color: #6b7280;
  font-size: .72rem;
  font-weight: 800;
}

.convenio-latest-action {
  align-self: center;
  border-radius: 999px;
  background: #d71920;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  padding: 6px 10px;
  text-transform: uppercase;
}

.convenio-support-empty {
  margin: 0;
  color: #6b7280;
}

.convenio-associate-banner {
  position: relative;
  min-height: 250px;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 22px;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  padding: 24px 26px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .45) 52%, rgba(0, 0, 0, .24) 100%),
    url('/public/assets/pages/convenio/img/associe-se-maos.jpg') center / cover no-repeat;
  box-shadow: 0 16px 34px rgba(15, 23, 42, .16);
}

.convenio-associate-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(215, 25, 32, .35), transparent 32%);
  pointer-events: none;
}

.convenio-associate-copy,
.convenio-associate-panel {
  position: relative;
  z-index: 1;
}

.convenio-associate-copy h2 {
  max-width: 480px;
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.45rem, 2.25vw, 2.2rem);
  font-weight: 900;
  line-height: 1.06;
}

.convenio-associate-copy p {
  max-width: 470px;
  margin: 0;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.22;
}

.convenio-associate-panel {
  justify-self: end;
  width: min(100%, 360px);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  padding: 20px 18px;
  color: #111827;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .22);
}

.convenio-associate-panel h3 {
  margin: 0 0 14px;
  color: #111827;
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.08;
}

.convenio-associate-button {
  min-height: 46px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #d71920;
  color: #fff;
  font-size: .9rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.convenio-associate-button:hover {
  background: #b4161c;
  color: #fff;
  text-decoration: none;
}

.convenio-associate-panel p {
  margin: 12px 0 0;
  color: #374151;
  font-size: .7rem;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .eventos-coverflow-stage {
    height: 370px;
    min-height: 270px;
  }

  .coverflow-slide {
    width: min(78vw, 720px);
  }

  .coverflow-prev {
    left: 12px;
  }

  .coverflow-next {
    right: 12px;
  }

  .evento-destaque-overlay::before {
    top: -28px;
    height: calc(100% + 56px);
    transform: translateX(-50%);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-side {
    max-width: none;
  }

  .convenio-associate-banner {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .convenio-associate-panel {
    justify-self: start;
  }

  .footer-logo {
    width: 180px;
  }

  .evento-destaque-body {
    padding: 1rem 1.15rem;
  }

  .evento-destaque-thumb,
  .evento-destaque-thumb img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 300px;
  }

  .evento-destaque-panel {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    width: calc(100% - 32px);
    max-width: 720px;
    min-height: 0;
    margin: -42px auto 0;
    padding: 20px 22px;
    grid-template-columns: 78px 1fr;
    gap: 18px;
  }
}

@media (max-width: 576px) {
  .eventos-coverflow {
    padding-top: 2px;
  }

  .eventos-coverflow-stage {
    height: 260px;
    min-height: 235px;
  }

  .coverflow-slide {
    width: 84vw;
    border-radius: 6px;
  }

  .coverflow-slide.is-prev,
  .coverflow-slide.is-next,
  .coverflow-slide.is-far-prev,
  .coverflow-slide.is-far-next {
    opacity: .35;
  }

  .coverflow-nav {
    width: 38px;
    height: 38px;
  }

  .eventos-coverflow-caption h2 {
    font-size: .96rem;
  }

  .footer-main {
    padding-top: 32px;
  }

  .convenio-section-tabs {
    margin-top: 0;
    padding-left: 8px;
    overflow-x: auto;
  }

  .convenio-section-tab {
    min-width: 170px;
  }

  .convenio-latest-item {
    grid-template-columns: 62px minmax(0, 1fr);
  }

  .convenio-latest-action {
    display: none;
  }

  .convenio-associate-banner {
    padding: 20px;
  }

  .convenio-associate-copy h2 {
    font-size: 1.35rem;
  }

  .convenio-associate-copy p {
    font-size: .84rem;
  }

  .footer-menu ul {
    flex-direction: column;
    gap: 6px;
  }

  .footer-copy p {
    font-size: .8rem;
  }

  .section-title {
    font-size: 1.35rem;
  }

  .evento-destaque {
    border-radius: 0;
  }

  .evento-destaque-body {
    padding: 1rem;
  }

  .evento-destaque-thumb,
  .evento-destaque-thumb img {
    width: 100%;
    height: auto;
    min-height: 0;
    max-height: 240px;
  }

  .evento-destaque-panel {
    width: calc(100% - 24px);
    margin: -30px auto 0;
    grid-template-columns: 64px 1fr;
    gap: 14px;
    padding: 16px;
  }

  .evento-destaque-date {
    min-height: 62px;
  }

  .evento-destaque-day {
    font-size: 1.45rem;
  }

  .evento-destaque-month {
    font-size: .82rem;
  }

  .evento-destaque-panel .evento-destaque-titulo {
    font-size: .96rem;
  }

  .evento-destaque-actions {
    gap: 12px;
  }

  .evento-destaque-descricao {
    max-height: 4rem;
  }

  .badge-destaque,
  .badge-encerrado {
    font-size: 0.72rem;
  }
}
