/* Concordy Lab: visual limpo no padrão Fluent 2 (Microsoft). Sem fontes externas e sem estilo inline (CSP). */
:root {
  --azul: #0f6cbd;
  --azul-hover: #115ea3;
  --azul-forte: #0c3b5e;
  --azul-claro: #ebf3fc;
  --texto: #1b1b1b;
  --texto-2: #424242;
  --texto-3: #616161;
  --borda: #e0e0e0;
  --borda-forte: #c7c7c7;
  --fundo: #fff;
  --fundo-2: #f5f5f5;
  --fundo-3: #fafafa;
  --verde: #0e700e;
  --verde-fundo: #f1faf1;
  --laranja: #b84a08;
  --laranja-fundo: #fdf6f3;
  --vermelho: #c50f1f;
  --vermelho-fundo: #fdf3f4;
  --sombra-2: 0 0 2px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.14);
  --sombra-8: 0 0 2px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.14);
  --sombra-16: 0 0 2px rgba(0, 0, 0, 0.12), 0 8px 16px rgba(0, 0, 0, 0.14);
  --sombra-28: 0 0 8px rgba(0, 0, 0, 0.12), 0 14px 28px rgba(0, 0, 0, 0.14);
  --raio: 4px;
  --raio-g: 8px;
  --largura: 1280px;
  --margem: clamp(16px, 4vw, 48px);
  --fonte: "Segoe UI Variable Text", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --fonte-titulo: "Segoe UI Variable Display", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Code", Consolas, "SFMono-Regular", Menlo, monospace;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--fundo);
  color: var(--texto);
  font: 400 1rem/1.5 var(--fonte);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--azul);
  text-underline-offset: 2px;
}
a:hover {
  color: var(--azul-hover);
}
h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  color: var(--texto);
  font-family: var(--fonte-titulo);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
h1 {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem);
}
h3,
.h3 {
  font-size: 1.25rem;
}
p {
  margin: 0 0 1em;
}
:focus-visible {
  outline: 2px solid var(--texto);
  outline-offset: 2px;
}
.visualmente-oculto {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.pular {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: var(--texto);
  font-weight: 600;
  box-shadow: var(--sombra-16);
}
.pular:focus {
  top: 8px;
}
.dentro {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 var(--margem);
}
.estreito {
  max-width: calc(780px + 2 * var(--margem));
}
.limite {
  max-width: 860px;
}

/* ---------- Topo */
.topo {
  position: relative;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--borda);
}
.topo-dentro {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: var(--largura);
  height: 60px;
  margin: 0 auto;
  padding: 0 var(--margem);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  font-size: 1.0625rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.logo:hover {
  color: var(--texto);
}
.logo-marca {
  flex: none;
}
.nav {
  display: flex;
  gap: 2px;
}
.nav a {
  padding: 8px 10px;
  color: var(--texto);
  font-size: 0.9375rem;
  text-decoration: none;
}
.nav a:hover {
  color: var(--texto);
  text-decoration: underline;
}
.nav a[aria-current="page"] {
  font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--azul);
}
.topo-acoes {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}
.link-tech {
  color: var(--texto);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
}
.link-tech:hover {
  color: var(--texto);
  text-decoration: underline;
}
.menu-movel {
  display: none;
  margin-left: auto;
}
.menu-movel summary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--borda-forte);
  border-radius: var(--raio);
  font-size: 0.9375rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.menu-movel summary::-webkit-details-marker {
  display: none;
}
.menu-movel summary::before {
  content: "";
  width: 16px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}
.menu-movel[open] summary {
  background: var(--fundo-2);
}
.menu-movel nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  display: grid;
  padding: 4px var(--margem) 24px;
  background: #fff;
  border-bottom: 1px solid var(--borda);
  box-shadow: var(--sombra-16);
}
.menu-movel nav a {
  padding: 14px 2px;
  border-bottom: 1px solid var(--borda);
  color: var(--texto);
  font-size: 1.0625rem;
  text-decoration: none;
}
.menu-movel nav a[aria-current="page"] {
  font-weight: 600;
}
.menu-movel nav a.botao {
  margin-top: 18px;
  border: 0;
  color: #fff;
}
@media (max-width: 1180px) {
  .link-tech {
    display: none;
  }
}
@media (max-width: 960px) {
  .nav,
  .topo-acoes {
    display: none;
  }
  .menu-movel {
    display: block;
  }
}

/* ---------- Botões e links */
.botao,
.botao-secundario {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--raio);
  background: var(--azul);
  color: #fff;
  font: 600 1rem/1.2 var(--fonte);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.12s, border-color 0.12s;
}
.botao:hover {
  background: var(--azul-hover);
  color: #fff;
}
.botao:active {
  background: var(--azul-forte);
}
.botao:disabled {
  background: #f0f0f0;
  border-color: var(--borda);
  color: #9e9e9e;
  cursor: default;
}
.botao-pequeno {
  min-height: 36px;
  padding: 6px 16px;
  font-size: 0.9375rem;
}
.botao-secundario {
  background: #fff;
  border-color: var(--borda-forte);
  color: var(--texto);
}
.botao-secundario:hover {
  background: var(--fundo-2);
  border-color: #b3b3b3;
  color: var(--texto);
}
.botao-secundario:active {
  background: #e6e6e6;
}
.botao-branco {
  background: #fff;
  color: var(--azul);
}
.botao-branco:hover {
  background: var(--azul-claro);
  color: var(--azul-forte);
}
.acoes {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}
.link-seta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--azul);
  font-weight: 600;
}
.link-seta::after {
  content: "";
  width: 7px;
  height: 7px;
  border: solid currentColor;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
  transition: transform 0.15s;
}

/* ---------- Abertura */
.destaque {
  padding: clamp(40px, 6vw, 88px) 0 clamp(32px, 4vw, 64px);
}
.destaque-grade {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.sobretitulo {
  margin-bottom: 12px;
  color: var(--azul);
  font-size: 0.9375rem;
  font-weight: 600;
}
.lead {
  max-width: 38em;
  color: var(--texto-2);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
}
.destaque-simples {
  padding: clamp(40px, 5vw, 72px) 0 clamp(32px, 4vw, 56px);
}
.migalhas + .destaque-simples,
.migalhas + .projeto-topo,
.migalhas + .artigo {
  padding-top: 28px;
}
.destaque-simples + .secao {
  padding-top: 8px;
}
.vitrine {
  position: relative;
  padding: 0 9% 13% 0;
}
.vitrine-pc {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--raio-g);
  box-shadow: var(--sombra-28);
}
.vitrine-celular {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 25%;
  background: #1b1b1b;
  border: 5px solid #1b1b1b;
  border-radius: 20px;
  box-shadow: var(--sombra-28);
}
@media (max-width: 900px) {
  .destaque-grade {
    grid-template-columns: 1fr;
  }
}

/* ---------- Seções e grades */
.secao {
  padding: clamp(48px, 6vw, 88px) 0;
}
.secao-cinza {
  background: var(--fundo-2);
}
.secao-topo {
  max-width: 760px;
  margin-bottom: 36px;
}
.secao-topo p {
  margin: 0;
  color: var(--texto-2);
  font-size: 1.0625rem;
}
.grade-2,
.grade-3,
.grade-4 {
  display: grid;
  gap: 24px;
}
.grade-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grade-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grade-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 1100px) {
  .grade-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 1000px) {
  .grade-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  .grade-2,
  .grade-3,
  .grade-4 {
    grid-template-columns: 1fr;
  }
}

/* ---------- Cartões */
.cartao {
  overflow: hidden;
  background: #fff;
  border-radius: var(--raio-g);
  box-shadow: var(--sombra-2);
  transition: box-shadow 0.2s;
}
.cartao:hover {
  box-shadow: var(--sombra-16);
}
.cartao-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.cartao-link:hover {
  color: inherit;
}
.cartao-link:hover .link-seta {
  text-decoration: underline;
}
.cartao-link:hover .link-seta::after {
  transform: translateX(3px) rotate(45deg);
}
.cartao-midia {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--fundo-2);
}
.cartao-midia img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cartao-midia.midia-retrato {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-top: 22px;
  background: linear-gradient(180deg, #eef3f8, #e1e8ef);
}
.cartao-midia.midia-retrato img {
  width: auto;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border: 4px solid #1b1b1b;
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  box-shadow: var(--sombra-8);
}
.cartao-corpo {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px 24px 24px;
}
.cartao-corpo h3,
.cartao-corpo .h3 {
  margin-bottom: 8px;
}
.cartao-corpo p {
  margin-bottom: 12px;
  color: var(--texto-2);
  font-size: 0.9375rem;
}
.cartao-corpo .situacao {
  margin-top: auto;
  color: var(--texto-3);
  font-size: 0.8125rem;
}
.cartao-corpo .link-seta {
  margin-top: 4px;
}
.cartao-texto .cartao-corpo {
  padding: 28px;
}
.cartao-texto .cartao-corpo > p:not(.rotulo) {
  margin-bottom: 20px;
}
.rotulo {
  margin-bottom: 6px;
  color: var(--texto-3);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.cartao-corpo .rotulo {
  margin-bottom: 6px;
  color: var(--texto-3);
  font-size: 0.8125rem;
}

/* Prévia do Raio-X no cartão */
.midia-painel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  background: linear-gradient(180deg, #ebf3fc, #d9e9fa);
}
.mini-relatorio {
  width: min(290px, 88%);
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--raio-g);
  box-shadow: var(--sombra-8);
  font-size: 0.75rem;
}
.mini-relatorio p {
  margin: 0;
}
.mini-rotulo {
  color: var(--texto-3);
  font-size: 0.75rem;
}
.mini-nota {
  color: var(--texto);
  font: 600 1.75rem/1.1 var(--fonte-titulo);
}
.mini-nota span {
  color: var(--texto-3);
  font-size: 0.8125rem;
  font-weight: 400;
}
.mini-relatorio .mini-barra {
  height: 6px;
  margin: 6px 0 8px;
  overflow: hidden;
  background: var(--borda);
  border-radius: 3px;
}
.mini-barra span {
  display: block;
  width: 72%;
  height: 100%;
  background: var(--azul);
}
.mini-linha {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 2px 0;
  color: var(--texto);
}
.mini-linha::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  background: var(--verde);
  border-radius: 50%;
}
.mini-atencao::before {
  background: var(--laranja);
}

/* ---------- Capacidades */
.capacidade {
  padding: 28px;
  background: #fff;
  border-radius: var(--raio-g);
  box-shadow: var(--sombra-2);
}
.capacidade .icone {
  margin-bottom: 16px;
  color: var(--azul);
}
.capacidade h3 {
  font-size: 1.125rem;
}
.capacidade p {
  margin-bottom: 0.75em;
  color: var(--texto-2);
  font-size: 0.9375rem;
}
.capacidade .rotulo {
  color: var(--azul);
}
.capacidade .onde {
  margin: 0;
  color: var(--texto-3);
  font-size: 0.8125rem;
}

/* ---------- Raio-X: chamada e formulário */
.painel-raio-x {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: var(--azul-claro);
  border-radius: 12px;
}
.painel-raio-x p {
  color: var(--texto-2);
  font-size: 1.0625rem;
}
.painel-raio-x .sobretitulo {
  font-size: 0.9375rem;
  color: var(--azul);
}
.painel-raio-x .nota-form {
  font-size: 0.8125rem;
}
@media (max-width: 860px) {
  .painel-raio-x {
    grid-template-columns: 1fr;
  }
}
.raio-x-form label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9375rem;
  font-weight: 600;
}
.destaque-simples .raio-x-form {
  max-width: 640px;
  margin-top: 28px;
}
.raio-x-linha {
  display: flex;
  gap: 8px;
}
.raio-x-linha input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  background: #fff;
  border: 1px solid var(--borda-forte);
  border-bottom-color: var(--texto-3);
  border-radius: var(--raio);
  color: var(--texto);
  font: 400 1.0625rem var(--fonte);
}
.raio-x-linha input::placeholder {
  color: #8a8a8a;
}
.raio-x-linha input:focus {
  outline: none;
  border-bottom-color: var(--azul);
  box-shadow: inset 0 -1px 0 var(--azul);
}
.raio-x-linha .botao {
  min-height: 48px;
  white-space: nowrap;
}
.nota-form {
  margin: 10px 0 0;
  color: var(--texto-3);
  font-size: 0.8125rem;
}
@media (max-width: 560px) {
  .raio-x-linha {
    flex-direction: column;
  }
  .raio-x-linha input {
    flex: none;
    width: 100%;
  }
}

/* ---------- Faixa de chamada */
.faixa-azul {
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--azul);
  color: #fff;
}
.faixa-dentro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}
.faixa-azul h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);
}
.faixa-azul p {
  max-width: 40em;
  margin: 0;
  color: #fff;
  font-size: 1.0625rem;
}
.faixa-azul .acoes {
  margin-top: 0;
}
.link-branco,
.link-branco:hover {
  color: #fff;
  font-weight: 600;
}

/* ---------- Perguntas frequentes */
.faq {
  margin-top: 24px;
  border-top: 1px solid var(--borda);
}
.faq details {
  border-bottom: 1px solid var(--borda);
}
.faq summary {
  position: relative;
  padding: 20px 44px 20px 0;
  font-size: 1.0625rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  position: absolute;
  top: 26px;
  right: 10px;
  width: 8px;
  height: 8px;
  border: solid var(--texto-2);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.15s;
}
.faq details[open] summary::after {
  top: 30px;
  transform: rotate(-135deg);
}
.faq details p {
  max-width: 46em;
  margin: 0 0 20px;
  color: var(--texto-2);
}

/* ---------- Página de projeto */
.projeto-topo {
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 80px);
}
.projeto-grade {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.ficha {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--borda);
}
.ficha dt {
  margin-bottom: 4px;
  color: var(--texto-3);
  font-size: 0.8125rem;
  font-weight: 600;
}
.ficha dd {
  margin: 0;
  font-size: 0.9375rem;
}
.projeto-midia img {
  width: 100%;
  border-radius: var(--raio-g);
  box-shadow: var(--sombra-28);
}
.projeto-midia.midia-retrato {
  display: flex;
  justify-content: center;
}
.projeto-midia.midia-retrato img {
  width: min(300px, 72%);
  background: #1b1b1b;
  border: 6px solid #1b1b1b;
  border-radius: 26px;
}
@media (max-width: 900px) {
  .projeto-grade {
    grid-template-columns: 1fr;
  }
}
.texto-duplo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 80px);
}
.texto-duplo p {
  color: var(--texto-2);
  font-size: 1.0625rem;
  line-height: 1.65;
}
@media (max-width: 800px) {
  .texto-duplo {
    grid-template-columns: 1fr;
  }
}
.lista-check {
  margin: 0;
  padding: 0;
  list-style: none;
}
.lista-check li {
  position: relative;
  padding: 11px 0 11px 32px;
  border-bottom: 1px solid var(--borda);
}
.lista-check li::before {
  content: "";
  position: absolute;
  top: 15px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid var(--azul);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.lista-engenharia {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 48px;
  margin: 8px 0 40px;
  padding: 0;
  list-style: none;
}
.lista-engenharia li {
  padding: 2px 0 2px 18px;
  border-left: 3px solid var(--azul);
  color: var(--texto-2);
  line-height: 1.6;
}
@media (max-width: 800px) {
  .lista-engenharia {
    grid-template-columns: 1fr;
  }
}
.titulo-chips {
  margin-bottom: 12px;
  font-size: 1rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chips li {
  padding: 4px 12px;
  background: #fff;
  border: 1px solid var(--borda-forte);
  border-radius: var(--raio);
  font-size: 0.875rem;
}
.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr));
  gap: 32px 24px;
}
.galeria figure {
  margin: 0;
}
.galeria img {
  width: 100%;
  border-radius: var(--raio-g);
  box-shadow: var(--sombra-8);
}
.galeria figcaption {
  margin-top: 12px;
  color: var(--texto-3);
  font-size: 0.875rem;
}
.galeria-retrato {
  grid-template-columns: repeat(auto-fill, minmax(min(44%, 200px), 260px));
}
.galeria-retrato img {
  background: #1b1b1b;
  border: 5px solid #1b1b1b;
  border-radius: 20px;
}

/* ---------- Artigos, tabelas e código */
.artigo {
  padding: clamp(40px, 5vw, 72px) 0 clamp(48px, 6vw, 88px);
}
.artigo h1 {
  font-size: clamp(1.875rem, 1.4rem + 1.8vw, 2.75rem);
}
.artigo h2 {
  margin-top: 2.2em;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
}
.artigo p,
.artigo li,
.texto p {
  color: var(--texto-2);
  font-size: 1.0625rem;
  line-height: 1.7;
}
.artigo strong {
  color: var(--texto);
}
.artigo ul,
.artigo ol {
  margin: 0 0 1.2em;
  padding-left: 1.4em;
}
.artigo li {
  margin-bottom: 0.45em;
}
.artigo .artigo-data {
  color: var(--texto-3);
  font-size: 0.875rem;
}
.artigo .lead {
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}
.texto h2 {
  margin-top: 1.6em;
  font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem);
}
.texto h2:first-child {
  margin-top: 0;
}
.resposta-curta {
  margin: 28px 0 8px;
  padding: 18px 22px;
  background: var(--azul-claro);
  border-left: 4px solid var(--azul);
  border-radius: var(--raio);
}
.artigo .resposta-curta p {
  margin: 0;
  color: var(--texto);
}
.artigo .resposta-curta .rotulo {
  margin-bottom: 6px;
  color: var(--azul);
  font-size: 0.8125rem;
}
.caixa-cta {
  margin-top: 56px;
  padding: 28px;
  background: var(--fundo-3);
  border: 1px solid var(--borda);
  border-radius: var(--raio-g);
}
.artigo .caixa-cta h2 {
  margin-top: 0;
}
.artigo .caixa-cta p {
  margin-bottom: 20px;
}
.tabela-rolagem {
  margin: 20px 0 28px;
  overflow-x: auto;
  border: 1px solid var(--borda);
  border-radius: var(--raio-g);
}
table {
  width: 100%;
  background: #fff;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
th,
td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--borda);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}
thead th {
  background: var(--fundo-2);
  color: var(--texto-2);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}
tbody th {
  font-weight: 600;
}
tbody tr:last-child > * {
  border-bottom: 0;
}
code {
  padding: 1px 5px;
  background: var(--fundo-2);
  border: 1px solid var(--borda);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.875em;
}
pre {
  margin: 20px 0 28px;
  padding: 18px 20px;
  overflow-x: auto;
  background: var(--fundo-2);
  border: 1px solid var(--borda);
  border-radius: var(--raio-g);
  font-size: 0.875rem;
  line-height: 1.6;
}
pre code {
  padding: 0;
  background: none;
  border: 0;
  font-size: inherit;
}
.aviso {
  padding: 16px 20px;
  background: var(--laranja-fundo);
  border-left: 4px solid var(--laranja);
  border-radius: var(--raio);
}
.aviso p {
  margin: 0;
}
.aviso-erro {
  background: var(--vermelho-fundo);
  border-left-color: var(--vermelho);
}

/* ---------- Relatório do Raio-X */
.secao-relatorio {
  padding: 0 0 24px;
}
.relatorio {
  padding: clamp(20px, 4vw, 40px);
  background: #fff;
  border: 1px solid var(--borda);
  border-radius: 12px;
  box-shadow: var(--sombra-8);
}
.relatorio:focus {
  outline: none;
}
.carregando p {
  margin: 14px 0 0;
  color: var(--texto-2);
}
.barra-indeterminada {
  position: relative;
  height: 4px;
  overflow: hidden;
  background: var(--azul-claro);
  border-radius: 2px;
}
.barra-indeterminada span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 35%;
  background: var(--azul);
  border-radius: 2px;
  animation: indeterminada 1.4s ease-in-out infinite;
}
@keyframes indeterminada {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(300%);
  }
}
.relatorio-topo {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 40px;
  align-items: start;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--borda);
}
.nota-bloco {
  min-width: 170px;
}
.nota-bloco .mini-rotulo {
  margin: 0 0 4px;
  font-size: 0.875rem;
}
.nota-grande {
  margin: 0 0 12px;
  font: 600 4rem/1 var(--fonte-titulo);
  letter-spacing: -0.02em;
}
.nota-grande span {
  color: var(--texto-3);
  font-size: 1.125rem;
  font-weight: 400;
  letter-spacing: 0;
}
.nota-faixa {
  display: inline-block;
  margin: 0;
  padding: 4px 10px;
  border-radius: var(--raio);
  font-size: 0.875rem;
  font-weight: 600;
}
.faixa-otimo {
  background: var(--verde-fundo);
  color: var(--verde);
}
.faixa-bom {
  background: var(--azul-claro);
  color: var(--azul-hover);
}
.faixa-ajustes {
  background: var(--laranja-fundo);
  color: var(--laranja);
}
.faixa-critico {
  background: var(--vermelho-fundo);
  color: var(--vermelho);
}
.relatorio-host {
  margin: 0 0 2px;
  font-size: 1.125rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.relatorio-quando {
  margin: 0 0 12px;
  color: var(--texto-3);
  font-size: 0.875rem;
}
.relatorio-resumo {
  margin: 0;
  color: var(--texto-2);
}
.relatorio .acoes {
  margin-top: 20px;
}
.copiado {
  color: var(--verde);
  font-size: 0.875rem;
  font-weight: 600;
}
.relatorio h3 {
  margin: 36px 0 14px;
  font-size: 1.125rem;
}
.titulo-grupo {
  margin: 22px 0 8px;
  color: var(--texto-2);
  font-size: 0.9375rem;
}
@media (max-width: 640px) {
  .relatorio-topo {
    grid-template-columns: 1fr;
  }
}
.grupos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 40px;
}
@media (max-width: 640px) {
  .grupos {
    grid-template-columns: 1fr;
  }
}
.grupo-topo {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}
.grupo-topo span {
  color: var(--texto-3);
  white-space: nowrap;
}
.barra {
  height: 8px;
  overflow: hidden;
  background: var(--fundo-2);
  border-radius: 4px;
  box-shadow: inset 0 0 0 1px var(--borda);
}
.barra span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--verde);
  border-radius: 4px;
  transition: width 0.6s ease;
}
.barra .barra-media {
  background: var(--laranja);
}
.barra .barra-ruim {
  background: var(--vermelho);
}
.verificacoes {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--borda);
  border-radius: var(--raio-g);
}
.verif {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) auto;
  gap: 4px 16px;
  align-items: start;
  padding: 14px 16px;
  border-bottom: 1px solid var(--borda);
}
.verif:last-child {
  border-bottom: 0;
}
.selo {
  display: inline-block;
  padding: 3px 8px;
  border-radius: var(--raio);
  font-size: 0.75rem;
  font-weight: 600;
  text-align: center;
}
.selo-ok {
  background: var(--verde-fundo);
  color: var(--verde);
}
.selo-atencao {
  background: var(--laranja-fundo);
  color: var(--laranja);
}
.selo-erro {
  background: var(--vermelho-fundo);
  color: var(--vermelho);
}
.selo-info {
  background: var(--fundo-2);
  color: var(--texto-2);
}
.verif-titulo {
  margin: 0 0 2px;
  font-weight: 600;
}
.verif-detalhe {
  margin: 0;
  color: var(--texto-2);
  font-size: 0.9375rem;
  overflow-wrap: anywhere;
}
.verif-correcao {
  margin: 8px 0 0;
  font-size: 0.9375rem;
}
.verif-pontos {
  padding-top: 2px;
  color: var(--texto-3);
  font-size: 0.8125rem;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .verif {
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .verif .selo {
    grid-row: 1;
    grid-column: 1;
    justify-self: start;
  }
  .verif-pontos {
    grid-row: 1;
    grid-column: 2;
  }
  .verif-corpo {
    grid-row: 2;
    grid-column: 1 / -1;
  }
}
.tabela-resultado {
  margin: 0;
}
.mais-robos summary {
  display: inline-block;
  margin: 14px 0 0;
  color: var(--azul);
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}
.mais-robos[open] summary {
  margin-bottom: 12px;
}
.tabela-resultado td,
.tabela-resultado th {
  font-size: 0.875rem;
}
.linha-categoria th {
  padding-top: 10px;
  padding-bottom: 10px;
  background: var(--fundo-3);
  color: var(--texto-3);
  font-size: 0.8125rem;
}
.robo-empresa {
  display: block;
  color: var(--texto-3);
  font-size: 0.8125rem;
  font-weight: 400;
}
.estado {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  white-space: nowrap;
}
.estado::before {
  content: "";
  width: 8px;
  height: 8px;
  background: currentColor;
  border-radius: 50%;
}
.estado-ok {
  color: var(--verde);
}
.estado-erro {
  color: var(--vermelho);
}
.estado-neutro {
  color: var(--texto-3);
}
.regra {
  display: block;
  margin-top: 2px;
  color: var(--texto-3);
  font-family: var(--mono);
  font-size: 0.75rem;
  overflow-wrap: anywhere;
}
.relatorio-rodape {
  margin: 28px 0 0;
  color: var(--texto-3);
  font-size: 0.8125rem;
}

/* ---------- Rodapé */
.rodape {
  padding: 48px 0 32px;
  background: var(--fundo-2);
  border-top: 1px solid var(--borda);
  font-size: 0.8125rem;
}
.rodape-colunas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.rodape h2 {
  margin-bottom: 12px;
  color: var(--texto-2);
  font-size: 0.9375rem;
  letter-spacing: 0;
}
.rodape ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.rodape li {
  margin: 0 0 10px;
}
.rodape a {
  color: var(--texto-3);
  text-decoration: none;
}
.rodape a:hover {
  color: var(--texto);
  text-decoration: underline;
}
.rodape-base {
  margin: 40px 0 0;
  color: var(--texto-3);
}
@media (max-width: 800px) {
  .rodape-colunas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Migalhas */
.migalhas {
  padding-top: 20px;
  font-size: 0.875rem;
}
.migalhas ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: var(--texto-3);
  list-style: none;
}
.migalhas li + li::before {
  content: "/";
  margin: 0 8px 0 4px;
  color: var(--borda-forte);
}
.migalhas a {
  text-decoration: none;
}
.migalhas a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
  .barra-indeterminada span {
    width: 100%;
    animation: none;
    opacity: 0.5;
  }
}
