:root{
  --navy:#071b3a;
  --navy2:#0b1f6a;
  --bg:#ffffff;
  --panel:#f3f6fb;
  --line:#e6ebf2;
  --ink:#0f172a;
  --muted:#475569;
  --shadow: 0 10px 25px rgba(2,6,23,.08);
  --radius: 10px;
}

*{ box-sizing:border-box; }

body{
  margin:0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

.wrap{
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* Top nav */
.topnav{
  background: linear-gradient(90deg, var(--navy), var(--navy2));
  color:#fff;
}

.topnav__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 14px 0;
}

.brand__logo{
  width: 120px;
  height:auto;
  object-fit:contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,.15));
}

.menu{
  display:flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content:flex-end;
}

.menu a{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size: 12px;
  letter-spacing:.5px;
  opacity:.92;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}

.menu a:hover{ opacity:1; }
.menu a.active{
  opacity:1;
  border-bottom-color: #ffffff;
}

/* Page bar */
.pagebar{
  border-bottom: 1px solid var(--line);
  background:#fff;
}

.pagebar__title{
  padding: 18px 0;
  font-family: "Times New Roman", Times, serif;
  letter-spacing: 1.2px;
  font-size: 18px;
}

/* Content */
.content{
  padding: 28px 0 46px;
}

.headline{
  text-align:center;
  color: var(--navy2);
  font-family: "Times New Roman", Times, serif;
  font-size: 34px;
  margin: 18px 0 10px;
}

.text{
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink);
  line-height: 1.65;
  font-size: 14px;
}

.text p{
  margin: 14px 0;
}

/* Docs section */
.docs{
  margin: 30px auto 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
}

.docs h2{
  text-align:center;
  font-family: "Times New Roman", Times, serif;
  color: var(--navy2);
  margin: 0 0 10px;
}

.docs p{
  text-align:center;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 13px;
}

.cards{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 8px 0 18px;
}

@media (max-width: 980px){
  .cards{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .cards{ grid-template-columns: 1fr; }
}

.card{
  background:#fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 16px;
  text-decoration:none;
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(2,6,23,.06);
  text-align:center;
  transition: transform .12s ease, box-shadow .12s ease;
}

.card:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(2,6,23,.10);
}

.card__icon{
  font-size: 28px;
  margin-bottom: 10px;
}

.card__title{
  font-weight:800;
  color: var(--navy2);
  margin-bottom: 6px;
}

.card__sub{
  font-size: 12px;
  color: var(--muted);
}

/* CTA */
.cta{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius);
  background:#fff;
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}

.muted{
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

.btn{
  display:inline-block;
  padding: 10px 14px;
  background: var(--navy2);
  color:#fff;
  text-decoration:none;
  border-radius: 8px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .6px;
}

/* Footer */
.footer{
  background: var(--navy2);
  color:#fff;
  padding: 16px 0;
}

.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  font-size: 12px;
  opacity:.95;
}

.ethics{
  margin: 28px auto 0;
  background:#f3f6fb;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  padding: 24px 22px;
  box-shadow: 0 10px 25px rgba(2,6,23,.06);
}

.ethics h2{
  margin: 0 0 10px;
  text-align:center;
  color:#0b1f6a;
  font-family: "Times New Roman", Times, serif;
}

.ethics h3{
  margin: 18px 0 8px;
  color:#0b1f6a;
  font-size: 15px;
}

.ethics p, .ethics li{
  font-size: 14px;
  line-height: 1.65;
}

.ethics ul, .ethics ol{
  margin-left: 18px;
}

.ethics__alert{
  margin: 14px 0;
  padding: 12px 12px;
  background:#fff;
  border-left: 4px solid #0b1f6a;
  border-radius: 8px;
  font-size: 13px;
}

.ethics__closing{
  text-align:center;
  margin-top: 18px;
}

.ethics__cta{
  margin-top: 18px;
  padding: 14px 14px;
  background:#fff;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.ethics__muted{
  color:#475569;
  font-size: 12px;
  margin-top: 4px;
}

.ethics__btn{
  display:inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background:#0b1f6a;
  color:#fff;
  text-decoration:none;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .6px;
}


/* Acessibilidade: pular para conteúdo */
.skip-link{
  position:absolute;
  left:-9999px;
  top:10px;
  background:#fff;
  color:#0b1f6a;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid #e6ebf2;
  z-index:9999;
  text-decoration:none;
  font-weight:700;
}
.skip-link:focus{ left:12px; }

/* Melhorias de espaçamento no bloco ethics */
.ethics{
  margin-top: 22px;
}

.ethics__steps{
  padding-left: 18px;
}

.ethics__sublist{
  margin-top: 8px;
  margin-bottom: 0;
  padding-left: 18px;
}

.ethics__cta{
  margin-top: 18px;
}

/* Melhor “respiro” entre seções */
.docs{
  margin-top: 26px;
  
}


/* ===== Documentos / Cards (3 iguais) ===== */
.docs .cards{
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.docs .cards > .card{
  flex: 1 1 0;
  width: 0;          /* garante divisão perfeita */
}

@media (max-width: 900px){
  .docs .cards{ flex-direction: column; }
  .docs .cards > .card{ width: auto; }
}
