/* ============================================================
   BHS - LICENCIAMENTO MICROSOFT 365 (page-licenciamento-microsoft-365.php)
   Layout: Figma "Licenciamento Microsoft 365_BHS".
   Base: componentes bhs-sq-* de bhs-squads.css (carregado antes).
   Aqui: ajustes da página + badges, tabela CSP e cards de licenças.
   ============================================================ */

.bhs-m365 { background: #F6F6F6; }

/* ---------- HERO ---------- */
.bhs-body .bhs-sq h1.bhs-sq-hero__title { max-width: 600px; margin-bottom: 34px; }
.bhs-body .bhs-sq .bhs-m365-hero__sub {
  display: block;
  max-width: 420px;
  margin-top: 6px;
  font-size: clamp(26px, 2.6vw, 37px);
  font-weight: 400;
  line-height: 1.05;
}
.bhs-m365-hero { background-position: 60% center; }

/* ---------- INTRO + BADGES ---------- */
.bhs-m365-intro { padding-bottom: clamp(40px, 4vw, 56px); }
.bhs-body .bhs-sq .bhs-m365-intro .bhs-sq-intro__title { margin-bottom: 18px; }
.bhs-body .bhs-sq .bhs-m365-intro p:not(.bhs-sq-eyebrow) { max-width: 620px; margin-bottom: 36px; }
.bhs-m365-badges {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
}
.bhs-m365-badges img {
  display: block;
  width: auto;
  height: 133px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}

/* ---------- O DESAFIO (painel + 3 cards) ---------- */
.bhs-m365-desafio .bhs-sq-ciclo__panel {
  background: #ECECEC;
  align-items: flex-start;
}
.bhs-body .bhs-sq .bhs-m365-desafio h2.bhs-sq-ciclo__title { max-width: 460px; }
.bhs-body .bhs-sq .bhs-m365-desafio p.bhs-sq-ciclo__desc { max-width: 380px; font-size: 16px; }
.bhs-m365-desafio .bhs-sq-ciclo__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.bhs-body .bhs-sq p.bhs-m365-card__eyebrow {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #7a7a7a;
}
.bhs-body .bhs-sq h3.bhs-m365-card__title {
  font-family: var(--sq-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #111;
  margin-bottom: 16px;
}
.bhs-body .bhs-sq .bhs-m365-card__list {
  padding-left: 22px;
  list-style: disc;
}
.bhs-body .bhs-sq .bhs-m365-card__list li {
  margin: 0 0 4px;
  font-size: 15px;
  line-height: 1.4;
  color: #333;
}
.bhs-body .bhs-sq .bhs-m365-card__list li::marker { color: #555; }

/* ---------- ONDE O DESPERDÍCIO APARECE ---------- */
.bhs-body .bhs-sq .bhs-m365-desperdicio h3 {
  max-width: 440px;
  font-size: clamp(22px, 2vw, 27px);
  line-height: 1.1;
}

/* ---------- CSP TIER 1 (fundo claro) ---------- */
.bhs-m365-csp { padding: clamp(24px, 3vw, 40px) 0 clamp(96px, 9vw, 140px); }
.bhs-m365-csp__head { align-items: start; margin-bottom: 72px; }
.bhs-body .bhs-sq .bhs-m365-csp p.bhs-sq-eyebrow { color: #8a8a8a; }
.bhs-body .bhs-sq .bhs-m365-csp h2.bhs-sq-areas__title {
  max-width: 480px;
  color: #111;
}
.bhs-m365-csp .bhs-sq-areas__desc {
  max-width: 480px;
  padding-top: 28px;
  border-top: 1px solid rgba(0, 0, 0, .35);
}
.bhs-body .bhs-sq .bhs-m365-csp .bhs-sq-areas__desc p {
  font-size: 15px;
  line-height: 1.35;
  color: #333;
}
.bhs-body .bhs-sq .bhs-m365-csp .bhs-sq-areas__desc p + p { margin-top: 14px; }

/* Tabela comparativa: grid com as 3 colunas alinhadas em todas as linhas */
.bhs-m365-table {
  --col-rev: #E6E6E6;
  --col-bhs: #EFEFEF;
  max-width: 1160px;
}
.bhs-m365-table__row {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 28px;
}
.bhs-m365-table__crit {
  display: flex;
  align-items: center;
  padding: 18px 0;
  font-size: 15px;
  color: #111;
}
.bhs-m365-table__cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 95px;
  padding: 18px 28px;
  text-align: center;
  font-size: 17px;
  line-height: 1.25;
  color: #333;
}
.bhs-m365-table__cell--rev { background: var(--col-rev); }
.bhs-m365-table__cell--bhs {
  background: var(--col-bhs);
  box-shadow: 14px 0 30px -18px rgba(0, 0, 0, .18), -14px 0 30px -18px rgba(0, 0, 0, .18);
}
/* faixas alternadas, como no layout */
.bhs-m365-table__row:nth-child(odd):not(.bhs-m365-table__row--head) .bhs-m365-table__cell--rev { background: #DCDCDC; }
.bhs-m365-table__row:nth-child(odd):not(.bhs-m365-table__row--head) .bhs-m365-table__cell--bhs { background: #E6E6E6; }

.bhs-m365-table__row--head .bhs-m365-table__crit {
  align-items: flex-end;
  font-family: var(--sq-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .012em;
}
.bhs-m365-table__row--head .bhs-m365-table__cell {
  min-height: 107px;
  border-radius: 20px 20px 0 0;
  font-family: var(--sq-heading);
  font-size: clamp(20px, 1.9vw, 26px);
  font-weight: 700;
  letter-spacing: .012em;
  line-height: 1.02;
}
.bhs-m365-table__row--head .bhs-m365-table__cell--rev {
  background: #DEDADA;
  color: #9a9a9a;
}
.bhs-m365-table__row--head .bhs-m365-table__cell--bhs {
  background: linear-gradient(180deg, #2df07a 0%, var(--sq-green) 45%, #10c24f 100%);
  color: #fff;
}
.bhs-m365-table__row:last-child .bhs-m365-table__cell { border-radius: 0 0 20px 20px; }

/* ---------- O QUE A BHS LICENCIA (escuro) ---------- */
.bhs-m365-lic {
  padding: clamp(80px, 8vw, 120px) 0 clamp(72px, 7vw, 110px);
  text-align: center;
}
.bhs-body .bhs-sq .bhs-m365-lic p.bhs-sq-eyebrow { color: #bdbdbd; }
.bhs-body .bhs-sq h2.bhs-m365-lic__title {
  font-size: clamp(30px, 3.6vw, 50px);
  line-height: 1.02;
  color: #fff;
  margin-bottom: 64px;
}
.bhs-m365-lic__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  text-align: left;
}
.bhs-m365-lic__card {
  min-height: 328px;
  padding: 36px 30px;
  border: 1px solid #4D4D4D;
  border-radius: 16px;
  background: #010100;
  transition: border-color var(--bhs-transition, .25s ease);
}
.bhs-m365-lic__card:hover { border-color: rgba(28, 231, 102, .5); }
.bhs-body .bhs-sq .bhs-m365-lic__card p.bhs-m365-card__eyebrow { color: #9a9a9a; }
.bhs-body .bhs-sq .bhs-m365-lic__card h3 {
  font-family: var(--sq-body);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  margin-bottom: 20px;
}
.bhs-body .bhs-sq .bhs-m365-lic__card p:not(.bhs-m365-card__eyebrow) {
  font-size: 15px;
  line-height: 1.4;
  color: #cfcfcf;
}
.bhs-body .bhs-sq p.bhs-m365-lic__inclui {
  margin: 40px 0 16px 10px;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.bhs-body .bhs-sq .bhs-m365-lic__list { padding-left: 10px; }
.bhs-body .bhs-sq .bhs-m365-lic__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.35;
  color: #d6d6d6;
}
.bhs-m365-check {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: #8a8a8a;
}

/* ---------- ACOMPANHAMENTO ---------- */
.bhs-m365-acomp { padding-top: clamp(40px, 5vw, 72px); }
.bhs-body .bhs-sq .bhs-m365-acomp h2.bhs-sq-jornada__title { max-width: 420px; }
.bhs-body .bhs-sq .bhs-m365-acomp .bhs-sq-jornada__left p { max-width: 400px; }
.bhs-body .bhs-sq .bhs-m365-acomp .bhs-sq-accordion__item p + p { margin-top: -10px; }

/* ---------- RESPONSIVO ---------- */
@media (max-width: 1024px) {
  .bhs-m365-lic__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .bhs-m365-lic__card { min-height: 0; }
  .bhs-m365-table__cell { padding: 16px; font-size: 15px; }
}

@media (max-width: 768px) {
  .bhs-m365-desafio .bhs-sq-ciclo__cards { grid-template-columns: 1fr; }
  .bhs-body .bhs-sq .bhs-m365-desafio p.bhs-sq-ciclo__desc { max-width: none; }
  .bhs-m365-badges img { height: 110px; }
  .bhs-m365-lic__title br { display: none; }

  /* Tabela: critério vira título da linha, as duas colunas ficam lado a lado */
  .bhs-m365-table__row {
    grid-template-columns: 1fr 1fr;
    column-gap: 10px;
  }
  .bhs-m365-table__crit {
    grid-column: 1 / -1;
    padding: 20px 0 8px;
    font-weight: 700;
  }
  .bhs-m365-table__row--head .bhs-m365-table__crit { display: none; }
  .bhs-m365-table__row--head .bhs-m365-table__cell { min-height: 80px; font-size: 18px; }
  .bhs-m365-table__cell { min-height: 0; padding: 14px 12px; font-size: 14px; border-radius: 10px; }
  .bhs-m365-table__row:last-child .bhs-m365-table__cell { border-radius: 10px; }
}
