/* Paleta derivada dos sistemas internos (Nexus/Boletador/Gerencial), em registro institucional. */
:root {
  --navy-profundo: #0b1c2b;
  --navy: #122c3e;
  --navy-claro: #234a61;
  --azul: #2a679c;
  --cinza-fundo: #f4f5f7;
  --linha: #dde2e8;
  --texto: #2b3440;
  --texto-suave: #6b7785;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --largura: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #fff;
  color: var(--texto);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.7;
}

a { color: var(--azul); }

.faixa {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 40px;
}

/* ---------- Topo (sobre o hero) ---------- */
.topo {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 2;
  color: #fff;
}
.topo.solido { position: static; background: var(--navy); }
.topo .faixa {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 96px;
}
.marca {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
  color: #fff;
  text-decoration: none;
}
.marca-nome { font-family: var(--serif); font-size: 30px; font-weight: 500; letter-spacing: 0.01em; }
.marca-sub {
  margin-top: 4px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #b9c8d6;
}
.topo nav { display: flex; gap: 40px; }
.topo nav a,
.rodape nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
}
.topo nav a { color: #dbe4ec; }
.topo nav a:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: clamp(560px, 92vh, 880px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    url("ondas.svg") center 62% / cover no-repeat,
    linear-gradient(180deg, var(--navy-profundo) 0%, var(--navy) 55%, var(--navy-claro) 100%);
}
.hero-conteudo { padding: 120px 24px 80px; }
.hero-marca {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 11vw, 132px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.005em;
}
.hero-sub {
  margin: 14px 0 0;
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 600;
  letter-spacing: 0.6em;
  text-transform: uppercase;
  color: #b9c8d6;
  padding-left: 0.6em; /* compensa o espaçamento da última letra */
}
.hero-linha {
  margin: 48px 0 0;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #c9d6e2;
}
.hero-seta {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: #c9d6e2;
  font-size: 20px;
  text-decoration: none;
}
.hero-seta:hover { color: #fff; }

/* ---------- Seções ---------- */
.secao { padding: 112px 0; }
.secao-clara { background: var(--cinza-fundo); }

.sobretitulo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--azul);
}
.sobretitulo::before { content: ""; width: 32px; height: 1px; background: currentColor; }

h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.12;
}
h1 { font-size: clamp(36px, 4.4vw, 52px); }
h2 { font-size: clamp(32px, 3.6vw, 44px); }

.duas-colunas {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 72px;
  align-items: end;
}
.texto-longo p { margin: 0; font-size: 18px; font-weight: 300; color: var(--texto); }

/* Pilares */
.pilares {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 88px;
}
.pilares article { border-top: 1px solid var(--linha); padding-top: 28px; }
.pilar-num { font-family: var(--serif); font-size: 18px; color: var(--azul); }
.pilares h3 {
  margin: 8px 0 12px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--navy);
}
.pilares p { margin: 0; font-size: 15px; color: var(--texto-suave); }

/* Políticas */
.intro { max-width: 640px; margin: 24px 0 0; color: var(--texto-suave); }

.grade-docs {
  list-style: none;
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--linha);
  border: 1px solid var(--linha);
}
.grade-docs li { background: #fff; }
.grade-docs a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  height: 100%;
  padding: 40px 32px;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease;
}
.grade-docs a:hover { background: #fafbfc; }
.grade-docs img { width: 32px; height: auto; opacity: 0.85; }
.doc-titulo {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--navy);
}
.grade-docs a:hover .doc-titulo { color: var(--azul); }

.aviso-voto {
  max-width: 820px;
  margin: 48px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: var(--texto-suave);
}

/* Contato */
.contato-dados address { font-style: normal; font-size: 18px; font-weight: 300; }
.contato-dados p { margin: 16px 0 0; }
.contato-dados a { font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; }

/* ---------- Rodapé ---------- */
.rodape { background: var(--navy-profundo); color: #9fb0c0; font-size: 13px; padding: 56px 0 48px; }
.rodape-topo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.rodape .marca-nome { color: #fff; font-size: 26px; }
.rodape nav { display: flex; gap: 32px; flex-wrap: wrap; }
.rodape nav a { color: #c9d6e2; font-size: 12px; }
.rodape nav a:hover { color: #fff; }
.rodape p { margin: 0 0 8px; }
.rodape .disclaimer { max-width: 760px; color: #7f92a5; font-size: 12px; }

/* ---------- Telas menores ---------- */
@media (max-width: 960px) {
  .grade-docs { grid-template-columns: repeat(2, 1fr); }
  .duas-colunas { grid-template-columns: 1fr; gap: 32px; }
  .pilares { grid-template-columns: 1fr; gap: 40px; margin-top: 64px; }
}

@media (max-width: 640px) {
  .faixa { padding: 0 16px; }
  .topo .faixa { min-height: 76px; }
  .marca-nome { font-size: 24px; }
  .topo nav { gap: 18px; }
  .topo nav a { font-size: 11px; letter-spacing: 0.1em; }
  .hero { min-height: clamp(520px, 86vh, 760px); }
  .secao { padding: 72px 0; }
  .grade-docs { grid-template-columns: 1fr; margin-top: 40px; }
  .grade-docs a { flex-direction: row; justify-content: flex-start; padding: 22px 20px; gap: 16px; text-align: left; }
  .grade-docs img { width: 24px; }
  .doc-titulo { font-size: 20px; flex: 1; }
}

@media (max-width: 400px) {
  .topo .faixa { flex-direction: column; justify-content: center; gap: 10px; padding-top: 16px; }
  .marca { align-items: center; }
}
