/* Páginas individuais de evento (eventos/*.html) — gerado junto por scripts/gerar-eventos.py */
.ev-page { background: #fff; color: #081628; font-family: "Plus Jakarta Sans", Inter, sans-serif; }
.ev-page .container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.ev-hero {
  position: relative; color: #fff; padding: 168px 0 72px; overflow: hidden;
  background: linear-gradient(180deg, rgba(8,22,40,.72) 0%, rgba(8,22,40,.9) 100%), var(--ev-capa) center / cover no-repeat, #081628;
}
.ev-hero-inner { max-width: 820px; }
.ev-crumb { display: flex; gap: 8px; font-size: 14px; opacity: .8; margin-bottom: 28px; flex-wrap: wrap; }
.ev-crumb a { color: #fff; text-decoration: none; }
.ev-crumb a:hover { text-decoration: underline; }
.ev-kicker { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #ff8a00; margin: 0 0 14px; }
.ev-hero h1 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.08; letter-spacing: -.03em; font-weight: 600; margin: 0 0 18px; color: #fff; }
.ev-tagline { color: #fff; font-size: clamp(17px, 2vw, 20px); line-height: 1.5; max-width: 640px; opacity: .88; margin: 0 0 28px; }
.ev-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.ev-chips li { border: 1px solid rgba(255,255,255,.28); border-radius: 999px; padding: 9px 16px; font-size: 14px; font-weight: 500; background: rgba(255,255,255,.08); backdrop-filter: blur(6px); }
.ev-chips li span { opacity: .65; margin-right: 8px; font-weight: 400; }

.ev-info { padding: 72px 0 40px; }
.ev-info-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(280px, 1fr); gap: 56px; align-items: start; }
.ev-text h2, .ev-facts h2 { font-size: 15px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #004aad; margin: 0 0 18px; }
.ev-text p { font-size: 18px; line-height: 1.7; color: #253141; margin: 0 0 18px; max-width: 64ch; }
.ev-facts { background: #f6f8fc; border-radius: 16px; padding: 28px; }
.ev-facts dl { margin: 0 0 24px; display: grid; gap: 16px; }
.ev-facts dt { font-size: 13px; color: #515151; margin-bottom: 2px; }
.ev-facts dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.4; }
.ev-btn { display: inline-flex; align-items: center; justify-content: center; width: 100%; background: #004aad; color: #fff; border-radius: 999px; padding: 14px 22px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background-color .2s, transform .2s; }
.ev-btn:hover { background: #17446f; transform: translateY(-2px); }

.ev-gallery { padding: 40px 0 72px; }
.ev-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.ev-section-head h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; font-weight: 600; margin: 0; }
.ev-section-head p { margin: 0; color: #515151; font-size: 15px; }
.ev-section-head a { color: #004aad; font-weight: 600; font-size: 15px; text-decoration: none; }
.ev-section-head a:hover { text-decoration: underline; }
.ev-grid { column-count: 3; column-gap: 14px; }
.ev-photo { display: block; width: 100%; margin: 0 0 14px; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: #e9edf2; cursor: zoom-in; break-inside: avoid; position: relative; }
.ev-photo[hidden] { display: none; }
.ev-photo img { display: block; width: 100%; height: auto; transition: transform .35s ease, filter .35s ease; }
.ev-photo:hover img { transform: scale(1.03); filter: saturate(1.05); }
.ev-photo:focus-visible, .ev-more:focus-visible, .ev-lb-close:focus-visible, .ev-lb-nav:focus-visible, .ev-btn:focus-visible, .ev-other:focus-visible { outline: 3px solid rgba(20,115,230,.55); outline-offset: 3px; }
.ev-more-wrap { display: flex; justify-content: center; margin-top: 18px; }
.ev-more { background: #081628; color: #fff; border: 0; border-radius: 999px; padding: 14px 28px; font: 600 15px inherit; font-family: inherit; cursor: pointer; transition: background-color .2s, transform .2s; }
.ev-more:hover { background: #17446f; transform: translateY(-2px); }

.ev-others { background: #f6f8fc; padding: 72px 0 80px; }
.ev-others-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ev-other { display: block; color: inherit; text-decoration: none; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 4px 24px rgba(0,0,0,.05); transition: transform .25s, box-shadow .25s; }
.ev-other:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(0,0,0,.1); }
.ev-other-img { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9edf2; }
.ev-other-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-other strong { display: block; padding: 16px 18px 2px; font-size: 17px; line-height: 1.3; }
.ev-other em { display: block; padding: 0 18px 18px; font-style: normal; font-size: 14px; color: #515151; }

.ev-lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(5,12,22,.94); display: flex; align-items: center; justify-content: center; padding: 56px 72px; }
.ev-lightbox[hidden] { display: none; }
.ev-lightbox figure { margin: 0; max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ev-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; border-radius: 6px; }
.ev-lightbox figcaption { color: rgba(255,255,255,.75); font-size: 14px; }
.ev-lb-close, .ev-lb-nav { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 48px; height: 48px; font-size: 30px; line-height: 1; cursor: pointer; transition: background-color .2s; }
.ev-lb-close:hover, .ev-lb-nav:hover { background: rgba(255,255,255,.26); }
.ev-lb-close { top: 16px; right: 16px; }
.ev-lb-nav { top: 50%; transform: translateY(-50%); }
.ev-lb-prev { left: 16px; }
.ev-lb-next { right: 16px; }
body.ev-lb-open { overflow: hidden; }

@media (max-width: 991px) {
  .ev-info-grid { grid-template-columns: 1fr; gap: 32px; }
  .ev-others-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .ev-page .container { padding: 0 16px; }
  .ev-hero { padding: 132px 0 48px; }
  .ev-grid { column-count: 2; column-gap: 8px; }
  .ev-photo { margin-bottom: 8px; border-radius: 8px; }
  .ev-text p { font-size: 17px; }
  .ev-others-grid { grid-template-columns: 1fr; }
  .ev-lightbox { padding: 64px 12px 72px; }
  .ev-lb-nav { top: auto; bottom: 14px; transform: none; }
  .ev-lb-prev { left: calc(50% - 56px); }
  .ev-lb-next { right: calc(50% - 56px); }
}
@media (prefers-reduced-motion: reduce) {
  .ev-photo img, .ev-other, .ev-btn, .ev-more { transition: none; }
}
