/* Hub + entidades Empresas — hero H1 em no máximo 4 linhas controladas */
body[data-page-type="hub_empresas"] #hero-empresas .hero-layout{
  grid-template-columns:minmax(560px,720px) 1fr;
}
body[data-page-type="hub_empresas"] #hero-title,
body[data-page-type="empresa_porte"] #hero-title{
  max-width:none;
  font-size:clamp(40px,3.35vw,54px);
  line-height:1.06;
  letter-spacing:-.04em;
  color:#fff;
}
body[data-page-type="hub_empresas"] #hero-title .he-h1-line,
body[data-page-type="empresa_porte"] #hero-title .he-h1-line{
  display:block;
  white-space:nowrap;
  color:#fff;
}
body[data-page-type="hub_empresas"] #hero-empresas .hero-copy > p{
  max-width:34rem;
  margin:0 0 .75rem;
}
body[data-page-type="hub_empresas"] #hero-empresas .hero-copy > p:last-of-type{
  margin-bottom:1.1rem;
}

@media (max-width:1100px){
  body[data-page-type="hub_empresas"] #hero-empresas .hero-layout{
    grid-template-columns:minmax(480px,640px) 1fr;
  }
  body[data-page-type="hub_empresas"] #hero-title,
  body[data-page-type="empresa_porte"] #hero-title{
    font-size:clamp(36px,3.2vw,48px);
  }
}

@media (max-width:900px){
  body[data-page-type="hub_empresas"] #hero-empresas .hero-layout{
    grid-template-columns:1fr;
  }
}

@media (max-width:760px){
  body[data-page-type="hub_empresas"] #hero-title,
  body[data-page-type="empresa_porte"] #hero-title{
    max-width:18.5rem;
    font-size:clamp(32px,8.2vw,40px);
  }
  body[data-page-type="hub_empresas"] #hero-title .he-h1-line,
  body[data-page-type="empresa_porte"] #hero-title .he-h1-line{
    white-space:normal;
  }
}

/* Hub Empresas — entidades por porte (B02 + CRO V1.1) */
.ep-compare{
  margin-top:1rem;overflow-x:auto;-webkit-overflow-scrolling:touch;
  border:1px solid #e3e8ef;border-radius:16px;background:#fff
}
.ep-compare:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.ep-compare__table{width:100%;min-width:820px;border-collapse:collapse;font-size:13px}
.ep-compare__table th,.ep-compare__table td{
  padding:12px 14px;border-bottom:1px solid #eef2f6;text-align:left;vertical-align:top;line-height:1.4
}
.ep-compare__table thead th{background:#071a33;color:#fff;font-size:12px;font-weight:700;white-space:nowrap}
.ep-compare__table tbody th{font-size:13px;font-weight:800;color:#071a33}
.ep-compare__table tbody th a{color:inherit;text-decoration:none}
.ep-compare__table tbody th a:hover{color:var(--red);text-decoration:underline}
.ep-compare__note{margin:12px 0 0;font-size:13px;line-height:1.55;color:#5f6b7a;max-width:56rem}

/* V1.1 — layout escopado Empresas */
.ep-stack{margin-top:1.25rem}
.ep-actions-wrap{flex-wrap:wrap}
.ep-needs{display:grid;gap:1.5rem;margin-top:1rem}
.ep-need{
  padding:1.25rem 1.35rem;border:1px solid #e3e8ef;border-radius:16px;background:#fff
}
.ep-need__title{margin:0 0 .5rem;font-size:1.15rem;line-height:1.35;color:#071a33}
.ep-need__why,.ep-need__note,.ep-need__confirm{
  margin:0 0 .85rem;font-size:15px;line-height:1.55;color:#3d4a5c
}
.ep-need__note{font-weight:600;color:#5f6b7a}
.ep-need__confirm{margin-bottom:0;font-size:14px}
.ep-need .hh-providers{margin-top:.35rem}
.ep-net-grid{grid-template-columns:repeat(2,minmax(0,1fr))}

@media (max-width:1024px){
  .ep-compare__cta-col{display:none}
  .ep-compare__table{min-width:680px}
}
@media (max-width:760px){
  .ep-compare{border:0;background:transparent;overflow:visible}
  .ep-compare__table{min-width:0;display:block}
  .ep-compare__table thead{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}
  .ep-compare__table tbody,.ep-compare__table tr,.ep-compare__table th,.ep-compare__table td{display:block;width:100%}
  .ep-compare__table tr{margin:0 0 12px;padding:14px;border:1px solid #e3e8ef;border-radius:16px;background:#fff}
  .ep-compare__table tbody th{border:0;padding:0 0 10px;font-size:15px}
  .ep-compare__table td{border:0;padding:8px 0;display:grid;grid-template-columns:42% 1fr;gap:10px}
  .ep-compare__table td::before{content:attr(data-label);font-weight:800;color:#5f6b7a;font-size:11px;text-transform:uppercase;letter-spacing:.03em}
  .ep-compare__cta-col{display:none!important}
  .ep-net-grid,.network-authority__grid.ep-net-grid{grid-template-columns:1fr}
  #network-authority .network-authority__grid{grid-template-columns:1fr!important}
}

.ep-transition{margin:1rem 0 0;font-size:15px;line-height:1.55;color:#3d4a5c;max-width:46rem}
.ep-form-lead{margin-top:.65rem}
.ep-pre-check{margin-top:1rem}
.ep-pre-check li div{display:flex;align-items:center}
