/* ============================================================
   Conselho Fiscal · RK 2026
   Identidade PRÓPRIA, tirada dos nós 464:3 e 464:92 do Figma.
   Marinho, dourado e creme. NADA do verde/laranja da Chapa 02:
   são órgãos distintos e independentes, e a página não pode
   sugerir vínculo com a corrida a síndico.
   ============================================================ */
:root {
  --marinho: #0a2c5e;
  --marinho-medio: #2f5575;
  --marinho-claro: #8aa3bc;
  --texto: #1b3a63;
  --dourado: #c6912f;
  --papel: #f9f7f2;
  --caixa: #e7eef6;

  --fonte: "proxima-nova", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --e2: 0.5rem;
  --e3: 1rem;
  --e4: 1.5rem;
  --e5: 2rem;
  --e6: 3rem;
  --e7: 4.5rem;
  --largura: 46rem;
  --raio: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--fonte);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--papel);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--dourado);
  outline-offset: 3px;
}
.oculto-visual {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.envelope {
  width: min(100% - 2.5rem, var(--largura));
  margin-inline: auto;
}

/* ---------- Topo ---------- */
.topo-f {
  position: relative;
  padding-block: var(--e5) 0;
  overflow: hidden;
}
.topo-f__ornamento {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(64px, 16vw, 120px);
  pointer-events: none;
}
.voltar {
  display: inline-flex;
  align-items: center;
  gap: var(--e2);
  min-height: 44px;
  padding: 0 0.875rem;
  border: 1.5px solid rgba(10, 44, 94, 0.3);
  border-radius: 999px;
  color: var(--marinho);
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 200ms, border-color 200ms;
}
.voltar:hover {
  background: var(--caixa);
  border-color: var(--dourado);
}
.voltar svg {
  width: 18px;
  height: 18px;
}

/* ---------- Cabeçalho da peça ---------- */
.cabecalho {
  text-align: center;
  padding-block: var(--e6) var(--e5);
}
.cabecalho__titulo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  margin: 0 0 var(--e3);
}
.cabecalho__titulo span {
  font-size: clamp(1.5rem, 6vw, 2.5rem);
  font-weight: 900;
  letter-spacing: 0.09em;
  color: var(--marinho);
  white-space: nowrap;
}
.cabecalho__titulo::before,
.cabecalho__titulo::after {
  content: "";
  height: 1.5px;
  width: clamp(1.5rem, 8vw, 3.5rem);
  background: var(--dourado);
  flex: none;
}
.cabecalho p {
  font-size: clamp(0.9375rem, 3.4vw, 1.0625rem);
  color: var(--texto);
  max-width: 42ch;
  margin-inline: auto;
}

/* ---------- Candidatos ---------- */
.candidatos {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--e5);
}
.cf {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--e4);
  align-items: start;
}
.cf__retrato {
  position: relative;
  width: 96px;
}
.cf__retrato img {
  width: 100%;
  border-radius: 7px;
  position: relative;
  z-index: 1;
}
/* moldura dourada deslocada, como na peça impressa */
.cf__retrato::after {
  content: "";
  position: absolute;
  left: -9px;
  top: 9px;
  width: 100%;
  height: 100%;
  border: 1.2px solid var(--dourado);
  border-radius: 9px;
  z-index: 0;
}
.cf__nome {
  font-size: clamp(1.0625rem, 4vw, 1.25rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--marinho);
  margin: 0 0 0.4rem;
}
.cf__regua {
  width: 40px;
  height: 1.4px;
  background: var(--dourado);
  margin-bottom: 0.6rem;
}
.cf__bio {
  font-size: 1rem;
  line-height: 1.45;
  margin-bottom: 0.7rem;
}
.cf__frase {
  display: flex;
  gap: 0.6rem;
  margin: 0;
}
.cf__frase::before {
  content: "";
  width: 2px;
  background: var(--dourado);
  flex: none;
  border-radius: 1px;
}
.cf__frase q {
  font-size: 0.9375rem;
  font-style: italic;
  line-height: 1.38;
  color: var(--marinho);
  quotes: "\201C" "\201D";
}

/* ---------- Recomendação ---------- */
.recomendacao {
  background: var(--marinho);
  color: var(--papel);
  margin-top: var(--e7);
  padding-block: var(--e6);
  text-align: center;
}
.recomendacao__eyebrow {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #b9cbe0;
  margin-bottom: var(--e3);
}
.recomendacao h2 {
  font-size: clamp(1.5rem, 6vw, 2.25rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 auto var(--e3);
  max-width: 20ch;
  color: #fff;
}
.recomendacao__regua {
  width: 108px;
  height: 2px;
  background: var(--dourado);
  margin: 0 auto var(--e4);
}
.recomendacao__intro {
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  max-width: 34ch;
  margin: 0 auto var(--e5);
  color: #dbe5f0;
}
.recomendacao__rotulo {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: var(--e3);
  color: #dbe5f0;
}
.nomes {
  list-style: none;
  margin: 0 auto var(--e5);
  padding: 1.25rem 1.5rem;
  background: var(--caixa);
  border-radius: var(--raio);
  max-width: 30rem;
  display: grid;
  gap: 0.75rem;
}
.nomes li {
  font-size: clamp(1.125rem, 4.6vw, 1.5rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--marinho);
}
.nomes li + li {
  border-top: 1px solid rgba(198, 145, 47, 0.55);
  padding-top: 0.75rem;
}
.recomendacao__fecho {
  font-size: clamp(1.25rem, 5vw, 1.4375rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: var(--e2);
}
.recomendacao__chamada {
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  font-weight: 700;
  max-width: 32ch;
  margin: 0 auto var(--e5);
  color: #dbe5f0;
}
.regra {
  border: 1.2px solid var(--dourado);
  border-radius: var(--raio);
  padding: 1rem 1.25rem;
  max-width: 32rem;
  margin-inline: auto;
  font-size: 1rem;
  line-height: 1.4;
  color: #dbe5f0;
}
.regra b {
  color: #fff;
}
.regra p + p {
  margin-top: 0.5rem;
}

/* ---------- Rodapé ---------- */
.rodape-f {
  text-align: center;
  padding-block: var(--e5) var(--e6);
}
.rodape-f__regua {
  height: 1.2px;
  background: var(--dourado);
  margin-bottom: var(--e3);
}
.rodape-f p {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marinho);
}
.rodape-f small {
  display: block;
  margin-top: var(--e3);
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--texto);
  max-width: 46ch;
  margin-inline: auto;
}

/* ---------- Telas maiores ---------- */
@media (min-width: 40rem) {
  .cf {
    grid-template-columns: 120px 1fr;
    gap: var(--e5);
  }
  .cf__retrato {
    width: 120px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition-duration: 0.01ms !important;
  }
}
