/* Home 2026 — redesign fiel ao Figma (node 3104:43746)
   Escopado em .home-2026 para não colidir com .home do legado. */

.home-2026 {
  max-width: 1290px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

/* ---- Cabeçalho: título à esquerda, compartilhar à direita ---- */
.home-2026 .hm-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
}

.home-2026 .hm-eyebrow {
  display: block;
  font-family: 'FolhaTexto', Georgia, serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: #0078a4;
}

.home-2026 .hm-title {
  margin: 4px 0 0;
  font-family: 'FolhaII', Georgia, serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 1.05;
  color: #262626;
}

.home-2026 .hm-share {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.home-2026 .hm-share-label {
  font-family: 'FolhaGrafico', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #757575;
}

/* o widget de share exige o wrapper .compartilhar (CSS escopado nele);
   aqui só neutralizamos a margem que ele traz do layout legado */
.home-2026 .hm-share .compartilhar {
  margin-bottom: 0;
}

/* ---- Conteúdo principal: ilustração + painel ---- */
.home-2026 .hm-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.home-2026 .hm-illustration {
  flex: 1 1 auto;
  min-width: 0;
}

.home-2026 .hm-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.home-2026 .hm-panel {
  flex: 0 0 465px;
  max-width: 465px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.home-2026 .hm-description p {
  margin: 0 0 1em;
  font-family: 'FolhaGrafico', sans-serif;
  font-size: 20px;
  line-height: 1.5;
  color: #000000;
}

.home-2026 .hm-description p:last-child {
  margin-bottom: 0;
}

/* ---- Ações: filtro (Cargo) + CTA ---- */
.home-2026 .hm-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 30px;
}

.home-2026 .hm-cta.btn.btn-primary {
  min-width: 246px;
  height: 40px;
  padding: 11px 20px;
  border-radius: 3px;
  font-family: 'FolhaGrafico', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 18px;
  text-transform: uppercase;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---- Combo "Cargo" (match-select) estilizado como o Figma ---- */
.home-2026 .match-select {
  flex: 1 1 0;
  min-width: 0;
  margin: 0;
  display: block;
  text-align: left;
}

/* Figma não tem título acima da caixa */
.home-2026 .match-select .title {
  display: none;
}

/* o gatilho .selected vira a caixa de select do design */
.home-2026 .match-select .selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 40px;
  margin: 0;
  padding: 0 15px;
  background: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  color: #333333;
  font-family: 'FolhaGrafico', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 21px;
  cursor: pointer;
}

/* chevron cinza à direita (dentro da caixa, via flex) */
.home-2026 .match-select .selected:after {
  content: '';
  position: static;
  flex: 0 0 auto;
  margin: 0;
  top: auto;
  right: auto;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #757575;
}

/* dropdown alinhado sob a caixa (não centralizado) */
.home-2026 .match-select .select-container.bottom {
  left: 0;
  right: auto;
  min-width: 100%;
  transform: none;
}

.home-2026 .match-select .select-container.bottom:before,
.home-2026 .match-select .select-container.bottom:after {
  left: 24px;
}

/* placeholder "Cargo" (sem seleção) em cinza */
.home-2026 .match-select .selected.is-placeholder {
  color: #757575;
}

/* CTA inativo enquanto nenhum cargo foi escolhido */
.home-2026 .hm-cta.btn.btn-primary.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ---- Responsivo ---- */
/* Coluna única (tablet/mobile): tudo centralizado, como o node mobile do Figma */
@media (max-width: 992px) {
  .home-2026 .hm-title { font-size: 48px; }
  .home-2026 .hm-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }
  .home-2026 .hm-title-group { text-align: center; }
  .home-2026 .hm-main {
    flex-direction: column;
    align-items: stretch;
  }
  .home-2026 .hm-panel {
    flex-basis: auto;
    max-width: none;
  }
  .home-2026 .hm-description p { text-align: center; }
  .home-2026 .hm-actions { justify-content: center; }
}

@media (max-width: 576px) {
  .home-2026 { padding: 24px 16px 48px; }
  .home-2026 .hm-eyebrow { font-size: 20px; }
  .home-2026 .hm-title { font-size: 36px; }
  .home-2026 .hm-description p { font-size: 16px; }
  .home-2026 .hm-cta.btn.btn-primary { width: 100%; }
}
