/* Hero direito — PAAN + chat empilhados */

.hero__layout {
  position: relative;
  z-index: 3;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 2rem;
}

@media (min-width: 960px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1.05fr) minmax(14rem, 0.95fr);
    gap: 1.5rem 2rem;
  }

  .hero__assist-slot:has(.hero__assist.is-chat-open) {
    width: min(100%, 24rem);
    align-self: stretch;
  }
}

.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  margin: 0;
  padding-bottom: 0;
}

.hero__assist-slot {
  display: grid;
  place-items: center;
  justify-self: center;
  width: min(100%, 20rem);
  min-height: 12rem;
}

.hero__assist {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: min(100%, 18rem);
  z-index: 55;
}

/* Fora do Início — assist escondido (vídeo não flutua noutros painéis) */
.hero__assist.is-home-hidden {
  display: none !important;
}

.hero__assist-slot[hidden] {
  display: none !important;
}

@media (max-width: 959px) {
  .hero__assist-slot {
    order: -1;
    width: min(70%, 16rem);
    margin-inline: auto;
  }

  .hero__assist {
    width: min(100%, 14rem);
  }
}
