/* =========================================================
   DETALHE DO EVENTO LIMPO
   ========================================================= */

.evento-detalhe-page{
  max-width:1180px;
  margin:0 auto;
  padding:18px 0 34px;
}

.evento-cover{
  width:100%;
  border-radius:0 0 18px 18px;
  overflow:hidden;
  background:#172033;
  border-bottom:3px solid #2563eb;
  margin-bottom:0;
}

.evento-cover img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
}

.evento-cover.sem-banner{
  min-height:132px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#fff;
  text-align:center;
  padding:28px;
}

.evento-cover.sem-banner strong{
  font-size:15px;
  font-weight:500;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.evento-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 335px;
  gap:22px;
  align-items:start;
  background:#f6f8fb;
  border-left:1px solid #e3e8ef;
  border-right:1px solid #e3e8ef;
  border-bottom:1px solid #e3e8ef;
  padding:26px 24px;
}

.evento-main{
  min-width:0;
  padding-right:22px;
  border-right:1px solid #dbe3ef;
}

.evento-side{
  min-width:0;
  position:sticky;
  top:86px;
}

.evento-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:15px;
}

.evento-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:24px;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:500;
  border:1px solid transparent;
}

.evento-pill.green{
  background:#dcfce7;
  color:#166534;
}

.evento-pill.blue{
  background:#eff6ff;
  color:#1d4ed8;
}

.evento-pill.yellow{
  background:#fef3c7;
  color:#92400e;
}

.evento-pill.red{
  background:#fee2e2;
  color:#991b1b;
}

.evento-title{
  margin:0 0 13px;
  font-size:26px;
  line-height:1.18;
  color:#0f172a;
  font-weight:620;
  letter-spacing:-.03em;
}

.evento-meta{
  display:grid;
  gap:8px;
  margin-bottom:24px;
  color:#475569;
  font-size:13.5px;
}

.evento-meta-row{
  display:flex;
  align-items:flex-start;
  gap:9px;
}

.evento-meta-row span:first-child{
  width:20px;
  min-width:20px;
  color:#64748b;
  text-align:center;
}

.evento-divider{
  border:0;
  border-top:1px solid #dbe3ef;
  margin:24px 0;
}

.evento-section{
  margin-top:22px;
}

.evento-section h2{
  margin:0 0 15px;
  font-size:17px;
  color:#0f172a;
  font-weight:620;
  position:relative;
}

.evento-section h2::after{
  content:"";
  display:block;
  width:32px;
  height:3px;
  background:#2563eb;
  border-radius:999px;
  margin-top:8px;
}

.evento-texto{
  color:#334155;
  font-size:14px;
  line-height:1.7;
}

.evento-texto p{
  margin:0 0 12px;
}

.evento-info-box{
  border:1px solid #dbeafe;
  background:#eff6ff;
  color:#1e3a8a;
  border-radius:15px;
  padding:14px;
  margin:18px 0 0;
  font-size:13.5px;
  line-height:1.55;
}

.evento-count-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin-bottom:24px;
}

.evento-count-box{
  border:1px solid #d0d8e6;
  background:#fff;
  border-radius:10px;
  padding:10px 5px;
  text-align:center;
}

.evento-count-box strong{
  display:block;
  font-size:20px;
  line-height:1;
  color:#172033;
  font-weight:600;
}

.evento-count-box span{
  display:block;
  margin-top:5px;
  font-size:9px;
  color:#64748b;
  text-transform:uppercase;
}

.evento-side-title{
  margin:0 0 15px;
  font-size:17px;
  color:#0f172a;
  font-weight:620;
  position:relative;
}

.evento-side-title::after{
  content:"";
  display:block;
  width:32px;
  height:3px;
  background:#2563eb;
  border-radius:999px;
  margin-top:8px;
}

.evento-lote-card{
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:13px;
  margin-bottom:10px;
}

.evento-lote-card h3{
  margin:0 0 8px;
  font-size:13.5px;
  line-height:1.35;
  color:#172033;
  font-weight:620;
}

.evento-preco{
  color:#334155;
  font-size:13px;
  margin-bottom:4px;
}

.evento-preco small{
  color:#64748b;
}

.evento-parcela{
  color:#047857;
  font-size:12px;
  font-style:italic;
  margin-bottom:12px;
}

.evento-btn{
  width:100%;
  min-height:40px;
  border:0;
  border-radius:10px;
  background:#2563eb;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
}

.evento-btn:hover{
  background:#1d4ed8;
  color:#fff;
}

.evento-btn.disabled{
  background:#cbd5e1;
  color:#64748b;
  pointer-events:none;
}

.evento-side-note{
  margin-top:13px;
  font-size:12px;
  color:#64748b;
  line-height:1.5;
}

.evento-termo-box{
  background:#fff;
  border:1px solid #e3e8ef;
  border-radius:14px;
  padding:16px;
  color:#334155;
  font-size:13.5px;
  line-height:1.65;
}

@media(max-width:920px){
  .evento-layout{
    grid-template-columns:1fr;
    padding:20px 14px;
  }

  .evento-main{
    border-right:0;
    padding-right:0;
  }

  .evento-side{
    position:relative;
    top:auto;
  }

  .evento-cover img{
    height:180px;
  }
}

@media(max-width:620px){
  .evento-detalhe-page{
    padding-top:0;
  }

  .evento-layout{
    border-left:0;
    border-right:0;
  }

  .evento-title{
    font-size:23px;
  }

  .evento-count-grid{
    grid-template-columns:repeat(2,1fr);
  }
}


/* =========================================================
   BANNER DO EVENTO MAIOR / MENOS CORTADO
   ========================================================= */

.evento-cover img,
.compra-cover img{
  height:420px !important;
  object-fit:cover !important;
  object-position:center center !important;
}

.evento-cover,
.compra-cover{
  background:#0f172a !important;
}

/* Em telas médias */
@media(max-width:920px){
  .evento-cover img,
  .compra-cover img{
    height:320px !important;
  }
}

/* Em celular */
@media(max-width:620px){
  .evento-cover img,
  .compra-cover img{
    height:240px !important;
  }
}
