/* Peças só deste artigo (palestrante futurista ou de inovação).
   Carregado depois de /artigos/shared/artigos.css. */

/* Lado a lado: a coluna do futurista em bloco escuro, a da inovação em
   cartão claro. No celular cada critério vira um cartão com os dois lados. */
.versus { width: 100%; margin-block: 36px 40px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.versus thead td { width: 26%; }
.versus thead th { padding: 0 22px 14px; text-align: left; }
.versus thead th .kicker { color: var(--muted); }
.versus tbody th {
  padding: 22px 18px 22px 0; text-align: left; vertical-align: top;
  font-size: 13px; font-weight: 700; line-height: 1.35; letter-spacing: .1em; text-transform: uppercase; color: var(--label);
  border-top: 1px solid var(--line);
}
.versus tbody td {
  padding: 20px 22px; vertical-align: top;
  font-family: var(--display); font-weight: 650; font-stretch: 94%; font-size: 20px; line-height: 1.3; letter-spacing: -.012em;
  text-wrap: pretty;
}
.versus tbody td:nth-of-type(1) { background: var(--bloco); color: var(--sobre-bloco); }
.versus tbody td:nth-of-type(2) { background: var(--cartao); color: var(--text); border-inline: 1px solid var(--line-2); }
.versus tbody tr + tr td:nth-of-type(1) { border-top: 1px solid color-mix(in srgb, var(--sobre-bloco) 14%, transparent); }
.versus tbody tr + tr td:nth-of-type(2) { border-top: 1px solid var(--line); }
.versus tbody tr:first-child td:nth-of-type(2) { border-top: 1px solid var(--line-2); }
.versus tbody tr:first-child td:nth-of-type(1) { border-radius: 22px 0 0 0; }
.versus tbody tr:first-child td:nth-of-type(2) { border-radius: 0 22px 0 0; }
.versus tbody tr:last-child td:nth-of-type(1) { border-radius: 0 0 0 22px; }
.versus tbody tr:last-child td:nth-of-type(2) { border-radius: 0 0 22px 0; border-bottom: 1px solid var(--line-2); }
.versus tbody tr:last-child th { border-bottom: 1px solid var(--line); }
.versus tr.risco td:nth-of-type(1) { color: var(--accent); }
.versus tr.risco td:nth-of-type(2) { color: var(--accent-texto); }
.versus tr.risco th { color: var(--accent-texto); }
[data-tema="escuro"] .versus tbody td:nth-of-type(1) { box-shadow: inset 0 0 0 1px var(--line-2); }

@media (max-width: 700px) {
  .versus, .versus tbody, .versus tr, .versus th, .versus td { display: block; width: auto; }
  .versus thead { display: none; }
  .versus tbody tr { margin-bottom: 14px; }
  .versus tbody th { padding: 0 0 10px; border: 0; }
  .versus tbody tr:last-child th { border: 0; }
  .versus tbody td { padding: 14px 18px 16px; font-size: 19px; border-radius: 0 !important; }
  .versus tbody td::before {
    content: attr(data-rotulo); display: block; margin-bottom: 6px;
    font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .72;
  }
  .versus tbody td:nth-of-type(1) { border-radius: 18px 18px 0 0 !important; border-top: 0 !important; }
  .versus tbody td:nth-of-type(2) { border: 1px solid var(--line-2) !important; border-top: 0 !important; border-radius: 0 0 18px 18px !important; }
}

/* A fonte da frase de Roy Amara, logo abaixo da fala. */
.texto > .fonte { margin-top: -4px; margin-bottom: 40px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.texto > .fonte a { color: var(--accent-texto); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* Qual dos dois contratar: três cartões, o terceiro (as duas coisas) em laranja. */
.escolha { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-block: 28px 48px; }
.escolha li {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px 24px; border: 1px solid var(--line-2); border-radius: 22px; background: var(--cartao);
}
.escolha .kicker { font-size: 12px; color: var(--muted); }
.escolha h3 { font-family: var(--display); font-weight: 800; font-stretch: 90%; font-size: 25px; line-height: 1.05; letter-spacing: -.025em; color: var(--text); text-wrap: balance; }
.escolha p { font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.escolha li.as-duas { border-color: var(--accent); background: var(--accent); transform: rotate(1deg); }
.escolha li.as-duas .kicker, .escolha li.as-duas h3, .escolha li.as-duas p { color: var(--sobre-acc); }
@media (max-width: 900px) {
  .escolha { grid-template-columns: minmax(0, 1fr); }
  .escolha li.as-duas { transform: none; }
}
