/* 1. RESET E NORMALIZAÇÃO */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body,
h1,
h2,
h3,
p,
ul,
ol,
figure {
  margin: 0;
}

/* 2. TOKENS E VARIÁVEIS */
:root {
  --maleta-font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --maleta-color-text: #172033;
  --maleta-color-muted: #4a5b73;
  --maleta-color-bg: #f7fafc;
  --maleta-color-surface: #ffffff;
  --maleta-color-primary: #2563eb;
  --maleta-color-focus: #f59e0b;
  --maleta-space-md: 1rem;
  --maleta-space-lg: 2rem;
  --maleta-radius-card: 1.25rem;
  --maleta-shadow-card: 0 18px 40px rgba(15, 59, 87, 0.08);
}

/* 3. BASE GLOBAL */
body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--maleta-color-bg);
  color: var(--maleta-color-text);
  font-family: var(--maleta-font-base);
  line-height: 1.6;
}

/* 4. ELEMENTOS GLOBAIS */
a {
  color: inherit;
}

button,
input,
textarea,
select {
  font: inherit;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5. ACESSIBILIDADE E ESTADOS GLOBAIS */
:focus-visible {
  outline: 3px solid var(--maleta-color-focus);
  outline-offset: 3px;
}

/* 6. LAYOUT E ESTRUTURA */
header,
main,
section,
.container,
.grid {
  position: relative;
}

/* 7. COMPONENTES REUTILIZÁVEIS */
.card,
.botao,
.badge,
form,
.action-link {
  border-radius: var(--maleta-radius-card);
}

/* 8. ESTILOS ESPECÍFICOS DO MODELO OU PROJETO */
/* 8. SEÇÕES ESPECÍFICAS */
.login-page,
.login-card,
.login-visual,
.login-links,
.hero,
.benefits,
.cta,
.faq,
.sidebar,
.topbar,
.metrics,
.table,
.filters,
.catalog-grid,
.product-card,
.article,
.author,
.post-content,
.services,
.about,
.contact,
.testimonials {
  scroll-margin-top: 2rem;
}

/* 9. RESPONSIVIDADE */
@media (max-width: 720px) {
  body {
    overflow-wrap: anywhere;
  }
}

/* 10. PREFERÊNCIAS DO USUÁRIO */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Conteúdo original preservado abaixo. */
*{box-sizing:border-box}
:root{--bg:#07111f;--bg2:#0f172a;--card:rgba(255,255,255,.075);--card2:rgba(255,255,255,.11);--border:rgba(255,255,255,.13);--text:#f8fafc;--muted:#a8b3c7;--green:#22c55e;--blue:#38bdf8;--orange:#fb923c;--shadow:0 28px 90px rgba(0,0,0,.32);--radius:28px}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:radial-gradient(circle at top left,rgba(34,197,94,.2),transparent 32%),radial-gradient(circle at 85% 0,rgba(56,189,248,.15),transparent 30%),linear-gradient(180deg,var(--bg),var(--bg2));color:var(--text);line-height:1.6}
a{color:inherit;text-decoration:none}
.topo{position:sticky;top:0;z-index:10;background:rgba(7,17,31,.9);border-bottom:1px solid var(--border);backdrop-filter:blur(16px)}
.nav{width:min(1180px,calc(100% - 32px));min-height:74px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px}
.logo{font-weight:900;color:var(--green)}
.nav-links{display:flex;gap:16px;color:var(--muted);font-weight:800;font-size:.92rem}
.hero,.area{width:min(1180px,calc(100% - 32px));margin:0 auto}
.hero{padding:74px 0 34px}
.tag{margin:0 0 12px;color:var(--green);font-size:.76rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
h1,h2,h3,p{margin-top:0}
h1{max-width:960px;margin-bottom:22px;font-size:clamp(2.5rem,6vw,5.1rem);line-height:.94;letter-spacing:-.075em}
.lead{max-width:840px;color:var(--muted);font-size:1.1rem}
.meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}
.meta span{padding:9px 13px;border:1px solid var(--border);border-radius:999px;background:rgba(255,255,255,.06);color:#dbeafe;font-weight:900;font-size:.82rem}
.grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;margin-bottom:22px}
.card{padding:28px;border:1px solid var(--border);border-radius:var(--radius);background:var(--card);box-shadow:var(--shadow)}
.card h2{margin-bottom:16px;font-size:clamp(1.6rem,4vw,2.45rem);line-height:1;letter-spacing:-.055em}
.card h3{margin:22px 0 8px;font-size:1.08rem}
.texto-suave{color:var(--muted)}
.lista{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.lista li{padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:rgba(255,255,255,.055);color:#d7e1f0;font-weight:800}
.etapas{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.etapa{padding:18px;border:1px solid var(--border);border-radius:20px;background:rgba(255,255,255,.06)}
.numero{display:inline-grid;place-items:center;width:34px;height:34px;margin-bottom:12px;border-radius:50%;background:var(--green);color:#052e16;font-weight:900}
.arquivos{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}
.arquivo{padding:16px;border:1px solid var(--border);border-radius:18px;background:rgba(255,255,255,.06)}
.arquivo strong{display:block;color:#fff}
.arquivo span{color:var(--muted);font-size:.9rem}
.checklist{columns:2;column-gap:18px;margin:0;padding:0;list-style:none}
.checklist li{break-inside:avoid;margin:0 0 10px;padding:12px 14px;border:1px solid var(--border);border-radius:14px;background:rgba(255,255,255,.055);color:#d7e1f0;font-weight:800}
.destaque{border-color:rgba(34,197,94,.35);background:linear-gradient(135deg,rgba(34,197,94,.14),rgba(56,189,248,.08))}
.acoes{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}
.botao{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:0 18px;border-radius:999px;background:var(--green);color:#052e16;font-weight:900}
.botao.sec{background:rgba(255,255,255,.09);color:#fff;border:1px solid var(--border)}
.atalho-construcao{position:fixed;right:22px;bottom:22px;z-index:999;padding:14px 18px;border-radius:999px;background:#22c55e;color:#052e16;font-family:Arial,Helvetica,sans-serif;font-weight:900;text-decoration:none;box-shadow:0 18px 46px rgba(34,197,94,.28)}
@media(max-width:980px){.grid,.etapas,.arquivos{grid-template-columns:1fr}.checklist{columns:1}}
@media(max-width:680px){.nav{padding:18px 0;flex-direction:column;align-items:flex-start}.nav-links{width:100%;overflow-x:auto}.hero,.area{width:min(100% - 24px,1180px)}.hero{padding-top:50px}.card{padding:22px}h1{font-size:clamp(2.35rem,14vw,4.3rem)}}

/* INICIO-CODIGO-BASE-CONSTRUCAO */
.codigo-section {
  overflow: hidden;
}

.codigo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 20px;
}

.codigo-card {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}

.codigo-card h3 {
  margin-top: 0;
  color: #fff;
}

.codigo-base {
  min-height: 420px;
  max-height: 620px;
  overflow: auto;
  margin: 16px 0 0;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background: rgba(0,0,0,.38);
  color: #d1fae5;
  font-size: .84rem;
  line-height: 1.55;
  white-space: pre;
}

.codigo-base code {
  font-family: Consolas, Monaco, "Courier New", monospace;
}

@media(max-width:980px) {
  .codigo-grid {
    grid-template-columns: 1fr;
  }

  .codigo-base {
    max-height: 520px;
  }
}
/* FIM-CODIGO-BASE-CONSTRUCAO */

/* INICIO-EXECUCAO-PRATICA */
.execucao-pratica {
  border-color: rgba(56,189,248,.28);
}

.execucao-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}

.execucao-card,
.estrutura-card,
.ordem-final {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}

.execucao-card h3,
.estrutura-card h3,
.ordem-final h3 {
  margin-top: 0;
  color: #fff;
}

.execucao-card p,
.ordem-final li {
  color: #d7e1f0;
  font-weight: 800;
}

.estrutura-card {
  margin: 18px 0;
}

.ordem-final {
  margin-top: 18px;
}

.ordem-final ol {
  margin: 0;
  padding-left: 22px;
}

.ordem-final li {
  margin: 10px 0;
}

@media(max-width:980px) {
  .execucao-grid {
    grid-template-columns: 1fr;
  }
}
/* FIM-EXECUCAO-PRATICA */

/* INICIO-FUNCIONARIOS-PROJETO */
.funcionarios-projeto {
  border-color: rgba(34, 197, 94, .28);
}

.funcionarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.funcionario-card {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: rgba(255,255,255,.055);
}

.funcionario-card h3 {
  margin: 0 0 10px;
  color: #fff;
}

.funcionario-card p {
  margin: 8px 0;
  color: #d7e1f0;
  font-weight: 800;
}

.funcionario-card strong {
  color: #fff;
}

@media(max-width:1100px) {
  .funcionarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width:700px) {
  .funcionarios-grid {
    grid-template-columns: 1fr;
  }
}
/* FIM-FUNCIONARIOS-PROJETO */

/* Base obrigatória de auditoria 360: preserva o layout existente. */
:root {
  --audit-focus: #2563eb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--audit-focus);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  body {
    overflow-wrap: anywhere;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
