
:root{--blue:#0f2d74;--blue2:#193f9c;--red:#e6483c;--red2:#ff6657;--muted:#58709b;--shadow:0 24px 60px rgba(6,22,64,.24)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,system-ui,sans-serif;background:linear-gradient(180deg,#0f2d74 0%,#143684 26%,#eff4ff 26%,#f6f9ff 100%);color:#19305a}a{text-decoration:none;color:inherit}img{max-width:100%;display:block}.container{width:min(1180px,calc(100% - 32px));margin:0 auto}.header{position:sticky;top:0;z-index:30;background:rgba(9,24,62,.78);backdrop-filter:blur(14px);border-bottom:1px solid rgba(255,255,255,.08)}.header-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0}.brand{display:flex;align-items:center;gap:14px}.brand img{width:70px;height:50px;object-fit:contain;background:#fff;border-radius:10px;padding:4px}.brand-title{font-size:1.02rem;font-weight:800;color:#fff}.brand-sub{font-size:.82rem;color:rgba(255,255,255,.75)}.nav{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.nav a{font-weight:700;color:#fff;opacity:.95}.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;border-radius:999px;font-weight:800;transition:.25s ease;cursor:pointer}.btn-primary{background:linear-gradient(90deg,var(--red),var(--red2));color:#fff;box-shadow:0 18px 38px rgba(230,72,60,.28)}.btn-secondary{background:#fff;color:var(--blue)}.btn:hover{transform:translateY(-2px)}.section{padding:72px 0}.eyebrow{display:inline-block;padding:10px 14px;border-radius:999px;background:rgba(255,255,255,.14);color:#fff;font-weight:800;font-size:.78rem;letter-spacing:.04em}.light-eyebrow{display:inline-block;padding:10px 14px;border-radius:999px;background:#e6efff;color:var(--blue);font-weight:800;font-size:.78rem;letter-spacing:.04em}.section-head{display:flex;justify-content:space-between;gap:24px;align-items:end;margin-bottom:26px}.section-head h2{margin:12px 0 0;font-size:clamp(1.9rem,4vw,3rem);color:var(--blue)}.section-head p{margin:0;max-width:56ch;line-height:1.8;color:var(--muted)}.reveal{opacity:0;transform:translateY(24px);transition:opacity .75s ease, transform .75s ease}.reveal.show{opacity:1;transform:none}
.hero{padding:36px 0 80px;color:#fff}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:30px;align-items:center}.hero-copy h1{margin:16px 0 16px;font-size:clamp(2.5rem,5vw,4.8rem);line-height:.94}.hero-copy p{font-size:1.07rem;line-height:1.85;color:rgba(255,255,255,.84);max-width:58ch}.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}.hero-metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}.metric{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.15);backdrop-filter:blur(10px);border-radius:20px;padding:16px}.metric strong{display:block;font-size:1.35rem}.metric span{display:block;font-size:.86rem;color:rgba(255,255,255,.82);line-height:1.5}.hero-visual{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.16);border-radius:34px;padding:14px;box-shadow:var(--shadow)}.hero-visual img{width:100%;height:560px;object-fit:cover;border-radius:22px}.panel{background:#fff;border-radius:30px;border:1px solid rgba(12,46,116,.08);box-shadow:0 22px 48px rgba(16,38,93,.08)}.about{margin-top:-24px}.about-grid{display:grid;grid-template-columns:.94fr 1.06fr;gap:24px;align-items:center}.about-media{padding:14px}.about-media img{width:100%;height:450px;object-fit:cover;border-radius:20px}.about-copy{padding:34px}.about-copy h2{color:var(--blue);margin:12px 0 0}.about-copy p{color:var(--muted);line-height:1.85}.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}.chip{padding:10px 14px;border-radius:999px;background:#f2f6ff;color:var(--blue);font-weight:700}.cards3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.area-card,.project-card{background:#fff;border-radius:24px;border:1px solid rgba(16,38,93,.08);box-shadow:0 16px 36px rgba(16,38,93,.07)}.area-card{padding:24px}.area-icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:linear-gradient(135deg,#e6efff,#ffe5e2);font-size:1.3rem;margin-bottom:16px}.area-card h3{margin:0 0 10px;color:var(--blue)}.area-card p{margin:0;color:var(--muted);line-height:1.75}.impact-band{background:linear-gradient(135deg,#10265d,#1c46a6);color:#fff;border-radius:32px;padding:32px;box-shadow:var(--shadow)}.impact-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center}.impact-grid p{color:rgba(255,255,255,.84);line-height:1.8}.impact-stats{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.impact-stat{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:20px;padding:18px}.impact-stat strong{display:block;font-size:1.95rem}.impact-stat span{display:block;color:rgba(255,255,255,.82);line-height:1.6}.project-card{overflow:hidden}.project-card img{width:100%;height:230px;object-fit:cover}.project-body{padding:20px}.project-pill{display:inline-block;margin-bottom:10px;padding:8px 12px;border-radius:999px;background:#edf3ff;color:var(--blue);font-weight:800;font-size:.78rem}.project-body h3{margin:0 0 8px;color:var(--blue)}.project-body p{margin:0;color:var(--muted);line-height:1.75}.teaser-wrap{display:grid;grid-template-columns:1fr .92fr;gap:20px;align-items:center}.mosaic{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.mosaic figure{margin:0;border-radius:18px;overflow:hidden;position:relative;min-height:150px}.mosaic img{width:100%;height:100%;object-fit:cover}.mosaic figcaption{position:absolute;left:10px;bottom:10px;background:rgba(15,45,116,.76);color:#fff;padding:8px 10px;border-radius:999px;font-size:.78rem;font-weight:700}.teaser-copy{padding:28px}.teaser-copy h2{color:var(--blue);margin:14px 0 12px;font-size:clamp(1.8rem,4vw,2.8rem)}.teaser-copy p{color:var(--muted);line-height:1.85}.cta{display:flex;justify-content:space-between;gap:20px;align-items:center;padding:28px 30px}.cta h2{margin:0 0 8px;color:var(--blue)}.cta p{margin:0;color:var(--muted);line-height:1.8}.footer{padding:18px 0 48px}.footer-card{background:#0d2255;border-radius:30px;color:#fff;padding:28px;box-shadow:var(--shadow)}.footer-top{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.footer-brand{display:flex;gap:14px;align-items:center}.footer-brand img{width:76px;background:#fff;border-radius:10px;padding:5px}.footer-brand p{margin:0;color:rgba(255,255,255,.76);line-height:1.7;max-width:42ch}.footer-links{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:18px}.footer-links h4{margin:0 0 10px}.footer-links a,.footer-links p{display:block;color:rgba(255,255,255,.78);margin:6px 0;line-height:1.6}.foot-note{border-top:1px solid rgba(255,255,255,.12);margin-top:18px;padding-top:14px;color:rgba(255,255,255,.62);font-size:.9rem}.filters{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:20px}.filter-btn{padding:10px 14px;border-radius:999px;border:1px solid rgba(16,38,93,.1);background:#fff;color:#31445e;font-weight:800;cursor:pointer}.filter-btn.active,.filter-btn:hover{background:var(--blue);color:#fff;border-color:var(--blue)}.gallery-grid{columns:3 280px;column-gap:18px}.gallery-item{break-inside:avoid;margin:0 0 18px;background:#fff;border:1px solid rgba(16,38,93,.08);border-radius:24px;overflow:hidden;box-shadow:0 16px 36px rgba(16,38,93,.06);cursor:pointer}.gallery-item img{width:100%;display:block}.gallery-caption{padding:14px 16px 16px}.gallery-caption strong{display:block;color:var(--blue);margin-bottom:6px}.gallery-caption span{color:var(--muted);font-size:.92rem}.lightbox{position:fixed;inset:0;background:rgba(7,14,31,.82);display:none;align-items:center;justify-content:center;padding:22px;z-index:100}.lightbox.open{display:flex}.lightbox-inner{max-width:min(1080px,100%);max-height:100%;display:grid;gap:14px}.lightbox img{max-width:100%;max-height:78vh;border-radius:20px}.lightbox-caption{color:#fff;text-align:center;line-height:1.6}.lightbox-close{position:absolute;top:18px;right:18px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:#fff;border-radius:999px;padding:12px 16px;cursor:pointer}.count{font-variant-numeric:tabular-nums}@media (max-width:1024px){.hero-grid,.about-grid,.impact-grid,.teaser-wrap{grid-template-columns:1fr}.cards3,.impact-stats{grid-template-columns:repeat(2,1fr)}.hero-visual img{height:420px}.about-media img{height:360px}.footer-links{grid-template-columns:1fr 1fr}}@media (max-width:760px){body{background:linear-gradient(180deg,#0f2d74 0%,#143684 18%,#eff4ff 18%,#f6f9ff 100%)}.nav{gap:12px}.hero-metrics,.cards3,.impact-stats,.footer-links,.mosaic{grid-template-columns:1fr}.section{padding:56px 0}.section-head{display:block}.cta,.footer-top{flex-direction:column;align-items:flex-start}.gallery-grid{columns:1}.brand img{width:58px;height:42px}.hero-copy h1{font-size:2.4rem}.hero-visual img{height:300px}}

        .nav-toggle{display:none;background:rgba(255,255,255,.13);color:#fff;border:1px solid rgba(255,255,255,.22);padding:8px 13px;border-radius:12px;font-size:23px;cursor:pointer}
        .nav a{font-size:.89rem}
        .nav a.btn{font-size:.85rem;padding:11px 15px}
        .section .cards3 .area-card{transition:transform .2s ease,box-shadow .2s ease}
        .section .cards3 .area-card:hover{transform:translateY(-4px);box-shadow:0 24px 48px rgba(16,38,93,.13)}
        a:focus-visible,button:focus-visible{outline:3px solid #ee655f;outline-offset:4px}
        .card-link{display:inline-block;margin-top:18px;color:#1544a0;font-weight:800}
        .page-hero{background:linear-gradient(135deg,#0f2d74,#174199);color:#fff;padding:64px 0 58px}
        .page-hero h1{font-size:clamp(2.25rem,5vw,4rem);line-height:1.1;margin:14px 0 16px;max-width:16ch}
        .page-hero p{max-width:70ch;color:#dbe7ff;line-height:1.8;margin:0}
        .subnav{display:flex;gap:10px;flex-wrap:wrap;margin:25px 0 0}
        .subnav a{padding:10px 15px;border-radius:100px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);color:#fff;font-weight:700;font-size:.9rem}
        .data-section{padding:52px 0;border-bottom:1px solid rgba(12,46,116,.1);scroll-margin-top:90px}
        .data-section h2{font-size:clamp(1.7rem,4vw,2.6rem);color:#0f2d74;margin:0 0 12px}
        .data-section>p,.data-section .section-intro{color:#58709b;line-height:1.8;margin:0 0 22px}
        .data-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
        .data-card{background:#fff;border:1px solid rgba(16,38,93,.1);border-radius:22px;padding:20px;box-shadow:0 14px 32px rgba(16,38,93,.055)}
        .data-card h3{font-size:1.12rem;color:#0f2d74;margin:0 0 12px}
        .data-card p{margin:0 0 8px;color:#52688e;line-height:1.7}
        .data-card strong{color:#0f2d74}
        .data-card .tag{display:inline-block;background:#ebf1ff;border-radius:100px;padding:8px 11px;font-size:.78rem;color:#0f2d74;font-weight:800;margin-bottom:13px}
        .data-note{color:#52688e;background:#edf3ff;border-left:4px solid #cc312d;border-radius:8px;padding:18px 20px;margin:20px 0;line-height:1.8;font-size:.95rem}
        .detail-table{border-collapse:collapse;width:100%;font-size:.95rem;margin-top:18px}
        .detail-table th,.detail-table td{padding:13px 14px;text-align:left;border-bottom:1px solid #e0e7f3;vertical-align:top}
        .detail-table th{color:#0f2d74;background:#eaf1ff}
        .detail-table tr:nth-child(even) td{background:#f7f9fe}
        .table-wrap{background:#fff;border:1px solid rgba(16,38,93,.1);border-radius:19px;overflow-x:auto;box-shadow:0 14px 32px rgba(16,38,93,.05)}
        .action-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
        .action-row{background:#fff;border:1px solid rgba(16,38,93,.08);border-radius:16px;padding:16px 19px;display:flex;gap:13px;align-items:flex-start}
        .action-row strong{color:#cc312d;font-size:1.12rem;min-width:93px}
        .action-row span{color:#52688e;line-height:1.55}
        .short-impact{display:grid;grid-template-columns:1fr auto;gap:22px;align-items:center}
        .short-impact h2{margin:0 0 12px;color:#fff}
        .short-impact p{margin:0;color:#dce6ff;line-height:1.75}
        .intro-compact{max-width:680px}
        @media(max-width:1150px){.nav{gap:10px}}
        @media(max-width:960px){.nav-toggle{display:block}.header-inner{position:relative;align-items:center}.nav{display:none;position:absolute;top:100%;left:0;right:0;background:#0e296d;padding:22px;flex-direction:column;align-items:stretch;gap:16px;border-radius:0 0 18px 18px;box-shadow:0 20px 40px rgba(0,0,0,.2)}.nav.open{display:flex}.nav a{font-size:1rem}.nav a.btn{justify-content:center}}
        @media(max-width:760px){.data-cards,.action-list{grid-template-columns:1fr}.short-impact{grid-template-columns:1fr}.data-section{padding:40px 0}.detail-table{font-size:.82rem}}
        @media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}*,*::before,*::after{animation-duration:0s!important;transition-duration:0s!important}}
        @media(max-width:920px){.header-inner{flex-wrap:wrap}.nav{flex-wrap:wrap;gap:12px}.nav .btn-primary{white-space:nowrap}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Contraste e organização, mantendo o desenho original */
.hero h1,.hero-copy p,.hero .eyebrow,.page-hero h1,.page-hero p,.page-hero .eyebrow{color:#fff}
.impact-band h2,.impact-band p,.impact-band strong,.impact-band span,.impact-band .eyebrow{color:#fff}
.footer-card h4,.footer-card .footer-brand p,.footer-card .footer-links a,.footer-card .footer-links p,.footer-card .foot-note{color:#fff}
.page-content{background:#f6f9ff}
.impact-band h2{font-size:clamp(1.9rem,4vw,2.65rem);margin:12px 0;line-height:1.15}
.impact-band .impact-grid>div:first-child>a{margin-top:20px}
.pix-key{font-size:1.1rem;color:#0f2d74;font-weight:800;display:inline-block;overflow-wrap:anywhere;margin:8px 0}
.pix-feedback{margin:8px 0!important;min-height:1.3em}
.help-note{color:#58709b;line-height:1.7;margin:24px 0 0}
.copy-pix{border:0;font:inherit}
.volunteer-panel{max-width:920px;padding:30px}
.volunteer-panel h2{color:#0f2d74}
.volunteer-panel p{color:#52688e;line-height:1.7}
.volunteer-form{display:grid;gap:17px;margin-top:25px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.volunteer-form label{display:grid;gap:8px;color:#0f2d74;font-weight:750}
.volunteer-form input:not([type=checkbox]),.volunteer-form select,.volunteer-form textarea{font:inherit;border:1px solid #c9d6ec;border-radius:11px;padding:12px;background:#fff;color:#19305a;max-width:100%}
.volunteer-form label.consent{display:flex;align-items:flex-start;gap:10px;font-size:.92rem;line-height:1.6}
.volunteer-form label.consent input{margin-top:5px}
.volunteer-form button{justify-self:start}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #e6483c;outline-offset:3px}
@media(max-width:760px){.form-grid{grid-template-columns:1fr}.volunteer-panel{padding:20px}.impact-band{padding:23px}.footer-links{grid-template-columns:1fr}}


/* Galeria: miniaturas menores e uniformes, sem alterar a imagem original. */
.gallery-grid{
  columns:unset;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
  align-items:start;
}
.gallery-grid .gallery-item{
  width:100%;
  min-width:0;
  margin:0;
}
.gallery-grid .gallery-item img{
  display:block;
  width:100%;
  height:190px;
  aspect-ratio:4/3;
  object-fit:cover;
  object-position:center;
}
.gallery-grid .gallery-caption{
  min-height:78px;
}
.lightbox .lightbox-inner{
  max-width:min(1100px,100%);
  max-height:calc(100vh - 44px);
  justify-items:center;
}
.lightbox .lightbox-inner img{
  width:auto;
  height:auto;
  max-width:100%;
  max-height:calc(100vh - 120px);
  object-fit:contain;
}
@media(max-width:1050px){.gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(max-width:720px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.gallery-grid .gallery-item img{height:160px}.gallery-grid .gallery-caption{min-height:0;}}
@media(max-width:420px){.gallery-grid .gallery-item img{height:135px}.gallery-grid .gallery-caption{padding:10px 12px;}}

/* Site oficial: bordas da Demo 1 em todo o Álbum e Acervo Histórico. */
.gallery-grid .gallery-item{
  border:1px solid #DBE3F0!important;
  border-bottom:5px solid #E53D3D!important;
  border-radius:19px!important;
  overflow:hidden;
  background:#fff;
  box-shadow:0 12px 26px rgba(12,41,95,.09)!important;
}
#acervo-historico .hist-year{
  border:1px solid #DCE6F4!important;
  border-top:6px solid #E53D3D!important;
  border-radius:22px!important;
  overflow:hidden;
}
#acervo-historico .hist-card{
  border:1px solid #DBE3F0!important;
  border-bottom:4px solid #E53D3D!important;
  border-radius:16px!important;
  box-shadow:0 10px 25px rgba(12,41,95,.08)!important;
}
#acervo-historico .hist-card:hover{box-shadow:0 15px 30px rgba(12,41,95,.14)!important}

/* Depoimentos: reprodução vertical e duas opções claras para celular. */
#acervo-historico .testimonial-gallery-actions{display:grid;gap:9px;padding:0 12px 12px}
#acervo-historico .testimonial-gallery-watch,
#acervo-historico .testimonial-gallery-expand{min-height:52px;margin:0;display:flex;align-items:center;justify-content:center;border-radius:11px;text-align:center;font-weight:800;touch-action:manipulation}
#acervo-historico .testimonial-gallery-expand{border:2px solid #0f2d74;background:#fff;color:#0f2d74;padding:10px 12px}
@media(max-width:720px){
  #acervo-historico .testimonial-gallery-grid{grid-template-columns:1fr}
  #acervo-historico .testimonial-gallery-video{aspect-ratio:9/16}
}
