/* ==========================================================================
   Engenharia Comportamental para Gestores (/corporativo/)
   Usa os tokens de css/style.css. O documento da cliente pedia "texto em
   azul": o azul da marca é o --navy, então ele carrega os blocos de maior
   peso (abertura, por que funciona, metodologia e proposta).
   ========================================================================== */

/* Esta página não tem a faixa de anúncio no topo. */
:root { --anuncio-h: 0px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Abertura ---------- */
.corp-hero {
  padding: calc(var(--header-h) + 88px) 0 88px;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-mid) 55%, var(--navy-lt) 100%);
  color: var(--white);
}
.corp-hero__inner { max-width: 860px; }
.corp-hero .section-label { color: var(--accent); }
.corp-hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 700;
  margin: 0 0 20px;
}
.corp-hero__sub {
  font-size: clamp(1.05rem, 1.6vw, 1.28rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.86);
  max-width: 46ch;
}

/* ---------- O problema ---------- */
.corp-intro { padding: 88px 0; background: var(--white); }
.corp-intro__inner { max-width: 820px; }
.corp-intro__body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  margin-top: 22px;
}
.corp-intro__body--forte {
  padding-left: 22px;
  border-left: 3px solid var(--accent);
  color: var(--text-dark);
  font-weight: 500;
}

/* ---------- Por que funciona ---------- */
.corp-porque { padding: 88px 0; background: var(--navy); color: var(--white); }
.corp-porque__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.porque__card {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}
.porque__icon { width: 40px; height: 40px; color: var(--accent); margin-bottom: 18px; }
.porque__icon svg { width: 100%; height: 100%; }
.porque__title {
  font-size: 1.12rem; font-weight: 600; margin: 0 0 10px; color: var(--white);
}
.porque__body { font-size: 0.96rem; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }

/* ---------- Trilhas e módulos ---------- */
.corp-trilhas { padding: 88px 0; background: var(--off-white); }
.trilha { margin-top: 56px; }
.trilha__cabeca {
  padding-bottom: 22px;
  margin-bottom: 8px;
  border-bottom: 2px solid var(--navy);
}
.trilha__n {
  display: inline-block;
  padding: 5px 14px;
  margin-bottom: 12px;
  background: var(--accent);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
}
.trilha__nome {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 10px;
}
.trilha__foco { font-size: 0.98rem; line-height: 1.6; color: var(--text-light); }

.modulos { list-style: none; margin: 0; padding: 0; }
.modulo {
  display: flex;
  gap: 22px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
}
.modulo__n {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--accent);
  padding-top: 2px;
}
.modulo__corpo { flex: 1; min-width: 0; }
.modulo__titulo {
  font-size: 1.14rem; font-weight: 600; color: var(--navy); margin: 0 0 6px;
}
.modulo__desc { font-size: 1rem; line-height: 1.65; color: var(--text-mid); margin-bottom: 12px; }
.modulo__linha { font-size: 0.94rem; line-height: 1.6; color: var(--text-light); }
.modulo__linha strong { color: var(--text-dark); }
.modulo__entregavel {
  margin-top: 8px;
  padding: 12px 16px;
  background: var(--accent-pale);
  border-radius: var(--radius-sm);
  color: var(--text-mid);
}

/* ---------- Metodologia ---------- */
.corp-metodo { padding: 88px 0; background: var(--navy); color: var(--white); }
.metodo__lista {
  list-style: none; margin: 48px 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.metodo__passo {
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
}
.metodo__n {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 14px;
}
.metodo__titulo { font-size: 1.1rem; font-weight: 600; color: var(--white); margin: 0 0 10px; }
.metodo__body { font-size: 0.96rem; line-height: 1.7; color: rgba(255, 255, 255, 0.78); }

/* ---------- Tabela de formatos ----------
   A tabela vira lista de cartões no celular: quatro colunas de texto num
   viewport de 390px sairiam ilegíveis ou forçariam scroll horizontal. */
.corp-formatos { padding: 88px 0; background: var(--white); }
.tabela-wrap { margin-top: 48px; overflow-x: auto; }
.tabela-formatos {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  text-align: left;
}
.tabela-formatos thead th {
  padding: 16px 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.tabela-formatos thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.tabela-formatos thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.tabela-formatos tbody th,
.tabela-formatos tbody td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  color: var(--text-mid);
  vertical-align: top;
}
.tabela-formatos tbody th {
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}
.tabela-formatos tbody tr:nth-child(2n) th,
.tabela-formatos tbody tr:nth-child(2n) td { background: var(--off-white); }

/* ---------- Especialista ---------- */
.corp-especialista { padding: 88px 0; background: var(--off-white); }
.especialista__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: center;
}
.especialista__visual { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.especialista__img { width: 100%; height: auto; display: block; }
.especialista__cargo {
  font-size: 0.98rem; line-height: 1.6; color: var(--accent); font-weight: 600; margin: 14px 0 18px;
}
.especialista__body { font-size: 1.02rem; line-height: 1.8; color: var(--text-mid); }

/* ---------- Proposta ---------- */
.corp-proposta {
  padding: 88px 0;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-lt) 100%);
  color: var(--white);
  text-align: center;
}
.proposta__inner { max-width: 640px; margin-inline: auto; }
.proposta__titulo {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  margin: 0 0 16px;
}
.proposta__body { font-size: 1.05rem; line-height: 1.7; color: rgba(255, 255, 255, 0.84); margin-bottom: 32px; }

/* ---------- Telas menores ---------- */
@media (max-width: 900px) {
  .corp-porque__grid,
  .metodo__lista { grid-template-columns: 1fr; }
  .especialista__inner { grid-template-columns: 1fr; gap: 32px; }
  .especialista__visual { max-width: 420px; }
}

@media (max-width: 700px) {
  .corp-hero { padding: calc(var(--header-h) + 56px) 0 56px; }
  .corp-intro,
  .corp-porque,
  .corp-trilhas,
  .corp-metodo,
  .corp-formatos,
  .corp-especialista,
  .corp-proposta { padding: 56px 0; }

  .modulo { flex-direction: column; gap: 10px; }

  .tabela-wrap { overflow-x: visible; }
  .tabela-formatos thead { display: none; }
  .tabela-formatos,
  .tabela-formatos tbody,
  .tabela-formatos tr,
  .tabela-formatos th,
  .tabela-formatos td { display: block; width: 100%; }
  .tabela-formatos tbody tr {
    margin-bottom: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .tabela-formatos tbody th {
    background: var(--navy);
    color: var(--white);
    white-space: normal;
    border-bottom: 0;
  }
  .tabela-formatos tbody tr:nth-child(2n) th { background: var(--navy); }
  .tabela-formatos tbody td { border-bottom: 1px solid var(--border-lt); }
  .tabela-formatos tbody tr:nth-child(2n) td { background: transparent; }
  .tabela-formatos tbody td:last-child { border-bottom: 0; }
  .tabela-formatos tbody td::before {
    content: attr(data-rotulo);
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-xlight);
  }
}
