.pass-detail{
  --hero-bg:#101826;
  --hero-line:rgba(255,255,255,.08);
  --hero-text:rgba(255,255,255,.82);
  --hero-accent:#14b8ff;
  --ticket-green:#3360de;
  --ticket-green-dark:#1d4ed8;
  --ticket-soft:#f7f7f8;
  --ticket-line:#e6e7eb;
  --ticket-blue:#1d8cff;
  --page-bg:#f4f5f7;
  --card-bg:#ffffff;
  --text-main:#1f2937;
  --text-soft:#5b6472;
}

.event-hero{
  color:#fff;
  padding:22px 0 18px;
  background:transparent;
}

.event-hero__panel{
  position:relative;
  overflow:hidden;
  border-radius:10px;
  padding:20px 20px 20px;
  background:linear-gradient(90deg, #5a4fa0 0%, #4256a2 28%, #4d6bb4 56%, #94acd0 80%, #dce5ef 100%);
  box-shadow:0 18px 42px rgba(28,38,76,.10);
}

.event-hero__panel::before{
  content:"";
  position:absolute;
  inset:0;
  background-image:var(--hero-image);
  background-size:cover;
  background-position:center;
  filter:blur(20px) saturate(1.05);
  transform:scale(1.08);
  opacity:.18;
}

.event-hero__panel::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(39,41,84,.10) 0%, rgba(39,41,84,.05) 28%, rgba(255,255,255,.05) 64%, rgba(255,255,255,.12) 100%),
    radial-gradient(circle at 26% 42%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 26%),
    radial-gradient(circle at 78% 38%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 24%);
  pointer-events:none;
}

.event-hero__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(0, 1fr);
  gap:24px;
  align-items:center;
  width:100%;
  min-height:276px;
}

.event-hero__content{
  min-width:0;
  max-width:none;
  padding-left:0;
  padding-right:0;
}

.event-hero__title{
  margin:0 0 18px;
  font-size:clamp(36px, 3.2vw, 52px);
  line-height:1.14;
  letter-spacing:-.045em;
  font-weight:900;
  text-shadow:0 2px 10px rgba(12,18,38,.14);
}

.event-hero__meta{
  display:grid;
  gap:10px;
  margin-bottom:18px;
  color:rgba(255,255,255,.96);
  text-shadow:0 1px 8px rgba(12,18,38,.12);
}

.event-hero__meta-item{
  display:flex;
  align-items:flex-start;
  gap:10px;
  font-size:15px;
  line-height:1.45;
}

.event-hero__meta-item svg{
  flex:0 0 18px;
  margin-top:2px;
  opacity:.95;
}

.event-hero__link{
  color:#4fd0ff;
  font-weight:800;
}

.event-hero__poster-wrap{
  position:relative;
  min-width:0;
  width:100%;
  display:flex;
  justify-content:flex-end;
  align-items:center;
  padding-right:0;
}

.event-hero__poster{
  width:100%;
  max-width:520px;
  aspect-ratio:16 / 9;
  margin-left:auto;
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 24px 46px rgba(0,0,0,.28);
  background:rgba(255,255,255,.08);
}

.event-hero__poster img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.event-hero__status{
  position:absolute;
  right:14px;
  bottom:14px;
  z-index:2;
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(15,23,42,.72);
  color:#fff;
  font-size:11px;
  font-weight:800;
  letter-spacing:.02em;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 24px rgba(15,23,42,.20);
}

.event-hero__poster-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg, rgba(255,255,255,.16), rgba(255,255,255,.04));
  color:#fff;
  font-size:18px;
  font-weight:800;
  text-align:center;
  padding:24px;
}

.share-pill{
  position:absolute;
  left:50%;
  bottom:-20px;
  transform:translateX(-50%);
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:50px;
  padding:0 22px;
  border-radius:999px;
  background:#fff;
  color:#2490ff;
  font-size:13px;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:0 12px 28px rgba(15,23,42,.18);
  border:1px solid rgba(255,255,255,.95);
}


.detail-shell{
  background:var(--page-bg);
  padding:22px 0 56px;
}

.detail-grid{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 340px;
  gap:40px;
  align-items:start;
}

.detail-main{
  max-width:none;
}

.detail-main h2{
  margin:0 0 20px;
  font-size:22px;
  line-height:1.1;
  letter-spacing:-.02em;
  color:#202531;
}

.description-card{
  padding:24px 26px;
}

.event-description{
  font-size:15px;
  color:#2b3340;
  line-height:1.75;
}

.event-description h1,
.event-description h2,
.event-description h3,
.event-description h4,
.event-description h5{
  margin:22px 0 10px;
  color:#111827;
  line-height:1.2;
}

.event-description p{margin:0 0 18px}
.event-description ul,
.event-description ol{margin:0 0 18px 22px}
.event-description li + li{margin-top:8px}
.event-description img{border-radius:16px;margin:18px 0;max-width:100%;height:auto}

.event-info-block{
  margin-top:0;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  padding:18px 20px;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}

.event-info-block h3{
  margin:0;
  font-size:16px;
  font-weight:600;
  color:#475467;
  letter-spacing:-.01em;
}

.event-info-list{
  margin:0;
  color:#334155;
}

.event-info-list--compact{
  display:grid;
  gap:12px;
}

.event-info-row{
  display:grid;
  gap:4px;
}

.event-info-row__label{
  color:#64748b;
  font-size:11px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.event-info-row__value{
  color:#334155;
  font-size:14px;
  line-height:1.5;
}

.producer-card{
  margin-top:0;
  border:1px solid #e5e7eb;
  border-radius:18px;
  background:#fff;
  padding:18px 20px;
  box-shadow:0 8px 20px rgba(15,23,42,.05);
}

.producer-card__eyebrow{
  display:block;
  margin-bottom:6px;
  font-size:11px;
  font-weight:700;
  color:#64748b;
  letter-spacing:.03em;
}

.producer-card__name{
  font-size:16px;
  font-weight:600;
  color:#475467;
  line-height:1.3;
}

.producer-card__contact{
  margin-top:8px;
  display:grid;
  gap:4px;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}

.ticket-card{
  position:sticky;
  top:92px;
  overflow:hidden;
  border:1px solid var(--ticket-line);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 34px rgba(15,23,42,.08);
}

.ticket-card__head{
  padding:18px 16px;
  border-bottom:1px solid var(--ticket-line);
  background:#fafafb;
}

.ticket-card__title{
  margin:0;
  font-size:15px;
  font-weight:900;
  color:#555e6c;
}

.ticket-card__body{
  padding:0;
}

.ticket-state{
  padding:20px 18px;
  display:grid;
  gap:8px;
}

.ticket-state--ended{
  background:linear-gradient(180deg, rgba(15,23,42,.02), rgba(15,23,42,.00));
}

.ticket-state__title{
  margin:0;
  font-size:15px;
  font-weight:900;
  color:#111827;
}

.ticket-state__text{
  margin:0;
  color:#5b6472;
  font-size:14px;
  line-height:1.55;
}

.ticket-selection-form{
  display:block;
}

.ticket-option-wrap{
  padding:14px 16px 0;
}

.ticket-option{
  border:1px solid #d8dde6;
  border-radius:12px;
  padding:14px 14px 12px;
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ticket-option--selected{
  border-color:#1d4ed8;
  box-shadow:0 10px 24px rgba(29,78,216,.12);
}

.ticket-option + .ticket-option{margin-top:12px}

.ticket-option__header{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(96px,30%);
  gap:12px;
  align-items:center;
}

.ticket-option__name{
  margin:0 0 4px;
  font-size:16px;
  line-height:1.3;
  font-weight:600;
  color:#334155;
  letter-spacing:-.01em;
}

.ticket-option__price{
  font-size:16px;
  font-weight:900;
  color:#222834;
  white-space:nowrap;
}

.ticket-option__limit{
  margin-top:8px;
  color:#8a93a2;
  font-style:italic;
  font-size:12px;
}

.ticket-option__availability{
  margin-top:6px;
  color:#4b5563;
  font-size:12px;
  font-weight:700;
}

.ticket-option__controls{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  width:100%;
}

.qty-picker{
  min-width:52px;
  min-height:42px;
  padding:0 10px;
  border:1px solid #d8dde6;
  border-radius:12px;
  background:#fff;
  display:grid;
  place-items:center;
}

.qty-picker__value{
  font-size:17px;
  line-height:1;
  font-weight:800;
  color:#1f2937;
}

.qty-btn{
  width:46px;
  height:46px;
  padding:0;
  touch-action:manipulation;
  border:1px solid #cbd5e1;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#fff;
  color:#1d4ed8;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  box-shadow:0 8px 18px rgba(59,130,246,.10);
  transition:opacity .18s ease, transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.qty-btn:hover{
  border-color:#93c5fd;
  background:#eff6ff;
  color:#1d4ed8;
  box-shadow:0 10px 20px rgba(59,130,246,.16);
}

.qty-btn:disabled{
  opacity:.38;
  color:#94a3b8;
  box-shadow:none;
  cursor:not-allowed;
  transform:none;
}

.qty-input{
  display:none;
}

.ticket-summary{
  padding:18px 16px 16px;
  border-top:1px solid var(--ticket-line);
  margin-top:12px;
}

.ticket-summary__row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
}

.ticket-summary__row strong{
  font-size:18px;
  line-height:1;
  color:#232a36;
}

.ticket-summary__meta{
  margin-top:8px;
  color:#4b5563;
  font-size:13px;
}

.ticket-summary__cta{
  width:100%;
  min-height:48px;
  touch-action:manipulation;
  border:0;
  border-radius:8px;
  background:var(--ticket-green);
  color:#fff;
  font-size:14px;
  font-weight:900;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  transition:background .15s ease, transform .15s ease, opacity .15s ease;
}

.ticket-summary__cta:hover{background:var(--ticket-green-dark)}
.ticket-summary__cta:disabled{opacity:.55;cursor:not-allowed}

.ticket-summary__count{
  width:26px;
  height:26px;
  border-radius:999px;
  background:rgba(255,255,255,.88);
  color:#1d4ed8;
  display:grid;
  place-items:center;
  font-size:13px;
  font-weight:900;
}

.share-modal{
  position:fixed;
  inset:0;
  z-index:120;
  display:none;
}

.share-modal.is-open{
  display:block;
}

.share-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,.55);
  backdrop-filter:blur(4px);
}

.share-modal__dialog{
  position:relative;
  z-index:1;
  width:min(100% - 32px, 520px);
  margin:8vh auto 0;
  border-radius:22px;
  background:#fff;
  box-shadow:0 24px 60px rgba(15,23,42,.24);
  overflow:hidden;
}

.share-modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px 20px;
  border-bottom:1px solid #e6e7eb;
}

.share-modal__head h3{
  margin:0;
  font-size:20px;
  line-height:1.2;
  color:#111827;
}

.share-modal__close{
  width:36px;
  height:36px;
  border:0;
  border-radius:999px;
  background:#f3f4f6;
  color:#111827;
  font-size:24px;
  line-height:1;
  display:grid;
  place-items:center;
  cursor:pointer;
}

.share-modal__body{
  padding:20px;
}

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

.share-action{
  min-height:56px;
  border:1px solid #e5e7eb;
  border-radius:16px;
  background:#fff;
  display:flex;
  align-items:center;
  gap:12px;
  padding:0 16px;
  font-weight:800;
  color:#1f2937;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.share-action:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(15,23,42,.08);
  border-color:#d8dee8;
}

.share-action__icon{
  width:28px;
  height:28px;
  border-radius:999px;
  display:grid;
  place-items:center;
  font-size:14px;
  font-weight:900;
  background:#f3f4f6;
}

.share-action--facebook .share-action__icon{
  background:#e8f0ff;
  color:#1877f2;
}

.share-action--whatsapp .share-action__icon{
  background:#e9fbf0;
  color:#16a34a;
}

.share-action--instagram .share-action__icon{
  background:#fff1f6;
  color:#d946ef;
}

.share-action--copy .share-action__icon{
  background:#eef2ff;
  color:#2563eb;
}


.share-modal__hint{
  min-height:20px;
  margin-top:12px;
  font-size:13px;
  color:#2563eb;
  font-weight:700;
}

body.share-modal-open{
  overflow:hidden;
}

@media (max-width: 1080px){
  .event-hero__panel{
    padding:34px 32px 30px;
    border-radius:26px;
  }

  .event-hero__grid,
  .detail-grid{
    grid-template-columns:1fr;
  }

  .detail-grid{
    gap:24px;
  }

  .ticket-card{
    position:static;
    top:auto;
    order:-1;
  }

  .detail-main{
    max-width:none;
  }

  .event-hero__content{
    max-width:none;
    padding-left:0;
    padding-right:0;
  }

  .event-hero__poster-wrap{
    justify-content:flex-start;
    padding-right:0;
    padding-bottom:22px;
  }

  .event-hero__poster{
    width:min(100%, 560px);
    max-width:100%;
    margin-left:0;
  }

  .share-pill{
    left:24px;
    bottom:0;
    transform:translateY(50%);
  }

  .detail-shell{
    padding-top:44px;
  }
}

@media (max-width: 768px){
  .event-hero__panel{
    padding:24px 20px 18px;
    border-radius:22px;
  }

  .event-hero__grid{
    gap:18px;
    min-height:auto;
  }

  .event-hero__title{
    margin-bottom:14px;
    font-size:clamp(28px, 8vw, 38px);
  }

  .event-hero__meta-item{
    font-size:14px;
  }

  .share-pill{
    position:relative;
    left:auto;
    bottom:auto;
    transform:none;
    margin-top:14px;
    align-self:flex-start;
  }

  .ticket-card{
    border-radius:20px;
  }

  .ticket-option-wrap{
    padding:12px 12px 0;
  }

  .ticket-option{
    border-radius:16px;
    padding:14px;
  }

  .ticket-option__header{
    grid-template-columns:1fr;
    gap:12px;
  }

  .ticket-option__controls{
    justify-content:space-between;
    align-items:center;
    gap:10px;
    width:100%;
    padding:10px;
    border-radius:14px;
    background:var(--ticket-soft);
    border:1px solid var(--ticket-line);
  }

  .qty-picker{
    flex:1 1 auto;
    min-width:0;
    min-height:48px;
    padding:8px 12px;
  }

  .qty-input{
    width:100%;
    min-height:28px;
    font-size:20px;
  }

  .qty-btn{
    width:44px;
    height:44px;
    border-radius:12px;
    font-size:24px;
  }
}

@media (max-width: 640px){
  .detail-shell{
    padding:18px 0 32px;
  }

  .detail-grid{
    gap:18px;
  }

  .ticket-summary{
    position:sticky;
    bottom:0;
    z-index:3;
    background:#fff;
    box-shadow:0 -12px 28px rgba(15,23,42,.08);
    padding-bottom:calc(16px + env(safe-area-inset-bottom));
  }

  .ticket-summary__row{
    align-items:center;
  }

  .ticket-summary__row strong{
    font-size:20px;
  }

  .ticket-summary__cta{
    min-height:52px;
    font-size:15px;
  }

  .share-modal__dialog{
    width:min(100% - 20px, 520px);
    margin:6vh auto 0;
    border-radius:18px;
  }

  .share-modal__body{
    padding:16px;
  }

  .share-modal__grid{
    grid-template-columns:1fr;
  }
}

/* Fase 3 do DS no portal publico */
.event-hero__eyebrow,
.detail-section__eyebrow{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:0 10px;
  border-radius:999px;
  background:#f3f4f6;
  color:#667085;
  font-size:10px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.event-hero__chips{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.event-hero__chip{
  display:inline-flex;
  align-items:center;
  min-height:32px;
  padding:0 12px;
  border-radius:999px;
  background:rgba(15,23,42,.26);
  border:1px solid rgba(255,255,255,.18);
  color:#fff;
  font-size:12px;
  font-weight:800;
}

.event-hero__chip--accent{
  background:rgba(20,184,255,.18);
  color:#e0f2fe;
}

.event-hero__chip--muted{
  background:rgba(15,23,42,.42);
}

.detail-main--stacked{
  display:grid;
  gap:20px;
}

.detail-overview-card,
.description-card,
.event-info-block,
.producer-card{
  background:#fff;
  border:1px solid #e5e7eb;
  border-radius:20px;
  box-shadow:0 14px 36px rgba(15,23,42,.06);
}

.detail-overview-card__header,
.detail-section__header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}

.detail-section__header--tight{
  margin-bottom:12px;
}

.detail-overview-card h2,
.detail-section__header h2,
.detail-section__header h3{
  margin:8px 0 0;
  color:#364152;
  letter-spacing:-.02em;
}

.detail-section__header h3{
  font-size:18px;
  font-weight:700;
}

.detail-highlights{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}

.detail-highlight{
  border:1px solid #dbe3f0;
  border-radius:16px;
  background:linear-gradient(180deg,#fff 0,#f8fafc 100%);
  padding:16px;
  display:grid;
  gap:6px;
}

.detail-highlight__label{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#64748b;
  font-weight:800;
}

.detail-highlight strong{
  font-size:18px;
  line-height:1.1;
  color:#111827;
}

.detail-highlight span:last-child{
  color:#475569;
  font-size:13px;
  line-height:1.4;
}

.detail-support-grid{
  display:grid;
  grid-template-columns:minmax(0,1.05fr) minmax(260px,.95fr);
  gap:16px;
}

.event-info-block{
  margin-top:0;
  padding-top:22px;
  border-top:0;
}

.producer-card{
  margin-top:0;
}

.ticket-card--catalog .ticket-card__head{
  display:grid;
  gap:8px;
  padding:18px 16px 16px;
}

.ticket-card__subtitle{
  margin:0;
  color:#64748b;
  font-size:13px;
  line-height:1.45;
}


.ticket-mobile-bar{
  display:none;
}

@media (max-width: 980px){
  .detail-highlights,
  .detail-support-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 640px){
  .event-hero__chips{
    gap:8px;
  }

  .detail-overview-card,
  .description-card,
  .event-info-block,
  .producer-card{
    border-radius:18px;
  }

  .detail-overview-card__header,
  .detail-section__header{
    margin-bottom:14px;
  }

  .detail-highlight{
    padding:14px;
  }

  .ticket-summary__cta{
    display:none;
  }

  .ticket-mobile-bar{
    position:sticky;
    bottom:0;
    z-index:6;
    display:flex;
    align-items:center;
    gap:12px;
    padding:12px 16px calc(12px + env(safe-area-inset-bottom));
    background:rgba(255,255,255,.98);
    border-top:1px solid var(--ticket-line);
    box-shadow:0 -12px 28px rgba(15,23,42,.08);
  }

  .ticket-mobile-bar__copy{
    min-width:0;
    display:grid;
    gap:2px;
  }

  .ticket-mobile-bar__label{
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.08em;
    color:#64748b;
    font-weight:800;
  }

  .ticket-mobile-bar__copy strong{
    font-size:18px;
    line-height:1;
    color:#111827;
  }

  .ticket-mobile-bar__cta{
    margin-left:auto;
    min-height:48px;
    padding:0 16px;
    border:0;
    border-radius:12px;
    background:#1d4ed8;
    color:#fff;
    font-weight:900;
    display:inline-flex;
    align-items:center;
    gap:10px;
  }

  .ticket-mobile-bar__cta:disabled{
    opacity:.55;
  }
}
