/* =========================================================
   COMPONENTE: HERO COLEÇÃO (VARIANTE DO HERO SECUNDÁRIO)
   ========================================================= */
.hero-secundario {
  padding: 40px 0 24px 0;
  width: 100%;
}

.hero-shell {
  position: relative;
  background: linear-gradient(135deg, #1A0B2E 0%, #0B1B4D 50%, #063170 100%);
  border-radius: 24px;
  overflow: hidden;
  color: #FFFFFF;
  padding: 32px 40px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .40);
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* --- A GRELHA (Transformada em Flexbox Horizontal) --- */
.hs-container {
  position: relative;
  z-index: 2;
  display: flex !important;
  /* Sobrescreve a grelha antiga se houver conflito */
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  /* Alinha os botões pela base do texto */
  width: 100%;
  gap: 24px;
}

/* Oculta a Topbar neste layout (caso o PHP venha com ela ativa) */
.hs-topbar {
  display: none !important;
}

/* --- LADO ESQUERDO (Textos) --- */
.hs-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start !important;
  /* Força tudo à esquerda */
  text-align: left !important;
  max-width: 65%;
  /* Impede o texto de empurrar os botões */
}

.hs-kicker {
  font-size: 14px;
  color: #6BE4FF;
  /* Kicker em ciano nesta variante */
  margin-bottom: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-secundario h1 {
  font-size: 38px;
  /* Ligeiramente mais pequeno */
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 12px 0;
  color: #FFFFFF;
}

.hs-highlight {
  color: #FFFFFF;
  background: transparent;
  padding: 0;
}

.hs-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  margin: 0;
  max-width: 600px;
}

/* --- LADO DIREITO (Botões) --- */
.hs-actions,
.hs-pills {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin: 0;
  flex-shrink: 0;
  /* Impede os botões de serem esmagados */
}

.hs-actions a:hover {
  color: #FFFFFF;
}

.hs-btn-base {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  color: #EAF0FF;
  border: 1px solid rgba(234, 240, 255, .14);
  background: rgba(234, 240, 255, .04);
}

.hs-btn-base:hover {
  background: rgba(107, 228, 255, 0.2);
}

.hs-btn-glass {
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  background: #1CBDE0;
  color: #111827;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.2s ease;
}

.hs-btn-glass:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 980px) {
  .hero-shell {
    padding: 32px 24px;
  }

  .hs-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hs-content {
    max-width: 100%;
  }

  .hs-actions,
  .hs-pills {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .hero-secundario h1 {
    font-size: 32px;
  }

  .hs-actions {
    flex-direction: column;
    width: 100%;
  }

  .hs-btn-base,
  .hs-btn-glass {
    width: 100%;
    text-align: center;
  }
}