/* ===== Landing pós-evento – Conexões e Negócios 2026 ===== */

.is-hidden {
  display: none !important;
}

/* ===== Pré-liberação (contador) ===== */
.site-pre-liberacao {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}

.pre-liberacao-lead {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.pre-liberacao-lead strong {
  color: var(--gold);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.countdown-item {
  min-width: 4.5rem;
  padding: 0.75rem 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(197, 160, 89, 0.45);
  border-radius: var(--radius);
}

.countdown-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1.1;
}

.countdown-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.pre-liberacao-form-wrap {
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.pre-liberacao-form-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.pre-liberacao-feedback {
  margin: 0.5rem 0 0;
  min-height: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--red-sobratema);
}

.pre-liberacao-success {
  padding: 0.75rem 0.5rem 0;
  text-align: center;
}

.pre-liberacao-success p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--navy);
}

.pre-liberacao-success strong {
  color: #1a6b38;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ===== Hero + CTA (topo direto) ===== */
.pos-evento-page .hero.hero-cta {
  min-height: auto;
  max-height: none;
  padding: 2rem 0 2.5rem;
  align-items: flex-start;
  overflow: visible;
}

@media (min-width: 1024px) {
  .pos-evento-page .hero.hero-cta {
    padding: 2.5rem 0 3rem;
  }
}

.hero-cta-content {
  max-width: 1040px;
  padding-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.hero-cta-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.hero-logo-compact {
  max-width: 416px;
  margin: 0 auto 0.75rem;
}

.hero-cta-head .pos-evento-when {
  margin: 0 0 0.65rem;
}

.hero-cta-head .hero-cta-badge {
  margin-bottom: 0.75rem;
}

.hero-cta-head .hero-title-impacto {
  margin-bottom: 0;
  text-align: center;
}

.pos-evento-when {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.02em;
}

.hero-cta-layout {
  display: grid;
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 900px) {
  .hero-cta-layout {
    grid-template-columns: 1.1fr 1fr;
    gap: 2rem;
  }
}

.hero-cta-copy {
  text-align: left;
}

.hero-cta-badge {
  display: inline-block;
  margin: 0;
  padding: 0.35rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border-radius: 999px;
}

.hero-cta .hero-title-impacto {
  font-size: clamp(1.5rem, 4.2vw, 2.2rem);
  line-height: 1.2;
}

.hero-cta-lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
}

.hero-cta-benefits {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.hero-cta-benefits li {
  position: relative;
  padding: 0.35rem 0 0.35rem 1.5rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
}

.hero-cta-benefits li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25);
}

.hero-cta-exclusive {
  margin: 0;
  padding: 0.75rem 0.9rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.22);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.hero-cta-exclusive strong {
  color: var(--gold);
}

.hero-cta-form-title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.hero-cta-form {
  width: 100%;
  text-align: left;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.15rem 1.35rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.pos-evento-form-grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .pos-evento-form-grid {
    grid-template-columns: 1fr 1fr;
  }

  .pos-evento-form-grid .form-group-full {
    grid-column: 1 / -1;
  }
}

.hero-cta-form .form-group {
  margin-bottom: 0;
}

.hero-cta-form .form-group input {
  padding: 0.7rem 0.85rem;
  font-size: 0.95rem;
}

.pos-evento-form-feedback {
  margin: 0.5rem 0 0;
  min-height: 1.1rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  color: var(--red-sobratema);
}

.pos-evento-form-feedback.is-success {
  color: #1a6b38;
}

.pos-evento-cta-submit {
  margin-top: 0.75rem;
  font-size: 1rem;
}

/* ===== Prévia de fotos (abaixo do formulário) ===== */
.hero-cta-preview {
  margin-top: 2rem;
  width: 100%;
  text-align: center;
}

.hero-cta-preview-text {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta-preview-scroll {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.25rem 0 1rem;
  margin: 0 -1.25rem 1rem;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(255, 255, 255, 0.15);
}

.hero-cta-preview-scroll::-webkit-scrollbar {
  height: 6px;
}

.hero-cta-preview-scroll::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 999px;
}

.hero-cta-preview-scroll img {
  flex: 0 0 auto;
  width: clamp(160px, 28vw, 220px);
  height: clamp(120px, 21vw, 165px);
  object-fit: cover;
  border-radius: var(--radius);
  border: 2px solid rgba(197, 160, 89, 0.45);
  scroll-snap-align: start;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: zoom-in;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-cta-preview-scroll img:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* ===== Lightbox de fotos ===== */
.foto-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.foto-lightbox.is-open {
  display: flex;
}

.foto-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.92);
  cursor: pointer;
}

.foto-lightbox-stage {
  position: relative;
  z-index: 2;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.foto-lightbox-img {
  max-width: 100%;
  max-height: calc(90vh - 2.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  pointer-events: auto;
}

.foto-lightbox-counter {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold);
  pointer-events: auto;
}

.foto-lightbox-close,
.foto-lightbox-nav {
  position: absolute;
  z-index: 3;
  border: none;
  cursor: pointer;
  font-family: var(--font-primary);
  line-height: 1;
  transition: background 0.2s ease, color 0.2s ease;
}

.foto-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 1.75rem;
}

.foto-lightbox-close:hover {
  background: var(--gold);
  color: var(--black);
}

.foto-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 2rem;
  font-weight: 300;
}

.foto-lightbox-nav:hover {
  background: var(--gold);
  color: var(--black);
}

.foto-lightbox-prev {
  left: 1rem;
}

.foto-lightbox-next {
  right: 1rem;
}

@media (max-width: 600px) {
  .foto-lightbox-prev {
    left: 0.35rem;
  }

  .foto-lightbox-next {
    right: 0.35rem;
  }

  .foto-lightbox-nav {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.6rem;
  }
}

.hero-cta-preview-btn {
  min-width: 240px;
}

.hero-cta-preview-btn:hover {
  background: var(--gold);
  color: var(--black);
  text-decoration: none;
}

/* ===== Usuário com acesso liberado ===== */
body.has-content-access .hero-cta-preview,
body.has-content-access .hero-cta-form,
body.has-content-access .hero-cta-exclusive,
body.has-content-access .hero-cta-benefits {
  display: none !important;
}

body.has-content-access .hero.hero-cta {
  padding: 1.5rem 0 1rem;
}

@media (min-width: 1024px) {
  body.has-content-access .hero.hero-cta {
    padding: 1.75rem 0 1.25rem;
  }
}

body.has-content-access .hero-cta-head {
  margin-bottom: 1rem;
}

body.has-content-access .hero-logo-compact {
  max-width: 300px;
}

body.has-content-access .hero-cta-head .hero-title-impacto {
  font-size: clamp(1.25rem, 3.2vw, 1.75rem);
}

body.has-content-access .hero-cta-layout {
  grid-template-columns: 1fr;
  max-width: 640px;
  margin: 0 auto;
}

body.has-content-access .hero-cta-copy {
  text-align: center;
}

body.has-content-access .hero-cta-lead {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.hero-cta-welcome-lead {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
}

.hero-cta-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.hero-cta-nav-link {
  min-width: 8.5rem;
  font-size: 0.9rem;
  padding: 0.65rem 1rem;
}

body.has-content-access #palestras,
body.has-content-access #participantes,
body.has-content-access #galeria {
  scroll-margin-top: 1.25rem;
}

body.has-content-access .pos-evento-conteudo > .section:first-child {
  padding-top: clamp(2rem, 4vw, 2.75rem);
}

.section-contato-minimal {
  padding: 2rem 0;
  text-align: center;
}

.section-contato-minimal .contato-info {
  margin: 0;
  font-size: 0.9rem;
}

.section-contato-minimal a {
  color: var(--red-sobratema);
  font-weight: 600;
}

/* ===== Vídeos ===== */
.section-videos {
  scroll-margin-top: 1rem;
}

.section-intro {
  max-width: 680px;
  margin: -0.5rem auto 1.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--gray);
}

.section-intro-center {
  text-align: center;
}

.video-grid {
  display: grid;
  gap: 1.5rem;
}

.video-grid-palestrantes {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .video-grid-palestrantes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.video-grid-participantes {
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .video-grid-participantes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .video-grid-participantes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.video-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.video-card-embed {
  position: relative;
  display: block;
  width: 100%;
  padding-bottom: 56.25%;
  background: var(--navy);
  overflow: hidden;
}

.video-card-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.video-card-trigger:hover .video-card-play,
.video-card-trigger:focus-visible .video-card-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--red-sobratema);
}

.video-card-trigger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.video-card-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.video-card-trigger:hover .video-card-thumb {
  transform: scale(1.03);
}

.video-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 4rem;
  height: 4rem;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(227, 6, 19, 0.92);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  transition: transform 0.2s ease, background 0.2s ease;
}

.video-card-play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 0.65rem 0 0.65rem 1.1rem;
  border-color: transparent transparent transparent var(--white);
}

.video-card-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card-body {
  flex: 1;
  padding: 1rem 1.15rem 1.25rem;
}

.video-card-speaker {
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-light);
}

.video-card-speakers-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.video-card-speakers-list li {
  border-bottom: 1px solid rgba(10, 31, 68, 0.08);
}

.video-card-speakers-list li:last-child {
  border-bottom: 0;
}

.video-card-speaker-link {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.5rem 0;
  border: 0;
  background: none;
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.video-card-speakers-list li:first-child .video-card-speaker-link {
  padding-top: 0;
}

.video-card-speakers-list li:last-child .video-card-speaker-link {
  padding-bottom: 0;
}

.video-card-speaker-link:hover,
.video-card-speaker-link:focus-visible {
  opacity: 0.85;
}

.video-card-speaker-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.video-card-speaker-name {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
  line-height: 1.35;
}

.video-card-speaker-org {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.4;
}

.video-card-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.35;
}

.video-card-desc,
.video-card-equipment {
  margin: 0 0 0.55rem;
  font-size: 0.875rem;
  color: var(--text-light);
  line-height: 1.5;
}

.video-card-equipment strong {
  color: var(--black);
  font-weight: 600;
}

.video-card-hook {
  margin: 0;
  padding: 0.55rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--navy);
  background: #fdf7ea;
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ===== Modal de vídeo ===== */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal.is-open {
  display: flex;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 31, 68, 0.94);
  cursor: pointer;
}

.video-modal-stage {
  position: relative;
  z-index: 2;
  width: min(96vw, 1200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  pointer-events: none;
}

.video-modal-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.55);
  pointer-events: auto;
}

.video-modal-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-modal-title {
  margin: 0;
  max-width: 100%;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  pointer-events: auto;
}

.video-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-family: var(--font-primary);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.video-modal-close:hover {
  background: var(--gold);
  color: var(--black);
}

@media (max-width: 600px) {
  .video-modal {
    padding: 0.75rem;
  }

  .video-card-play {
    width: 3.25rem;
    height: 3.25rem;
  }

  .video-modal-close {
    top: 0.65rem;
    right: 0.65rem;
  }
}

/* ===== Galeria ===== */
.section-galeria {
  background: var(--white);
}

.galeria-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2rem;
}

.galeria-intro-count {
  margin: -0.5rem auto 1.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray);
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .galeria-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .galeria-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.galeria-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gradient-navy);
  box-shadow: var(--shadow);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.galeria-item picture {
  display: block;
  width: 100%;
  height: 100%;
}

.galeria-item--clickable {
  cursor: pointer;
}

.galeria-item--clickable:hover img {
  transform: scale(1.03);
}

.galeria-item--clickable img {
  transition: transform 0.25s ease;
}

.galeria-item--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(145deg, var(--navy) 0%, var(--navy-light) 100%);
  border: 2px dashed rgba(197, 160, 89, 0.45);
}

.galeria-item--placeholder span {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.galeria-item--wide {
  grid-column: span 2;
  aspect-ratio: 21 / 9;
}

@media (max-width: 767px) {
  .galeria-item--wide {
    grid-column: span 2;
    aspect-ratio: 16 / 9;
  }
}

.pos-evento-page .section:nth-child(even) {
  background: linear-gradient(180deg, #faf8f5 0%, #f5f2ec 50%, #f0ebe3 100%);
}

/* ===== Conteúdo bloqueado ===== */
.pos-evento-conteudo {
  position: relative;
}

.pos-evento-conteudo.is-locked > .section {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.pos-evento-conteudo.is-locked .section-videos .video-card-trigger,
.pos-evento-conteudo.is-locked .galeria-grid {
  visibility: hidden;
}

.pos-evento-lock-banner {
  display: none;
}

.pos-evento-conteudo.is-locked .pos-evento-lock-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: absolute;
  inset: 0;
  z-index: 10;
  padding: 2rem 1.25rem;
  text-align: center;
  background: rgba(10, 31, 68, 0.55);
}

.pos-evento-lock-banner p {
  margin: 0;
  max-width: 480px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.45;
}

.pos-evento-conteudo:not(.is-locked) .pos-evento-lock-banner {
  display: none;
}

.pos-evento-page #marcas-participantes {
  border-top: 1px solid var(--border-color);
  background: #faf8f5;
}

.pos-evento-page #marcas-participantes .participantes-logos {
  margin-top: 0.5rem;
}
