:root{--bg:#f5f7f8;--surface:#fff;--text:#17313b;--muted:#5d727b;--primary:#087e78;--primary-dark:#086861;--line:#dce5e8;--soft:#eaf5f3;--warning:#fff8e6;--shadow:0 18px 50px rgba(20,49,59,.09);--radius:20px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.55}.container{width:min(1120px,calc(100% - 36px));margin:0 auto}.narrow{width:min(880px,100%)}.topbar{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:10}.topbar-inner{display:flex;align-items:center;gap:12px;min-height:70px}.topbar-inner div:last-child{display:flex;flex-direction:column;line-height:1.2}.topbar-inner span{font-size:.84rem;color:var(--muted)}.brand-mark{width:38px;height:38px;border-radius:12px;background:var(--primary);color:#fff;display:grid;place-items:center;font-size:26px;font-weight:300}.hero{padding:72px 0 66px;background:linear-gradient(145deg,#f6fbfa 0%,#eef5f7 52%,#f8fbfb 100%);border-bottom:1px solid var(--line)}.hero-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:55px;align-items:center}.eyebrow{font-weight:800;letter-spacing:.12em;font-size:.76rem;color:var(--primary);margin:0 0 10px}.hero h1{font-size:clamp(2.35rem,5vw,4.4rem);line-height:1.03;letter-spacing:0;margin:0 0 24px;max-width:800px}.lead{font-size:1.14rem;color:var(--muted);max-width:760px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:28px}.btn{appearance:none;border:0;border-radius:12px;padding:13px 18px;font-weight:750;font-size:.96rem;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:.18s}.btn-primary{background:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-dark)}.btn-secondary{background:#fff;color:var(--text);border:1px solid var(--line)}.btn:disabled{opacity:.5;cursor:not-allowed}.micro,.hint{font-size:.88rem;color:var(--muted)}.hero-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:30px;box-shadow:var(--shadow)}.hero-icon{width:64px;height:64px;border-radius:19px;background:var(--soft);display:grid;place-items:center;font-weight:900;color:var(--primary);font-size:1.7rem}.hero-card h2{font-size:1.45rem;margin:20px 0 8px}.hero-card p{color:var(--muted)}.region-tags{display:flex;flex-wrap:wrap;gap:7px;margin-top:18px}.region-tags span{background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:5px 9px;font-size:.75rem}.section{padding:70px 0}.section h2{font-size:clamp(1.8rem,3vw,2.6rem);letter-spacing:0;margin:0 0 14px}.section p{color:var(--muted)}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px}.info-grid article{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px;display:flex;flex-direction:column;gap:6px}.info-grid span{color:var(--muted);font-size:.94rem}.survey-section{background:#edf2f4}.survey-shell{max-width:820px;background:#fff;border:1px solid var(--line);border-radius:28px;padding:34px;box-shadow:var(--shadow)}.survey-heading h2{margin-bottom:3px}.survey-heading p{margin-top:0}.progress-wrap{margin:25px 0 32px}.progress-label{display:flex;justify-content:space-between;font-size:.8rem;color:var(--muted);margin-bottom:7px}.progress{height:7px;background:#e9eff1;border-radius:999px;overflow:hidden}.progress div{height:100%;width:11%;background:var(--primary);transition:width .25s}.step{display:none}.step.active{display:block;animation:fade .22s ease}@keyframes fade{from{opacity:.3;transform:translateY(3px)}to{opacity:1;transform:none}}.step h3{font-size:1.55rem;line-height:1.25;margin:22px 0 18px;letter-spacing:0;border-radius:13px;padding:13px 15px;display:flex;gap:7px;flex-direction:column;font-size:.88rem;color:#365b5b}.why strong{color:var(--primary-dark)}.options{display:grid;gap:10px}.options label{display:flex;align-items:flex-start;gap:12px;border:1px solid var(--line);border-radius:14px;padding:14px 15px;cursor:pointer;background:#fff}.options label:hover{border-color:#9bc9c5}.options label:has(input:checked){border-color:var(--primary);background:#f0faf8;box-shadow:0 0 0 1px var(--primary) inset}.options input{margin-top:3px;accent-color:var(--primary);width:18px;height:18px;flex:0 0 auto}.options span{display:flex;flex-direction:column}.options small{color:var(--muted);margin-top:3px}.field{display:flex;flex-direction:column;gap:7px;font-weight:700;font-size:.9rem}.field em{font-weight:500;color:var(--muted)}input[type=text],input[type=email],input[type=tel],textarea{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 13px;font:inherit;color:var(--text);background:#fff}textarea{resize:vertical}.identity-box{margin-top:24px;padding:20px;border:1px solid var(--line);border-radius:16px;background:#fafcfc}.identity-box h4{margin:0 0 4px}.identity-box p{font-size:.88rem;margin-top:0}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.field-grid .full{grid-column:1/-1}.privacy-check{display:flex;align-items:flex-start;gap:10px;font-size:.82rem;color:var(--muted);margin-top:18px}.privacy-check input{margin-top:3px;accent-color:var(--primary)}.form-actions{display:flex;justify-content:space-between;gap:12px;margin-top:28px;padding-top:22px;border-top:1px solid var(--line)}#submitBtn{display:none;margin-left:auto}.form-error{color:#a63e31;font-weight:700;font-size:.88rem;min-height:1.4em;margin-top:12px}.honeypot{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important}.success{text-align:center;padding:44px 10px}.success-icon{width:66px;height:66px;border-radius:50%;background:var(--soft);color:var(--primary);font-size:2rem;display:grid;place-items:center;margin:0 auto 18px;font-weight:900}.success h3{font-size:1.7rem;margin:0 0 8px}footer{background:#17313b;color:#fff;padding:28px 0}.footer-inner{display:flex;justify-content:space-between;gap:20px;align-items:center}.footer-inner>div{display:flex;flex-direction:column}.footer-inner span{font-size:.8rem;color:#b9c9ce}.footer-inner a{color:#d8eeee;font-size:.82rem}.admin-wrap{width:min(1100px,calc(100% - 36px));margin:40px auto}.admin-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.stat{background:#fff;border:1px solid var(--line);border-radius:16px;padding:18px}.stat strong{display:block;font-size:1.7rem}.panel{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;margin-top:16px;overflow:auto}.panel h2{margin-top:0}.result-row{display:grid;grid-template-columns:minmax(160px,1.5fr) 3fr 70px;gap:12px;align-items:center;margin:10px 0;font-size:.88rem}.bar{height:9px;background:#e8eef0;border-radius:999px;overflow:hidden}.bar i{display:block;height:100%;background:var(--primary)}table{width:100%;border-collapse:collapse;font-size:.84rem}th,td{text-align:left;padding:10px;border-bottom:1px solid var(--line);vertical-align:top}.login-card{width:min(430px,calc(100% - 36px));margin:80px auto;background:#fff;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:var(--shadow)}.login-card h1{margin-top:0}.admin-actions{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.notice{background:var(--warning);border:1px solid #f0dfad;border-radius:12px;padding:12px 14px;font-size:.88rem}.badge{display:inline-block;background:var(--soft);color:var(--primary-dark);border-radius:999px;padding:4px 8px;font-size:.75rem;font-weight:700}@media(max-width:780px){.hero{padding-top:46px}.hero-grid{grid-template-columns:1fr;gap:28px}.hero-card{padding:22px}.info-grid{grid-template-columns:1fr}.survey-shell{width:calc(100% - 20px);padding:22px;border-radius:20px}.field-grid{grid-template-columns:1fr}.hero-actions .btn{width:100%}.form-actions{flex-wrap:wrap}.form-actions .btn{flex:1}.admin-grid{grid-template-columns:1fr 1fr}.result-row{grid-template-columns:1fr 60px}.result-row .bar{grid-column:1/-1;grid-row:2}.footer-inner{align-items:flex-start;flex-direction:column}}@media(max-width:460px){.container{width:min(100% - 24px,1120px)}.hero h1{font-size:2.35rem}.survey-shell{width:calc(100% - 14px)}.admin-grid{grid-template-columns:1fr}.step h3{font-size:1.35rem}}

/* === V3 HEADER ORIGINAL === */

.v3-demo{
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  background:#fff3c9;
  border-bottom:1px solid #e6cd72;
  color:#765400;
  font-size:12px;
  font-weight:800;
  text-align:center;
}

.v3-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(8,59,114,.08);
}

.v3-headin{
  max-width:1260px;
  height:100px;
  margin:auto;
  padding:0 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}

.v3-brand{
  position:relative;
  display:block;
  width:260px;
  height:96px;
  min-width:260px;
  overflow:hidden;
}

.v3-brand img{
  position:absolute;
  display:block;
  width:250px;
  height:auto;
  max-height:none;
  left:0;
  top:-70px;
}

.v3-nav{
  display:flex;
  align-items:center;
  gap:22px;
  font-size:.87rem;
  font-weight:800;
}

.v3-nav a{
  color:#284867;
  text-decoration:none;
}

.v3-nav a:hover{
  color:#278f48;
}

.v3-tools{
  display:flex;
  align-items:center;
  gap:7px;
}

.v3-tool{
  height:38px;
  min-width:38px;
  padding:0 10px;
  border:1px solid #d9e4eb;
  border-radius:999px;
  background:#fff;
  color:#083b72;
  font-weight:900;
  cursor:pointer;
}

.v3-cta{
  border:0;
  border-radius:12px;
  background:#278f48;
  color:#fff;
  padding:11px 15px;
  font-weight:900;
  cursor:pointer;
}

@media(max-width:850px){
  .v3-nav{display:none}

  .v3-headin{
    height:66px;
    padding:0 13px;
  }

  .v3-brand{
    min-width:0;
    flex:1;
  }

  .v3-brand img{
    width:165px;
    max-height:50px;
  }

  .v3-tool{
    display:none;
  }

  .v3-cta{
    padding:9px 12px;
  }

  .v3-demo{
    font-size:10px;
    height:32px;
  }
}

/* === FIM V3 HEADER ORIGINAL === */



/* === COMPOSICAO INSTITUCIONAL FINAL INICIO === */

.modelo-demo{
  height:34px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  background:#fff4d2;
  border-bottom:1px solid #ead681;
  color:#765600;
  font-size:11px;
  font-weight:800;
  letter-spacing:.01em;
  text-align:center;
}

/* CABEÇALHO */

.modelo-header{
  background:#fff;
  border-bottom:1px solid #e4ebf0;
}

.modelo-headin{
  width:min(1180px,calc(100% - 48px));
  height:88px;
  margin:0 auto;
  display:grid;
  grid-template-columns:295px 1fr auto;
  align-items:center;
  gap:30px;
}

.modelo-brand{
  width:295px;
  height:76px;
  display:flex;
  align-items:center;
}

.modelo-brand img{
  display:block;
  width:282px;
  height:76px;
  max-width:none;
  max-height:none;
  object-fit:contain;
  object-position:left center;
}

.modelo-nav{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:28px;
}

.modelo-nav a{
  color:#274966;
  text-decoration:none;
  font-size:14px;
  font-weight:750;
}

.modelo-nav a:hover{
  color:#278f48;
}

.modelo-tools{
  display:flex;
  align-items:center;
  gap:8px;
}

.modelo-tools > button:not(.modelo-participar){
  width:38px;
  height:38px;
  padding:0;
  border:1px solid #d8e2e9;
  border-radius:50%;
  background:#fff;
  color:#073b73;
  font-size:13px;
  font-weight:850;
}

.modelo-participar{
  height:44px;
  padding:0 18px;
  border:0;
  border-radius:11px;
  background:#278f48;
  color:#fff;
  font-size:14px;
  font-weight:850;
}

/* PRIMEIRA DOBRA */

.modelo-hero{
  position:relative;
  overflow:hidden;
  background:
    linear-gradient(
      118deg,
      #ffffff 0%,
      #fbfdfe 48%,
      #e7f3f8 100%
    );
}

.modelo-hero:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:6px;
  background:linear-gradient(
    90deg,
    #278f48,
    #129bd1 52%,
    #efc632
  );
}

.modelo-hero-in{
  width:min(1180px,calc(100% - 48px));
  min-height:510px;
  margin:0 auto;
  padding:52px 0 62px;
  display:grid;
  grid-template-columns:minmax(0,1.08fr) minmax(420px,.92fr);
  align-items:center;
  gap:54px;
}

/* TEXTO */

.modelo-copy{
  max-width:610px;
}

.modelo-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:7px 12px;
  border-radius:999px;
  background:#e8f6ed;
  color:#1e7d3d;
  font-size:12px;
  font-weight:850;
  letter-spacing:.025em;
}

.modelo-eyebrow:before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:#278f48;
}

.modelo-copy h1{
  max-width:600px;
  margin:18px 0 17px;
  color:#083b72;
  font-size:clamp(48px,4.1vw,62px);
  line-height:1;
  letter-spacing:0;
  font-weight:900;
}

.modelo-copy h1 span{
  display:block;
  color:#278f48;
}

.modelo-lead{
  max-width:600px;
  margin:0;
  color:#465f74;
  font-size:17px;
  line-height:1.55;
}

.modelo-actions{
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:25px;
  flex-wrap:wrap;
}

.modelo-primary,
.modelo-secondary{
  min-height:50px;
  padding:0 19px;
  border-radius:13px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:14px;
  font-weight:850;
  text-decoration:none;
}

.modelo-primary{
  border:0;
  background:#278f48;
  color:#fff;
  box-shadow:0 10px 24px rgba(39,143,72,.18);
}

.modelo-secondary{
  border:1px solid #b9cad7;
  background:#fff;
  color:#083b72;
}

.modelo-trust{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  color:#586f82;
  font-size:12px;
  font-weight:700;
}

.modelo-trust span:before{
  content:"✓";
  margin-right:5px;
  color:#278f48;
  font-weight:900;
}

/* FOTO */

.modelo-visual{
  position:relative;
  width:100%;
  max-width:500px;
  justify-self:end;
}

.modelo-visual > img{
  display:block;
  width:100%;
  aspect-ratio:16 / 9;
  object-fit:cover;
  border:5px solid rgba(255,255,255,.92);
  border-radius:24px;
  box-shadow:0 22px 48px rgba(8,55,102,.18);
}

/* TARJA CONCEITUAL */

.modelo-concept{
  position:absolute;
  left:15px;
  bottom:15px;
  width:auto;
  max-width:270px;
  padding:8px 10px;
  border-radius:10px;
  background:rgba(5,42,82,.88);
  color:#fff;
  backdrop-filter:blur(7px);
}

.modelo-concept strong{
  display:block;
  margin:0 0 2px;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.015em;
}

.modelo-concept span{
  display:block;
  font-size:9px;
  line-height:1.3;
  opacity:.92;
}

/* RESPONSIVO */

@media(max-width:950px){

  .modelo-headin{
    grid-template-columns:220px 1fr auto;
  }

  .modelo-brand{
    width:220px;
  }

  .modelo-brand img{
    width:205px;
  }

  .modelo-nav{
    display:none;
  }

  .modelo-hero-in{
    grid-template-columns:1fr;
    min-height:auto;
    gap:34px;
  }

  .modelo-copy{
    max-width:680px;
  }

  .modelo-visual{
    max-width:620px;
    justify-self:start;
  }
}

@media(max-width:680px){

  .modelo-demo{
    height:30px;
    font-size:9px;
  }

  .modelo-headin{
    width:calc(100% - 28px);
    height:72px;
    grid-template-columns:1fr auto;
    gap:12px;
  }

  .modelo-brand{
    width:auto;
    height:58px;
  }

  .modelo-brand img{
    width:180px;
    height:56px;
  }

  .modelo-tools > button:not(.modelo-participar){
    display:none;
  }

  .modelo-participar{
    height:40px;
    padding:0 13px;
  }

  .modelo-hero-in{
    width:calc(100% - 34px);
    padding:36px 0 48px;
  }

  .modelo-copy h1{
    font-size:42px;
  }

  .modelo-lead{
    font-size:16px;
  }

  .modelo-visual{
    max-width:100%;
  }

  .modelo-concept{
    max-width:235px;
  }
}

/* === COMPOSICAO INSTITUCIONAL FINAL FIM === */



/* === QUESTIONARIO FULLSCREEN INICIO === */

/*
 * O questionário não fica misturado à página.
 * Só aparece quando o usuário decide participar.
 */
#consulta{
  display:none;
}

/* bloqueia a página de fundo */
body.questionario-aberto{
  overflow:hidden;
}

/* tela exclusiva do questionário */
body.questionario-aberto #consulta{
  display:block;
  position:fixed;
  inset:0;
  z-index:10000;

  width:100%;
  height:100vh;
  height:100dvh;

  padding:0;

  background:
    linear-gradient(
      145deg,
      #f8fcfd 0%,
      #ffffff 45%,
      #eef7fa 100%
    );

  overflow:hidden;
}

/* coluna central */
body.questionario-aberto #consulta .survey-shell{
  position:relative;

  width:min(820px,100%);
  height:100vh;
  height:100dvh;

  margin:0 auto;
  padding:28px 32px 0;

  display:flex;
  flex-direction:column;
}

/* cabeçalho do questionário */
body.questionario-aberto .survey-heading{
  flex:0 0 auto;

  padding-right:55px;
  margin-bottom:18px;
}

body.questionario-aberto .survey-heading .eyebrow{
  margin-bottom:7px;
}

body.questionario-aberto .survey-heading h2{
  margin:0 0 4px;
  font-size:28px;
  line-height:1.15;
}

body.questionario-aberto .survey-heading p:last-child{
  margin:0;
  font-size:14px;
  color:#667b8c;
}

/* progresso */
body.questionario-aberto .progress-wrap{
  flex:0 0 auto;
  margin-bottom:8px;
}

/* formulário ocupa o restante da tela */
body.questionario-aberto #consultaForm{
  flex:1 1 auto;
  min-height:0;

  display:flex;
  flex-direction:column;
}

/* apenas a etapa atual */
body.questionario-aberto #consultaForm .step{
  display:none !important;
}

body.questionario-aberto #consultaForm .step.active{
  display:block !important;

  flex:1 1 auto;
  min-height:0;

  overflow-y:auto;
  overscroll-behavior:contain;

  padding:22px 4px 30px;

  scrollbar-width:thin;
}

/* pergunta */
body.questionario-aberto #consultaForm .step h3{
  max-width:740px;

  margin:18px 0 22px;

  color:#123c54;

  font-size:clamp(25px,2.5vw,34px);
  line-height:1.2;
  letter-spacing:0;
}

/* caixa explicativa */
body.questionario-aberto #consultaForm .why{
  max-width:740px;
}

/* opções */
body.questionario-aberto #consultaForm .options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}

body.questionario-aberto #consultaForm .options label{
  min-height:56px;
}

/* botões sempre no mesmo lugar */
body.questionario-aberto #consultaForm .form-actions{
  flex:0 0 auto;

  width:100%;

  margin:0;
  padding:15px 0 20px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;

  border-top:1px solid #e0e9ee;

  background:rgba(255,255,255,.96);

  backdrop-filter:blur(10px);
}

/* botão fechar */
.questionario-fechar{
  position:absolute;
  z-index:5;

  top:24px;
  right:30px;

  width:42px;
  height:42px;

  display:flex;
  align-items:center;
  justify-content:center;

  border:1px solid #d7e3e9;
  border-radius:50%;

  background:#fff;
  color:#123c54;

  font-size:27px;
  line-height:1;

  cursor:pointer;
}

/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:700px){

  body.questionario-aberto #consulta .survey-shell{
    width:100%;
    padding:18px 16px 0;
  }

  body.questionario-aberto .survey-heading{
    padding-right:48px;
    margin-bottom:14px;
  }

  body.questionario-aberto .survey-heading h2{
    font-size:22px;
  }

  body.questionario-aberto .survey-heading p:last-child{
    font-size:13px;
  }

  .questionario-fechar{
    top:15px;
    right:14px;

    width:38px;
    height:38px;

    font-size:24px;
  }

  body.questionario-aberto #consultaForm .step.active{
    padding:17px 0 24px;
  }

  body.questionario-aberto #consultaForm .step h3{
    margin:14px 0 18px;

    font-size:24px;
    line-height:1.22;
  }

  /*
   * No celular: sempre uma opção por linha.
   * Área de toque confortável.
   */
  body.questionario-aberto #consultaForm .options{
    grid-template-columns:1fr;
    gap:9px;
  }

  body.questionario-aberto #consultaForm .options label{
    width:100%;
    min-height:54px;
  }

  body.questionario-aberto #consultaForm .field-grid{
    grid-template-columns:1fr;
  }

  body.questionario-aberto #consultaForm textarea,
  body.questionario-aberto #consultaForm input[type="text"],
  body.questionario-aberto #consultaForm input[type="email"],
  body.questionario-aberto #consultaForm input[type="tel"]{
    width:100%;
    font-size:16px;
  }

  body.questionario-aberto #consultaForm .form-actions{
    margin:0 -16px;
    width:calc(100% + 32px);

    padding:
      11px
      16px
      calc(11px + env(safe-area-inset-bottom));
  }

  body.questionario-aberto #consultaForm .form-actions .btn{
    min-height:50px;
  }
}

/* === QUESTIONARIO FULLSCREEN FIM === */



/* === PROJETO REVISADO INICIO === */

.projeto-novo{
  background:#f7f9fa;
}

.projeto-abertura{
  max-width:820px;
  margin-bottom:34px;
}

.projeto-abertura h2{
  max-width:760px;
  margin:8px 0 18px;
  color:#083b72;
  font-size:clamp(34px,3.8vw,48px);
  line-height:1.08;
  letter-spacing:0;
}

.projeto-abertura p{
  max-width:790px;
  margin:0 0 12px;
  color:#506779;
  font-size:16.5px;
  line-height:1.62;
}

.projeto-abertura .projeto-intro{
  font-size:18px;
  color:#334f63;
}

.projeto-historias{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.projeto-historia{
  padding:29px;
  border:1px solid #dce6eb;
  border-radius:22px;
  background:#fff;
  box-shadow:0 8px 28px rgba(20,55,75,.04);
}

.projeto-tag{
  display:inline-block;
  margin-bottom:15px;
  padding:6px 10px;
  border-radius:999px;
  background:#e5f4ed;
  color:#147147;
  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}

.projeto-historia h3{
  margin:0 0 17px;
  color:#123c54;
  font-size:24px;
  line-height:1.2;
}

.projeto-historia p{
  margin:0 0 14px;
  color:#536b7c;
  font-size:15.5px;
  line-height:1.58;
}

.projeto-historia .projeto-chamada{
  margin-top:20px;
  padding:15px 17px;
  border-left:4px solid #19965d;
  border-radius:0 12px 12px 0;
  background:#f1f8f5;
  color:#083b72;
  font-weight:800;
}

.projeto-destaque-final{
  margin:24px 0 46px;
  padding:23px 27px;
  border-radius:18px;
  background:linear-gradient(110deg,#083b72,#0b5a8d);
  color:#fff;
}

.projeto-destaque-final strong,
.projeto-destaque-final span{
  display:block;
}

.projeto-destaque-final strong{
  margin-bottom:4px;
  font-size:21px;
}

.projeto-destaque-final span{
  font-size:17px;
  opacity:.92;
}

.projeto-ouvir{
  padding-top:4px;
}

.projeto-ouvir h3{
  margin:7px 0 22px;
  color:#083b72;
  font-size:28px;
}

@media(max-width:760px){

  .projeto-abertura h2{
    font-size:34px;
  }

  .projeto-abertura .projeto-intro{
    font-size:17px;
  }

  .projeto-historias{
    grid-template-columns:1fr;
    gap:15px;
  }

  .projeto-historia{
    padding:22px 20px;
    border-radius:18px;
  }

  .projeto-historia h3{
    font-size:22px;
  }

  .projeto-historia p{
    font-size:15.5px;
  }

  .projeto-destaque-final{
    margin:20px 0 38px;
    padding:20px;
  }

  .projeto-destaque-final strong{
    font-size:19px;
  }

  .projeto-destaque-final span{
    font-size:15.5px;
  }
}

/* === PROJETO REVISADO FIM === */



/* === NAVEGACAO CINCO PAGINAS INICIO === */

/* Cabeçalho sem menu textual */
.modelo-headin{
  grid-template-columns:1fr auto !important;
}

.modelo-nav{
  display:none !important;
}

/* Cinco botões principais */
.portal-nav{
  width:min(1180px,calc(100% - 48px));
  margin:24px auto 0;

  display:grid;
  grid-template-columns:repeat(4,1fr) 1.35fr;
  gap:11px;
}

.portal-nav-hero{
  width:100%;
  max-width:620px;
  margin:27px 0 0;
}

.portal-btn{
  min-height:52px;

  display:flex;
  align-items:center;
  justify-content:center;

  padding:0 18px;
  text-align:center;
  line-height:1.15;

  border:1px solid #b8cad6;
  border-radius:12px;

  background:#fff;
  color:#083b72;

  font-weight:850;
  font-size:14px;

  text-decoration:none;

  transition:
    transform .15s ease,
    box-shadow .15s ease,
    border-color .15s ease;
}

.portal-btn:hover{
  transform:translateY(-1px);
  border-color:#7fa5bb;
  box-shadow:0 7px 18px rgba(8,59,114,.08);
}

.portal-btn.is-active{
  border-color:#083b72;
  background:#edf4f8;
}

.portal-btn-consulta{
  min-height:58px;

  background:#16945c;
  border-color:#16945c;

  color:#fff;

  font-size:15px;
  font-weight:900;

  box-shadow:0 10px 24px rgba(22,148,92,.18);
}

.portal-btn-consulta span{
  margin-left:8px;
  font-size:18px;
}

.portal-btn-consulta:hover{
  border-color:#127c4d;
  background:#127c4d;
}

/* Páginas internas */
.pagina-interna{
  min-height:65vh;
}

.pagina-conteudo{
  padding-top:58px;
}

.pagina-conteudo h1{
  max-width:820px;
  margin:7px 0 20px;

  color:#083b72;

  font-size:clamp(34px,4vw,50px);
  line-height:1.07;
  letter-spacing:0;
}

.pagina-lead{
  max-width:800px;
  margin-bottom:34px;

  color:#465f74;

  font-size:18px;
  line-height:1.6;
}

.pagina-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}

.pagina-card{
  padding:29px;

  border:1px solid #dfe8ed;
  border-radius:20px;

  background:#fff;
}

.pagina-card h2{
  margin:10px 0 17px;

  color:#123c54;

  font-size:24px;
  line-height:1.2;
}

.pagina-card p{
  color:#52697b;
  line-height:1.58;
}

.pagina-tag{
  display:inline-block;

  padding:6px 10px;

  border-radius:999px;

  background:#e6f5ed;
  color:#147147;

  font-size:10px;
  font-weight:900;
  letter-spacing:.08em;
}

.pagina-enfase{
  margin-top:19px !important;
  padding:15px 16px;

  border-left:4px solid #16945c;

  background:#f1f8f5;

  color:#083b72 !important;
  font-weight:800;
}

.pagina-frase{
  margin-top:24px;
  padding:24px 27px;

  border-radius:18px;

  background:linear-gradient(110deg,#083b72,#0b5a8d);
  color:#fff;
}

.pagina-frase strong,
.pagina-frase span{
  display:block;
}

.pagina-frase strong{
  margin-bottom:4px;
  font-size:21px;
}

.pagina-frase span{
  font-size:17px;
}

/* Como funciona */
.passos-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.passos-grid article{
  padding:26px;

  border:1px solid #dfe8ed;
  border-radius:18px;

  background:#fff;
}

.passos-grid article > span{
  color:#16945c;

  font-size:13px;
  font-weight:900;
}

.passos-grid h2{
  margin:12px 0 9px;

  color:#123c54;

  font-size:20px;
}

.passos-grid p{
  color:#52697b;
  line-height:1.55;
}

/* Dúvidas */
.faq-lista{
  display:grid;
  gap:12px;
  max-width:850px;
}

.faq-lista details{
  padding:19px 21px;

  border:1px solid #dfe8ed;
  border-radius:14px;

  background:#fff;
}

.faq-lista summary{
  color:#123c54;

  cursor:pointer;

  font-size:16px;
  font-weight:850;
}

.faq-lista p{
  margin:13px 0 0;

  color:#52697b;

  line-height:1.55;
}

/* Consulta dedicada */
.pagina-consulta .survey-section{
  padding-top:50px;
}

/* Mobile */
@media(max-width:760px){

  .portal-nav{
    width:calc(100% - 28px);

    grid-template-columns:1fr 1fr;

    gap:8px;

    margin-top:14px;
  }

  .portal-nav-hero{
    width:100%;
    grid-template-columns:1fr 1fr;
  }

  .portal-btn{
    min-height:48px;
    padding:0 10px;
    font-size:13px;
  }

  .portal-btn-consulta{
    grid-column:1 / -1;

    min-height:56px;

    font-size:15px;
  }

  .pagina-conteudo{
    padding-top:38px;
  }

  .pagina-conteudo h1{
    font-size:34px;
  }

  .pagina-lead{
    font-size:16.5px;
  }

  .pagina-grid,
  .passos-grid{
    grid-template-columns:1fr;
  }

  .pagina-card{
    padding:22px 20px;
  }

}

/* === NAVEGACAO CINCO PAGINAS FIM === */

/* === MENU SUPERIOR FINAL INICIO === */

/*
 * Menu principal da consulta pública.
 * Fica imediatamente abaixo do cabeçalho e permanece
 * visível durante a navegação.
 */

.portal-nav.portal-nav-top{
  position:sticky;
  top:0;
  z-index:90;

  width:100%;
  max-width:none;

  margin:0;
  padding:10px max(24px,calc((100vw - 1180px) / 2));

  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr)) minmax(0,1.35fr);
  gap:10px;

  background:rgba(255,255,255,.97);
  border-bottom:1px solid #dfe8ed;
  box-shadow:0 6px 18px rgba(8,59,114,.06);

  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
}

.portal-nav-top .portal-btn{
  min-height:46px;
  margin:0;

  border-radius:10px;

  font-size:14px;
}

.portal-nav-top .portal-btn.is-active:not(.portal-btn-consulta){
  border-color:#083b72;
  background:#edf4f8;
  color:#083b72;
  box-shadow:inset 0 -3px 0 #083b72;
}

.portal-nav-top .portal-btn-consulta{
  min-height:46px;
}

.portal-nav-top .portal-btn-consulta.is-active{
  background:#127c4d;
  border-color:#127c4d;
  box-shadow:inset 0 -3px 0 rgba(255,255,255,.55);
}

/* A página começa logo abaixo do menu */
.pagina-conteudo{
  padding-top:42px;
}

.pagina-consulta .survey-section{
  padding-top:32px;
}


/* MOBILE */

@media(max-width:900px) and (min-width:761px){
  .portal-nav.portal-nav-top{
    padding:8px 14px;
    gap:7px;
  }

  .portal-nav-top .portal-btn{
    min-height:44px;
    padding:0 8px;
    font-size:13px;
  }
}

@media(max-width:760px){

  .portal-nav.portal-nav-top{
    width:100%;
    margin:0;

    padding:8px 10px;

    grid-template-columns:1fr 1fr;
    gap:7px;
  }

  .portal-nav-top .portal-btn{
    min-height:43px;
    padding:0 7px;
    font-size:12.5px;
  }

  .portal-nav-top .portal-btn-consulta{
    grid-column:1/-1;
    min-height:43px;
  }

}

/* === MENU SUPERIOR FINAL FIM === */

.login-card .field + .field{
  margin-top:12px;
}

input[type=password]{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 13px;
  font:inherit;
  color:var(--text);
  background:#fff;
}

/* === AJUSTES DE VIDA, ACESSIBILIDADE E CONSULTA INICIO === */

.modelo-headin{
  min-height:96px;
}

.modelo-brand{
  width:330px;
  height:86px;
}

.modelo-brand img{
  width:318px;
  height:86px;
}

.modelo-brand img,
.modelo-visual > img,
.portal-btn,
.btn,
.modelo-tools > button,
.pagina-card,
.passos-grid article,
.faq-lista details,
.options label{
  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease,
    background-color .18s ease,
    filter .18s ease;
}

.modelo-brand:hover img{
  transform:scale(1.025);
  filter:saturate(1.04);
}

.modelo-tools > button:not(.modelo-participar){
  display:inline-grid;
  place-items:center;
}

.modelo-tools > button:hover{
  transform:translateY(-2px);
  border-color:#9bb9c9;
  background:#f7fbfd;
  box-shadow:0 8px 18px rgba(8,59,114,.09);
}

.modelo-tools > button:active,
.portal-btn:active,
.btn:active{
  transform:translateY(0) scale(.98);
}

.btn:hover{
  transform:translateY(-1px);
}

.modelo-primary:hover,
.btn-primary:hover,
.portal-btn-consulta:hover{
  box-shadow:0 14px 26px rgba(22,148,92,.22);
}

.modelo-visual:hover > img{
  transform:translateY(-3px);
  box-shadow:0 28px 58px rgba(8,55,102,.22);
}

.pagina-card:hover,
.passos-grid article:hover,
.faq-lista details:hover{
  transform:translateY(-3px);
  border-color:#c8d8df;
  box-shadow:0 12px 28px rgba(20,55,75,.07);
}

.options label:hover{
  transform:translateY(-1px);
}

body:not(.pagina-consulta-body) .modelo-copy,
body:not(.pagina-consulta-body) .modelo-visual,
.pagina-conteudo > .container{
  animation:entrada-suave .42s ease both;
}

body:not(.pagina-consulta-body) .modelo-visual{
  animation-delay:.08s;
}

@keyframes entrada-suave{
  from{
    opacity:.01;
    transform:translateY(8px);
  }
  to{
    opacity:1;
    transform:none;
  }
}

.consulta-voltar{
  position:absolute;
  top:22px;
  right:30px;
  z-index:7;
  min-height:40px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border:1px solid #cfe0e8;
  border-radius:999px;
  background:#fff;
  color:#083b72;
  font-size:13px;
  font-weight:850;
  text-decoration:none;
  box-shadow:0 8px 18px rgba(8,59,114,.07);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.consulta-voltar:hover{
  transform:translateY(-2px);
  border-color:#9bb9c9;
  box-shadow:0 12px 22px rgba(8,59,114,.11);
}

body.questionario-aberto .survey-heading{
  padding-right:180px;
}

.success-actions{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-top:20px;
}

body.contraste-ativo{
  --bg:#071924;
  --surface:#0f2a38;
  --text:#f6fbff;
  --muted:#c6d6df;
  --line:#345767;
  --primary:#5de0a0;
  --primary-dark:#42c787;
  --soft:#143d32;
  background:#071924;
  color:#f6fbff;
}

body.contraste-ativo .modelo-header,
body.contraste-ativo .portal-nav,
body.contraste-ativo .portal-btn,
body.contraste-ativo .survey-shell,
body.contraste-ativo .pagina-card,
body.contraste-ativo .passos-grid article,
body.contraste-ativo .faq-lista details,
body.contraste-ativo .options label,
body.contraste-ativo .login-card,
body.contraste-ativo .panel,
body.contraste-ativo .stat{
  background:#0f2a38;
  color:#f6fbff;
  border-color:#345767;
}

body.contraste-ativo .modelo-hero,
body.contraste-ativo .survey-section,
body.contraste-ativo.questionario-aberto #consulta{
  background:#071924;
}

body.contraste-ativo .modelo-copy h1,
body.contraste-ativo .pagina-conteudo h1,
body.contraste-ativo .step h3,
body.contraste-ativo .pagina-card h2,
body.contraste-ativo .passos-grid h2,
body.contraste-ativo .faq-lista summary,
body.contraste-ativo .survey-heading h2{
  color:#f6fbff;
}

body.contraste-ativo .modelo-lead,
body.contraste-ativo .pagina-lead,
body.contraste-ativo .pagina-card p,
body.contraste-ativo .passos-grid p,
body.contraste-ativo .faq-lista p,
body.contraste-ativo .hint,
body.contraste-ativo .survey-heading p:last-child,
body.contraste-ativo .modelo-trust{
  color:#c6d6df;
}

body.contraste-ativo .consulta-voltar,
body.contraste-ativo input,
body.contraste-ativo textarea{
  background:#0f2a38;
  color:#f6fbff;
  border-color:#477083;
}

body.contraste-ativo .portal-btn-consulta,
body.contraste-ativo .btn-primary{
  background:#42c787;
  color:#05120c;
}

@media(max-width:950px){
  .modelo-brand{
    width:255px;
  }

  .modelo-brand img{
    width:242px;
  }
}

@media(max-width:700px){
  .consulta-voltar{
    top:14px;
    right:14px;
    min-height:36px;
    padding:0 11px;
    font-size:12px;
  }

  body.questionario-aberto .survey-heading{
    padding-right:122px;
  }
}

@media(max-width:680px){
  .modelo-tools > button:not(.modelo-participar){
    display:none;
  }

  .modelo-brand img{
    width:198px;
    height:58px;
  }
}

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

/* === PAINEL ADMINISTRATIVO E RELATORIOS INICIO === */

.admin-panel-head{
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:flex-start;
  margin-bottom:16px;
}

.admin-panel-head h2{
  margin:0 0 4px;
}

.admin-panel-head p{
  margin:0;
}

.question-editor,
.question-add{
  display:grid;
  gap:14px;
}

.question-card{
  border:1px solid var(--line);
  border-radius:12px;
  padding:0;
  background:#fbfdfd;
  overflow:hidden;
}

.question-card-head{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:center;
  padding:14px 16px;
  border-bottom:1px solid var(--line);
  background:#fff;
}

.question-title{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

.question-title strong{
  color:#083b72;
  font-size:1rem;
}

.question-admin-tools{
  display:flex;
  gap:12px;
  align-items:end;
  justify-content:flex-end;
  margin:0;
  flex:0 0 auto;
}

.question-order{
  min-width:92px;
}

.question-order input{
  width:82px;
  min-height:40px;
  text-align:center;
  font-weight:800;
  padding:8px 10px;
}

.question-order span{
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:var(--muted);
}

.question-card-head code{
  color:var(--muted);
  background:#eef5f7;
  border:1px solid var(--line);
  border-radius:8px;
  padding:4px 8px;
  font-size:.78rem;
}

.admin-field-grid{
  align-items:end;
  margin:12px 0;
}

.question-card > .field,
.question-card > .field-grid{
  margin:16px;
}

.question-card > .field + .field,
.question-card > .field-grid + .field{
  margin-top:0;
}

select{
  width:100%;
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 13px;
  font:inherit;
  color:var(--text);
  background:#fff;
}

.admin-check{
  min-height:46px;
  display:flex;
  gap:9px;
  align-items:center;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px 12px;
  background:#fff;
  font-weight:750;
  font-size:.9rem;
}

.admin-check input{
  accent-color:var(--primary);
  width:17px;
  height:17px;
}

.admin-check-danger{
  border-color:#f0c8c2;
  color:#8f3028;
  min-height:40px;
  align-self:end;
  white-space:nowrap;
}

.admin-check-danger input{
  accent-color:#b13b30;
}

.options-edit{
  min-height:132px;
  font-family:ui-monospace,SFMono-Regular,Consolas,"Liberation Mono",monospace;
  font-size:.9rem;
}

.question-add{
  margin-top:20px;
  padding-top:18px;
  border-top:1px solid var(--line);
}

.question-add h3{
  margin:0;
}

.muted{
  color:var(--muted);
}

body.contraste-ativo .question-card,
body.contraste-ativo .admin-check,
body.contraste-ativo select{
  background:#0f2a38;
  color:#f6fbff;
  border-color:#477083;
}

body.contraste-ativo .question-card-head code{
  background:#102f40;
  color:#c6d6df;
  border-color:#477083;
}

body.contraste-ativo .admin-check-danger{
  color:#ffd2cd;
  border-color:#87514c;
}

@media(max-width:780px){
  .admin-panel-head{
    flex-direction:column;
  }

  .question-admin-tools{
    flex-direction:column;
    align-items:stretch;
    width:100%;
  }

  .question-card-head{
    align-items:flex-start;
    flex-direction:column;
  }

  .question-order,
  .question-order input,
  .admin-check-danger{
    width:100%;
  }

  .admin-check-danger{
    justify-content:center;
  }
}

/* === PAINEL ADMINISTRATIVO E RELATORIOS FIM === */

/* === RODAPE E ESCALA GLOBAL INICIO === */

html{
  min-height:100%;
}

body{
  min-height:100vh;
  display:flex;
  flex-direction:column;
}

body > main{
  flex:1 0 auto;
}

body > footer{
  margin-top:auto;
  flex-shrink:0;
}

@media(min-width:681px){
  html[data-font-scale="menor"] .modelo-headin{
    height:82px;
  }

  html[data-font-scale="grande"] .modelo-headin{
    height:96px;
    grid-template-columns:330px 1fr auto;
  }

  html[data-font-scale="maior"] .modelo-headin{
    height:104px;
    grid-template-columns:360px 1fr auto;
  }

  html[data-font-scale="grande"] .modelo-brand{
    width:330px;
    height:88px;
  }

  html[data-font-scale="maior"] .modelo-brand{
    width:360px;
    height:96px;
  }

  html[data-font-scale="grande"] .modelo-brand img{
    width:318px;
    height:86px;
  }

  html[data-font-scale="maior"] .modelo-brand img{
    width:348px;
    height:94px;
  }

  html[data-font-scale="menor"] .modelo-copy h1{
    font-size:clamp(42px,3.7vw,54px);
  }

  html[data-font-scale="grande"] .modelo-copy h1{
    font-size:clamp(54px,4.5vw,70px);
  }

  html[data-font-scale="maior"] .modelo-copy h1{
    font-size:clamp(60px,4.9vw,78px);
  }

  html[data-font-scale="grande"] .modelo-hero-in{
    min-height:550px;
    gap:58px;
  }

  html[data-font-scale="maior"] .modelo-hero-in{
    min-height:590px;
    gap:62px;
  }

  html[data-font-scale="grande"] .modelo-lead{
    font-size:19px;
  }

  html[data-font-scale="maior"] .modelo-lead{
    font-size:21px;
  }

  html[data-font-scale="grande"] .modelo-eyebrow,
  html[data-font-scale="grande"] .modelo-trust,
  html[data-font-scale="grande"] .portal-btn,
  html[data-font-scale="grande"] .modelo-primary,
  html[data-font-scale="grande"] .modelo-secondary,
  html[data-font-scale="grande"] .modelo-nav a,
  html[data-font-scale="grande"] .footer-inner,
  html[data-font-scale="grande"] .modelo-tools > button:not(.modelo-participar){
    font-size:15px;
  }

  html[data-font-scale="maior"] .modelo-eyebrow,
  html[data-font-scale="maior"] .modelo-trust,
  html[data-font-scale="maior"] .portal-btn,
  html[data-font-scale="maior"] .modelo-primary,
  html[data-font-scale="maior"] .modelo-secondary,
  html[data-font-scale="maior"] .modelo-nav a,
  html[data-font-scale="maior"] .footer-inner,
  html[data-font-scale="maior"] .modelo-tools > button:not(.modelo-participar){
    font-size:16px;
  }

  html[data-font-scale="grande"] .portal-btn,
  html[data-font-scale="grande"] .modelo-primary,
  html[data-font-scale="grande"] .modelo-secondary{
    min-height:56px;
  }

  html[data-font-scale="maior"] .portal-btn,
  html[data-font-scale="maior"] .modelo-primary,
  html[data-font-scale="maior"] .modelo-secondary{
    min-height:62px;
  }

  html[data-font-scale="grande"] .modelo-tools > button:not(.modelo-participar){
    width:44px;
    height:44px;
  }

  html[data-font-scale="maior"] .modelo-tools > button:not(.modelo-participar){
    width:50px;
    height:50px;
  }

  html[data-font-scale="grande"] .modelo-concept strong{
    font-size:12px;
  }

  html[data-font-scale="grande"] .modelo-concept span{
    font-size:10px;
  }

  html[data-font-scale="maior"] .modelo-concept strong{
    font-size:13px;
  }

  html[data-font-scale="maior"] .modelo-concept span{
    font-size:11px;
  }
}

@media(max-width:680px){
  html[data-font-scale="grande"] .modelo-copy h1{
    font-size:46px;
  }

  html[data-font-scale="maior"] .modelo-copy h1{
    font-size:50px;
  }

  html[data-font-scale="grande"] .modelo-lead{
    font-size:18px;
  }

  html[data-font-scale="maior"] .modelo-lead{
    font-size:19px;
  }
}

/* === RODAPE E ESCALA GLOBAL FIM === */

/* === AJUSTES DE VIDA, ACESSIBILIDADE E CONSULTA FIM === */
