* {
  box-sizing: border-box;
}

:root {
  --bg: #07111f;
  --bg2: #0f172a;
  --card: rgba(255, 255, 255, 0.075);
  --card-strong: rgba(255, 255, 255, 0.11);
  --border: rgba(255, 255, 255, 0.13);
  --text: #f8fafc;
  --muted: #a8b3c7;
  --green: #22c55e;
  --green-dark: #052e16;
  --blue: #38bdf8;
  --yellow: #fbbf24;
  --red: #fb7185;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.32);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(34, 197, 94, 0.22), transparent 32%),
    radial-gradient(circle at 85% 0, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.topo {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 17, 31, 0.9);
  backdrop-filter: blur(16px);
}

.nav,
.hero,
.painel-resumo,
.metodo,
.section,
.rodape {
  width: min(1180px, calc(100% - 32px));
  margin-inline: auto;
}

.nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.logo {
  color: var(--green);
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 16px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 800;
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--text);
}

.hero {
  padding: 86px 0 38px;
}

.tag {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1040px;
  margin-bottom: 22px;
  font-size: clamp(2.7rem, 7vw, 5.7rem);
  line-height: 0.94;
  letter-spacing: -0.075em;
}

h2 {
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

h3 {
  margin-bottom: 8px;
  line-height: 1.15;
}

.lead,
.section-head > p {
  max-width: 860px;
  color: var(--muted);
  font-size: 1.08rem;
}

.acoes {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.botao {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: var(--green-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.botao:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.botao.secundario {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.mensagem {
  min-height: 28px;
  margin: 18px 0 0;
  color: var(--blue);
  font-weight: 800;
}

.painel-resumo {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.painel-resumo article,
.metodo-grid article,
.check-card,
.funcionario-card,
.plano-lista li {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.painel-resumo article {
  min-height: 152px;
  padding: 22px;
}

.painel-resumo article > span,
.painel-resumo small {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.painel-resumo strong {
  display: block;
  margin: 8px 0 5px;
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.painel-resumo .destaque {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(56, 189, 248, 0.12));
}

.metodo,
.section {
  margin-bottom: 24px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 18px;
}

.section-head > p {
  margin: 0;
  text-align: right;
}

.metodo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.metodo-grid article {
  min-height: 210px;
  padding: 24px;
}

.metodo-grid span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-dark);
  font-weight: 900;
}

.metodo-grid p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
}

.checks-grid,
.equipe-auditoria-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.check-card,
.funcionario-card {
  padding: 22px;
}

.check-topo,
.funcionario-topo,
.funcionario-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.check-topo h3,
.funcionario-topo h3 {
  margin: 0;
  font-size: 1.22rem;
}

.check-card p,
.funcionario-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  flex: 0 0 auto;
  padding: 0 11px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 900;
}

.status.aprovado {
  color: var(--green);
  background: rgba(34, 197, 94, 0.1);
}

.status.atencao {
  color: var(--yellow);
  background: rgba(251, 191, 36, 0.1);
}

.status.critico {
  color: var(--red);
  background: rgba(251, 113, 133, 0.1);
}

.status.manual {
  color: var(--blue);
  background: rgba(56, 189, 248, 0.1);
}

.evidencia {
  display: block;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  color: #d7e1f0;
  font-size: 0.92rem;
  font-weight: 800;
}

.funcionario-card {
  display: flex;
  min-height: 246px;
  flex-direction: column;
}

.funcionario-topo {
  margin-bottom: 14px;
}

.funcionario-topo .numero {
  display: grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--card-strong);
  color: var(--blue);
  font-weight: 900;
}

.funcionario-area {
  margin-bottom: 8px !important;
  color: var(--blue) !important;
  font-size: 0.86rem;
  font-weight: 900 !important;
}

.funcionario-meta {
  margin-top: auto;
  padding-top: 18px;
}

.funcionario-meta span {
  color: #d7e1f0;
  font-size: 0.9rem;
  font-weight: 800;
}

.funcionario-meta button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card-strong);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 900;
}

.link-destaque {
  color: var(--green);
  font-weight: 900;
}

.plano-lista {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: plano;
}

.plano-lista li {
  position: relative;
  min-height: 72px;
  padding: 20px 22px 20px 76px;
  color: #d7e1f0;
  font-weight: 800;
}

.plano-lista li::before {
  position: absolute;
  top: 50%;
  left: 22px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: var(--green-dark);
  content: counter(plano);
  counter-increment: plano;
  font-weight: 900;
  transform: translateY(-50%);
}

.estado-vazio {
  grid-column: 1 / -1;
  margin: 0;
  padding: 32px;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
  font-weight: 800;
}

.rodape {
  padding: 30px 0 46px;
  color: var(--muted);
  font-weight: 800;
  text-align: center;
}

@media (max-width: 920px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .painel-resumo,
  .metodo-grid,
  .checks-grid,
  .equipe-auditoria-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-head > p {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-top: 56px;
  }

  .nav,
  .hero,
  .painel-resumo,
  .metodo,
  .section,
  .rodape {
    width: min(100% - 24px, 1180px);
  }

  .botao {
    width: 100%;
  }
}
