/* =========================================================
   EVENTO + COMPRA / INSCRIÇÃO UNIFICADO
   ========================================================= */

.evento-detalhe-page,
.compra-detalhe-page{
  max-width:1180px;
  margin:0 auto;
  padding:18px 0 34px;
}

.evento-cover,
.compra-cover{
  width:100%;
  border-radius:0 0 18px 18px;
  overflow:hidden;
  background:#172033;
  border-bottom:3px solid #2563eb;
  margin-bottom:0;
}

.evento-cover img,
.compra-cover img{
  width:100%;
  height:230px;
  object-fit:cover;
  display:block;
}

.evento-cover.sem-banner,
.compra-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,
.compra-cover.sem-banner strong{
  font-size:15px;
  font-weight:500;
  letter-spacing:.02em;
  text-transform:uppercase;
}

.evento-layout,
.compra-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,
.compra-main{
  min-width:0;
  padding-right:22px;
  border-right:1px solid #dbe3ef;
}

.evento-side,
.compra-side{
  min-width:0;
  position:sticky;
  top:86px;
}

.evento-badges,
.compra-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:15px;
}

.evento-pill,
.compra-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:5px;
  min-height:24px;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:500;
  border:1px solid transparent;
}

.evento-pill.green,
.compra-pill.green{
  background:#dcfce7;
  color:#166534;
}

.evento-pill.blue,
.compra-pill.blue{
  background:#eff6ff;
  color:#1d4ed8;
}

.evento-pill.yellow,
.compra-pill.yellow{
  background:#fef3c7;
  color:#92400e;
}

.evento-pill.red,
.compra-pill.red{
  background:#fee2e2;
  color:#991b1b;
}

.evento-title,
.compra-title{
  margin:0 0 13px;
  font-size:26px;
  line-height:1.18;
  color:#0f172a;
  font-weight:620;
  letter-spacing:-.03em;
}

.evento-meta,
.compra-meta{
  display:grid;
  gap:8px;
  margin-bottom:24px;
  color:#475569;
  font-size:13.5px;
}

.evento-meta-row,
.compra-meta-row{
  display:flex;
  align-items:flex-start;
  gap:9px;
}

.evento-meta-row .meta-icon,
.compra-meta-row .meta-icon{
  width:22px;
  min-width:22px;
  height:22px;
  border-radius:8px;
  background:#eef2ff;
  color:#2563eb;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
}

.evento-divider,
.compra-divider{
  border:0;
  border-top:1px solid #dbe3ef;
  margin:24px 0;
}

.evento-section,
.compra-section{
  margin-top:22px;
}

.evento-section h2,
.compra-section h2{
  margin:0 0 15px;
  font-size:17px;
  color:#0f172a;
  font-weight:620;
  position:relative;
}

.evento-section h2::after,
.compra-section h2::after{
  content:"";
  display:block;
  width:32px;
  height:3px;
  background:#2563eb;
  border-radius:999px;
  margin-top:8px;
}

.evento-texto,
.compra-texto{
  color:#334155;
  font-size:14px;
  line-height:1.7;
}

.evento-info-box,
.compra-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;
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.evento-info-box i,
.compra-info-box i{
  margin-top:2px;
}

.evento-count-grid,
.compra-count-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:9px;
  margin-bottom:24px;
}

.evento-count-box,
.compra-count-box{
  border:1px solid #d0d8e6;
  background:#fff;
  border-radius:10px;
  padding:10px 5px;
  text-align:center;
}

.evento-count-box strong,
.compra-count-box strong{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:20px;
  font-size:17px;
  line-height:1;
  color:#172033;
  font-weight:600;
}

.evento-count-box strong i,
.compra-count-box strong i{
  font-size:17px;
  color:#2563eb;
}

.evento-count-box span,
.compra-count-box span{
  display:block;
  margin-top:5px;
  font-size:9px;
  color:#64748b;
  text-transform:uppercase;
}

.evento-side-title,
.compra-side-title{
  margin:0 0 15px;
  font-size:17px;
  color:#0f172a;
  font-weight:620;
  position:relative;
}

.evento-side-title::after,
.compra-side-title::after{
  content:"";
  display:block;
  width:32px;
  height:3px;
  background:#2563eb;
  border-radius:999px;
  margin-top:8px;
}

.evento-lote-card,
.compra-card{
  background:#fff;
  border:1px solid #cbd5e1;
  border-radius:10px;
  padding:13px;
  margin-bottom:10px;
}

.evento-lote-card h3,
.compra-card h3{
  margin:0 0 8px;
  font-size:13.5px;
  line-height:1.35;
  color:#172033;
  font-weight:620;
}

.evento-preco,
.compra-preco{
  color:#334155;
  font-size:13px;
  margin-bottom:4px;
}

.evento-parcela,
.compra-parcela{
  color:#047857;
  font-size:12px;
  font-style:italic;
  margin-bottom:12px;
}

.evento-btn,
.compra-btn,
.compra-form button[type="submit"],
.compra-form input[type="submit"]{
  width:100%;
  min-height:40px;
  border:0;
  border-radius:10px;
  background:#2563eb;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:10px 14px;
  font-size:13px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
}

.evento-btn:hover,
.compra-btn:hover,
.compra-form button[type="submit"]:hover{
  background:#1d4ed8;
  color:#fff;
}

.evento-btn.disabled,
.compra-btn.disabled{
  background:#cbd5e1;
  color:#64748b;
  pointer-events:none;
}

.evento-side-note,
.compra-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;
}

/* Form compra/inscrição */
.compra-form{
  display:grid;
  gap:12px;
}

.compra-form form{
  display:grid;
  gap:12px;
}

.compra-form p{
  margin:0 0 10px;
}

.compra-form label{
  display:block;
  font-size:12px;
  font-weight:560;
  color:#334155;
  margin-bottom:5px;
}

.compra-form input,
.compra-form select,
.compra-form textarea{
  width:100%;
  min-height:39px;
  border:1px solid #dbe3ef;
  border-radius:11px;
  padding:9px 10px;
  font-size:13px;
  outline:none;
  background:#fff;
}

.compra-form input:focus,
.compra-form select:focus,
.compra-form textarea:focus{
  border-color:#93c5fd;
  box-shadow:0 0 0 4px rgba(37,99,235,.10);
}

.compra-resumo-item{
  display:flex;
  justify-content:space-between;
  gap:10px;
  padding:9px 0;
  border-bottom:1px solid #e3e8ef;
  font-size:13px;
}

.compra-resumo-item:last-child{
  border-bottom:0;
}

.compra-resumo-item span{
  color:#64748b;
}

.compra-resumo-item strong{
  color:#172033;
  font-weight:600;
}

@media(max-width:920px){
  .evento-layout,
  .compra-layout{
    grid-template-columns:1fr;
    padding:20px 14px;
  }

  .evento-main,
  .compra-main{
    border-right:0;
    padding-right:0;
  }

  .evento-side,
  .compra-side{
    position:relative;
    top:auto;
  }

  .evento-cover img,
  .compra-cover img{
    height:180px;
  }
}

@media(max-width:620px){
  .evento-detalhe-page,
  .compra-detalhe-page{
    padding-top:0;
  }

  .evento-layout,
  .compra-layout{
    border-left:0;
    border-right:0;
  }

  .evento-title,
  .compra-title{
    font-size:23px;
  }

  .evento-count-grid,
  .compra-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;
  }
}


/* =========================================================
   PERGUNTAS PERSONALIZADAS NA COMPRA/INSCRIÇÃO
   ========================================================= */

.perguntas-personalizadas-box{
  margin-top:16px;
  display:grid;
  gap:12px;
}

.pergunta-campo{
  border:1px solid #e3e8ef;
  background:#fff;
  border-radius:14px;
  padding:13px;
}

.pergunta-campo label{
  display:block;
  font-size:13px;
  color:#172033;
  font-weight:600;
  margin-bottom:8px;
}

.pergunta-campo .required{
  color:#dc2626;
  margin-left:3px;
}

.pergunta-campo input,
.pergunta-campo select,
.pergunta-campo textarea{
  width:100%;
  min-height:40px;
  border:1px solid #dbe3ef;
  border-radius:11px;
  padding:9px 10px;
  font-size:13px;
  outline:none;
  background:#fff;
}

.pergunta-campo textarea{
  min-height:96px;
  resize:vertical;
}

.pergunta-opcoes{
  display:grid;
  gap:8px;
}

.pergunta-opcao{
  display:flex !important;
  align-items:center;
  gap:8px;
  font-weight:400 !important;
  color:#334155 !important;
  margin:0 !important;
}

.pergunta-opcao input{
  width:auto !important;
  min-height:auto !important;
}


/* =========================================================
   CHECKOUT FINAL: COMPRADOR + NOMES DOS INGRESSOS
   ========================================================= */

.checkout-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

.nomes-ingressos-box{
  display:grid;
  gap:10px;
  margin-top:12px;
}

.nome-ingresso-item{
  border:1px solid #e3e8ef;
  background:#fff;
  border-radius:14px;
  padding:13px;
}

.pergunta-campo{
  margin-bottom:12px;
}

@media(max-width:720px){
  .checkout-grid{
    grid-template-columns:1fr;
  }
}


/* =========================================================
   FORM EVENTO: FLUXO + PIX MANUAL
   ========================================================= */
.checkout-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:12px;
}

@media(max-width:720px){
  .checkout-grid{
    grid-template-columns:1fr;
  }
}
