/* PataCidadã — estilo do site institucional.
   Paleta espelhada de app/lib/core/theme/cores.dart. */
:root {
  --azul: #2563EB;
  --verde: #2BAA66;
  --laranja: #FF8A4C;
  --vermelho: #E5484D;
  --turquesa: #0D9488;
  --roxo: #7C3AED;
  --rosa: #DB2777;
  --fundo: #F5F7FA;
  --tinta: #1D2430;
  --cinza: #5B6472;
  --borda: #E4E8EE;
  --branco: #FFFFFF;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, sans-serif;
  background: var(--fundo);
  color: var(--tinta);
  line-height: 1.6;
}

.container { max-width: 1040px; margin: 0 auto; padding: 0 20px; }

/* ---------- Cabeçalho ---------- */
header {
  background: var(--branco);
  border-bottom: 1px solid var(--borda);
  position: sticky; top: 0; z-index: 10;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; gap: 16px;
}
.nav img { height: 34px; display: block; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--cinza); text-decoration: none; font-size: 14.5px; font-weight: 600;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--azul); }

/* ---------- Herói ---------- */
.hero { text-align: center; padding: 56px 0; }
.hero img.marca { height: 150px; max-width: 92%; object-fit: contain; }
.hero h1 {
  font-size: clamp(26px, 4.5vw, 40px); line-height: 1.25;
  margin: 26px auto 12px; max-width: 720px; text-wrap: balance;
}
.hero h1 .azul { color: var(--azul); }
.hero h1 .verde { color: var(--verde); }
.hero p.slogan {
  color: var(--cinza); font-size: clamp(16px, 2.4vw, 19px);
  max-width: 640px; margin: 0 auto;
}
.hero .breve {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 30px; padding: 10px 22px;
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: 999px; color: var(--cinza); font-size: 14.5px; font-weight: 600;
}
.hero .breve .ponto {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--verde); display: inline-block;
}

/* ---------- Funcionalidades ---------- */
.secao { padding: 46px 0; }
.secao h2 {
  font-size: clamp(21px, 3vw, 27px); text-align: center;
  margin-bottom: 8px; text-wrap: balance;
}
.secao p.sub {
  text-align: center; color: var(--cinza);
  max-width: 640px; margin: 0 auto 34px;
}
.cartoes {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.cartao {
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: 14px; padding: 22px;
  text-align: center;
}
.cartao .icone {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin: 0 auto 12px;
}
.cartao h3 { font-size: 16.5px; margin-bottom: 6px; }
.cartao p { color: var(--cinza); font-size: 14.5px; }
.fundo-laranja  { background: #FF8A4C22; }
.fundo-vermelho { background: #E5484D1E; }
.fundo-azul     { background: #2563EB1C; }
.fundo-verde    { background: #2BAA6620; }
.fundo-turquesa { background: #0D948820; }
.fundo-rosa     { background: #DB27771C; }

/* ---------- Telas do app ---------- */
.telas {
  display: grid; gap: 26px; justify-items: center;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.telas figure { text-align: center; }
.telas img {
  width: 100%; max-width: 250px; border-radius: 22px;
  border: 6px solid #1D2430;
  box-shadow: 0 12px 30px rgba(29, 36, 48, 0.18);
  display: block; margin: 0 auto;
}
.telas figcaption {
  margin-top: 12px; font-size: 13.5px; font-weight: 600; color: var(--cinza);
}

/* ---------- Faixa gestores (B2G) ---------- */
.gestores {
  background: var(--branco); border-top: 1px solid var(--borda);
  border-bottom: 1px solid var(--borda);
}
.gestores .grade {
  display: grid; gap: 34px; align-items: center; padding: 52px 0;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .gestores .grade { grid-template-columns: 1.2fr 1fr; } }
.gestores h2 { text-align: left; font-size: clamp(20px, 3vw, 26px); margin-bottom: 12px; }
.gestores p { color: var(--cinza); margin-bottom: 12px; }
.gestores ul { list-style: none; }
.gestores li {
  padding-left: 26px; position: relative; margin-bottom: 9px;
  color: var(--tinta); font-size: 15px;
}
.gestores li::before {
  content: "✓"; position: absolute; left: 0; color: var(--verde); font-weight: 700;
}
.selo-lgpd {
  background: #2BAA6614; border: 1px solid #2BAA6650;
  border-radius: 14px; padding: 24px;
}
.selo-lgpd strong { color: var(--verde); display: block; margin-bottom: 6px; }
.selo-lgpd p { font-size: 14.5px; }

/* ---------- Registro / confiança ---------- */
.confianca { text-align: center; }
.confianca .itens {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 22px;
}
.confianca .item {
  background: var(--branco); border: 1px solid var(--borda);
  border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; color: var(--cinza); font-weight: 600;
}

/* ---------- Rodapé ---------- */
footer {
  background: var(--tinta); color: #B9C2CE;
  padding: 40px 0 28px; margin-top: 40px; font-size: 14px;
}
footer .colunas {
  display: flex; flex-wrap: wrap; gap: 28px;
  justify-content: space-between; align-items: flex-start;
}
footer img { height: 30px; filter: brightness(0) invert(1); opacity: .9; }
footer a { color: #DDE4EC; text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; }
footer .linha-final {
  border-top: 1px solid #38404D; margin-top: 26px; padding-top: 16px;
  font-size: 12.5px; color: #8B95A3;
}
footer nav { display: flex; flex-direction: column; gap: 7px; }

/* ---------- Páginas de documento (termos/privacidade) ---------- */
.doc { background: var(--branco); border: 1px solid var(--borda);
  border-radius: 14px; padding: clamp(24px, 5vw, 48px); margin: 40px auto; max-width: 780px; }
.doc h1 { font-size: clamp(22px, 3.4vw, 30px); margin-bottom: 4px; text-wrap: balance; }
.doc .versao { color: var(--cinza); font-size: 13.5px; margin-bottom: 26px; }
.doc h2 { font-size: 18px; margin: 26px 0 8px; color: var(--azul); }
.doc p, .doc li { font-size: 15px; color: #333A45; margin-bottom: 10px; }
.doc ul { padding-left: 22px; }
.doc .aviso-rascunho {
  background: #FF8A4C1A; border: 1px solid #FF8A4C66; border-radius: 10px;
  padding: 12px 16px; font-size: 13.5px; color: #8A4B1F; margin-bottom: 24px;
}
