/* Identidade visual: etapa 1 aprovada em novembro de 2026.
   Conteúdo claro com texto escuro; cabeçalho e rodapé continuam azul-marinho.
   Respeita a identidade azul, branco e amarelo do Futuro em 5. */

/* Páginas institucionais e informativas. Reaproveita f5-light-reading. */
body.f5-institution-page{background:#fff;color:#173346}
body.f5-institution-page main.article-wrap{
  min-height:58vh;background:#fff;color:#173346;
  padding:clamp(32px,5vw,62px) 0 clamp(55px,7vw,84px);
}
body.f5-institution-page main .article{
  width:min(860px,calc(100% - 40px));max-width:860px;margin:auto;color:#173346;
}
body.f5-institution-page main .article h1{
  color:#173346;font-size:clamp(32px,4.5vw,48px);line-height:1.15;
  letter-spacing:-.035em;overflow-wrap:anywhere;margin:12px 0 18px;
}
body.f5-institution-page main .article h2{
  color:#173346;font-size:clamp(22px,3vw,28px);
  line-height:1.24;letter-spacing:-.02em;margin:34px 0 14px;
}
body.f5-institution-page main .article :is(h3,h4){color:#173346}
body.f5-institution-page main .article :is(p,li){
  color:#344c5b;line-height:1.78;font-size:16px;
}
body.f5-institution-page main .article .intro{
  color:#344c5b;font-size:clamp(17px,2.2vw,19px);line-height:1.62;
}
body.f5-institution-page main .article .hero-label{color:#865d0d}
body.f5-institution-page main .article a:not(.contact-email-link){
  color:#155c83;text-decoration:underline;text-underline-offset:3px;
}
body.f5-institution-page main .article a:not(.contact-email-link):hover{color:#865d0d}
body.f5-institution-page main .about-founder-grid{align-items:start}
body.f5-institution-page main .about-founder-grid>img{border-radius:14px}

/* Contato: envelope e endereço compõem um link acessível e clicável. */
body.f5-institution-page main .contact-email-card{
  max-width:590px;margin:27px 0 36px;
  padding:24px 24px 27px;border:1px solid #d7e2e8;border-radius:16px;
  background:#f5f8fb;box-shadow:0 8px 24px rgba(16,43,65,.055);
}
body.f5-institution-page main .contact-email-card h2{
  font-size:23px;margin:0 0 5px;
}
body.f5-institution-page main .contact-email-card p{margin:0 0 17px}
body.f5-institution-page main .contact-email-link{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  width:100%;gap:12px;padding:22px 14px 20px;border-radius:12px;
  border:1px solid #cadbe6;background:#fff;color:#124f78;
  text-align:center;text-decoration:none;cursor:pointer;
  transition:border-color .18s,background .18s;
}
body.f5-institution-page main .contact-email-link:is(:hover,:focus-visible){
  border-color:#aa7c18;background:#fffcf4;outline-offset:3px;
}
body.f5-institution-page main .contact-email-icon{
  display:grid;place-items:center;width:60px;height:60px;
  border-radius:17px;background:#f4c542;color:#112c43;
}
body.f5-institution-page main .contact-email-icon svg{
  width:32px;height:32px;display:block;fill:none;stroke:currentColor;
  stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;
}
body.f5-institution-page main .contact-email-address{
  font-size:clamp(15px,2.5vw,20px);line-height:1.4;
  font-weight:780;overflow-wrap:anywhere;word-break:break-word;
}
body.f5-institution-page main .contact-email-link:hover .contact-email-address{
  text-decoration:underline;text-underline-offset:3px;
}

/* Home clara, mantendo a peça gráfica do 5 em azul-marinho como destaque. */
body.f5-light-home{background:#fff;color:#173346}
body.f5-light-home main{background:#fff;color:#173346}
body.f5-light-home main .home-hero{
  background:linear-gradient(115deg,#f4f8fb,#fff 62%,#eef4f8);
}
body.f5-light-home main .hero h1,
body.f5-light-home main :is(h2,h3){color:#173346}
body.f5-light-home main .hero h1 span{color:#88600f}
body.f5-light-home main .home-hero p{color:#344c5b}
body.f5-light-home main .eyebrow,
body.f5-light-home main .tag,
body.f5-light-home main .num{color:#805b10}
body.f5-light-home main .btn.alt{
  border-color:#a7becd;background:#fff;color:#173346;
}
body.f5-light-home main .btn.alt:hover{border-color:#bd8c25;background:#fff9e9}
body.f5-light-home main .hero-art{
  background:linear-gradient(145deg,#102d43,#071827);
  border-color:#28475b;
}
body.f5-light-home main .hero-art .hero-core{color:#f4c542}
body.f5-light-home main .hero-art .art-caption{color:#d8e3ea}
body.f5-light-home main .home-featured{background:#fff}
body.f5-light-home main .home-featured .lead{color:#526b7a}
body.f5-light-home main .home-text-link{color:#165c86}
body.f5-light-home main .home-text-link:hover{color:#805208}
body.f5-light-home main .home-featured .card{
  background:#f5f7fa;color:#173346;
  border-color:#d7e2e8;box-shadow:0 5px 20px rgba(14,43,66,.045);
}
body.f5-light-home main .home-featured .card:is(:hover,:focus-visible){
  background:#edf4f8;border-color:#a6bccb;
}
body.f5-light-home main .home-featured .card p{color:#435f71}
body.f5-light-home main .home-featured .card .status{color:#165c86;font-weight:780}
body.f5-light-home main .home-guides{background:#fff}
body.f5-light-home main .home-guides-panel{
  background:#eff5f9;border:1px solid #d5e2e9;color:#173346;
}
body.f5-light-home main .home-guides-panel p{color:#405a6c}
body.f5-light-home main .home-guides-panel .home-guide-button{color:#102a40}
body.f5-light-home main .home-updates{background:#fff}
body.f5-light-home main .home-updates-inner{border-color:#d7e2e8}
body.f5-light-home main .home-updates p{color:#526b7a}
body.f5-light-home main .home-latest{
  background:#fff;color:#173346;
}
body.f5-light-home main .home-latest li{border-top:1px solid #d7e2e8}
body.f5-light-home main .home-latest time{color:#526b7a}
body.f5-light-home main .home-latest li a{color:#173346}
body.f5-light-home main .home-latest li a:hover{color:#805208}

/* Garante contraste nos elementos globais quando o body é claro. */
body.f5-light-home .unified-topbar,
body.f5-institution-page .unified-topbar{color:#f5f8fb}
body.f5-light-home .footer,
body.f5-institution-page .footer{
  color:#f5f8fb;background:#06111d;
}
body.f5-light-home .footer h3,
body.f5-institution-page .footer h3{color:#f5f8fb}
body.f5-light-home .footer p,
body.f5-institution-page .footer p{color:#a9bac9}
body.f5-light-home .footer a,
body.f5-institution-page .footer a{color:#cad8e4}
body.f5-light-home .footer a:hover,
body.f5-institution-page .footer a:hover{color:#f4c542}

@media(max-width:620px){
  body.f5-institution-page main.article-wrap{padding:31px 0 57px}
  body.f5-institution-page main .article{width:calc(100% - 32px)}
  body.f5-institution-page main .article h2{margin-top:29px}
  body.f5-institution-page main .contact-email-card{padding:18px}
  body.f5-light-home main .home-featured .card{box-shadow:none}
}
