
:root{--blue:#003d86;--deep:#001f4d;--navy:#001333;--yellow:#ffd200;--orange:#ff6500;--sky:#1e8ee5;--text:#17213a;--muted:#5b6579;--light:#f4f7fb;--white:#fff;--radius:24px;--shadow:0 18px 48px rgba(0,27,72,.14);--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Montserrat,Arial,sans-serif;color:var(--text);background:#fff;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}.container{width:min(var(--max),calc(100% - 40px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:16px;top:16px;z-index:9999;background:#fff;padding:12px}.topbar{background:var(--navy);color:#dbe8ff;font-size:.78rem}.topbar .container{display:flex;justify-content:flex-end;gap:24px;padding:8px 0}.header{position:sticky;top:0;z-index:1000;background:rgba(0,40,96,.95);backdrop-filter:blur(14px);color:#fff;border-bottom:1px solid rgba(255,255,255,.12)}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:28px}.logo{width:190px;height:58px;object-fit:contain}.menu{display:flex;align-items:center;gap:6px}.menu>a,.dropbtn{padding:28px 13px;font-size:.88rem;font-weight:700;color:#fff;background:none;border:0;cursor:pointer}.menu>a:hover,.drop:hover .dropbtn{color:var(--yellow)}.drop{position:relative}.mega{position:fixed;left:0;right:0;top:114px;background:#fff;color:var(--text);padding:30px 0 38px;opacity:0;visibility:hidden;transform:translateY(-8px);transition:.25s;box-shadow:0 22px 45px rgba(0,0,0,.16)}.drop:hover .mega,.drop:focus-within .mega{opacity:1;visibility:visible;transform:none}.mega-grid{display:grid;grid-template-columns:1.1fr repeat(3,1fr);gap:30px}.mega-feature{border-radius:20px;padding:26px;background:linear-gradient(145deg,var(--blue),var(--deep));color:#fff}.mega h3{margin:0 0 12px}.mega a{display:block;padding:7px 0;color:#34405a;font-size:.9rem}.mega a:hover{color:var(--orange)}.nav-cta,.btn{display:inline-flex;align-items:center;gap:10px;border-radius:999px;padding:13px 21px;font-weight:800;border:0;cursor:pointer;transition:.2s}.nav-cta,.btn-primary{background:var(--yellow);color:var(--deep)}.btn:hover,.nav-cta:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(0,0,0,.16)}.btn-secondary{background:var(--blue);color:#fff}.btn-outline{border:2px solid currentColor;background:transparent}.hamb{display:none;background:none;border:0;color:#fff;font-size:1.6rem}.hero{min-height:700px;position:relative;display:flex;align-items:center;color:#fff;overflow:hidden;background:#001d4d}.hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,23,70,.92) 0%,rgba(0,46,105,.65) 46%,rgba(0,0,0,.08) 100%);z-index:1}.hero-media{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.hero-content{position:relative;z-index:2;max-width:720px;padding:80px 0}.eyebrow{font-size:.78rem;letter-spacing:.18em;text-transform:uppercase;color:var(--yellow);font-weight:900}.hero h1,.page-hero h1{font-size:clamp(2.8rem,6vw,5.8rem);line-height:.98;margin:16px 0 24px;letter-spacing:-.04em}.hero p{font-size:1.18rem;max-width:650px;color:#e9f1ff}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:32px}.wave{position:absolute;z-index:2;bottom:-1px;left:0;right:0;height:90px;background:linear-gradient(170deg,transparent 48%,#fff 49%)}section{padding:96px 0}.section-head{max-width:790px;margin-bottom:48px}.section-head h2{font-size:clamp(2rem,4vw,3.55rem);line-height:1.08;letter-spacing:-.035em;margin:10px 0 18px}.section-head p{font-size:1.08rem;color:var(--muted)}.grid{display:grid;gap:24px}.g3{grid-template-columns:repeat(3,1fr)}.g4{grid-template-columns:repeat(4,1fr)}.card{background:#fff;border:1px solid #e5eaf2;border-radius:var(--radius);padding:30px;box-shadow:0 8px 30px rgba(0,28,72,.06);transition:.25s}.card:hover{transform:translateY(-6px);box-shadow:var(--shadow)}.icon{width:54px;height:54px;border-radius:16px;display:grid;place-items:center;background:#fff4cc;color:var(--orange);font-size:1.4rem;margin-bottom:20px}.card h3{margin:0 0 10px;font-size:1.22rem}.card p{color:var(--muted);margin:0}.dark{background:linear-gradient(135deg,var(--navy),var(--blue));color:#fff}.dark p{color:#d7e5fb}.split{display:grid;grid-template-columns:1.05fr .95fr;gap:70px;align-items:center}.split img{border-radius:30px;box-shadow:var(--shadow)}.stats{padding:0 0 90px;margin-top:-35px;position:relative;z-index:3}.stats-box{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:28px;box-shadow:var(--shadow);overflow:hidden}.stat{padding:36px;text-align:center;border-right:1px solid #e8edf5}.stat:last-child{border:0}.stat strong{display:block;color:var(--blue);font-size:2.4rem;line-height:1}.stat span{font-size:.84rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.business-card{min-height:390px;position:relative;overflow:hidden;border-radius:28px;color:#fff;display:flex;align-items:flex-end}.business-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.5s}.business-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent,rgba(0,20,55,.94))}.business-card div{position:relative;z-index:2;padding:28px}.business-card:hover img{transform:scale(1.05)}.banner{border-radius:30px;overflow:hidden;position:relative;min-height:420px;display:flex;align-items:center;background:var(--blue);color:#fff}.banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,28,75,.9),rgba(0,40,100,.25))}.banner-content{position:relative;z-index:2;padding:60px;max-width:580px}.news-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:24px}.news-card{border-radius:22px;overflow:hidden;background:#fff;border:1px solid #e4eaf4}.news-card img{height:230px;width:100%;object-fit:cover}.news-card .body{padding:24px}.news-card time{color:var(--orange);font-size:.78rem;font-weight:800}.news-card h3{line-height:1.25}.page-hero{min-height:470px;display:flex;align-items:end;padding:120px 0 70px;position:relative;color:#fff;background:linear-gradient(120deg,var(--navy),var(--blue));overflow:hidden}.page-hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.5}.page-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,20,60,.88),rgba(0,50,110,.3))}.page-hero .container{position:relative;z-index:2}.page-hero h1{font-size:clamp(2.6rem,5vw,4.8rem);max-width:900px}.breadcrumbs{font-size:.82rem;color:#d5e5ff}.prose{max-width:850px}.prose h2{font-size:2.2rem;line-height:1.15;margin-top:48px}.prose h3{font-size:1.4rem;margin-top:32px}.prose p,.prose li{color:#4e5b72}.timeline{position:relative;padding-left:36px}.timeline:before{content:"";position:absolute;left:10px;top:8px;bottom:8px;width:3px;background:linear-gradient(var(--yellow),var(--orange))}.timeline-item{position:relative;margin-bottom:36px}.timeline-item:before{content:"";position:absolute;left:-34px;top:7px;width:16px;height:16px;border-radius:50%;background:var(--orange);border:4px solid #fff;box-shadow:0 0 0 2px var(--orange)}.timeline-item strong{color:var(--blue);font-size:1.3rem}.pillars{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.pillar{padding:26px;border-radius:20px;background:var(--light);border-left:5px solid var(--yellow)}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}.field{display:flex;flex-direction:column;gap:7px}.field.full{grid-column:1/-1}.field label{font-weight:700;font-size:.88rem}.field input,.field select,.field textarea{width:100%;padding:15px;border:1px solid #cad3e0;border-radius:12px;font:inherit;background:#fff}.field input:focus,.field select:focus,.field textarea:focus{outline:3px solid rgba(30,142,229,.18);border-color:var(--sky)}.notice{padding:18px;border-radius:14px;background:#fff8dc;border-left:5px solid var(--yellow)}.footer{background:#001634;color:#fff;padding:72px 0 25px}.footer-grid{display:grid;grid-template-columns:1.4fr repeat(3,1fr);gap:45px}.footer img{width:210px}.footer h4{color:var(--yellow);margin-top:0}.footer a{display:block;color:#cbd9ee;padding:5px 0;font-size:.9rem}.footer-bottom{border-top:1px solid rgba(255,255,255,.14);margin-top:44px;padding-top:24px;color:#aebdd2;font-size:.8rem;display:flex;justify-content:space-between;gap:20px}.cookie{position:fixed;z-index:2000;bottom:18px;left:18px;right:18px;max-width:680px;background:#fff;border-radius:18px;padding:20px;box-shadow:0 18px 60px rgba(0,0,0,.25);display:none}.cookie.show{display:flex;gap:20px;align-items:center}.article-layout{display:grid;grid-template-columns:minmax(0,820px) 300px;gap:60px}.article-meta{color:var(--orange);font-weight:800}.tag{display:inline-block;padding:7px 12px;border-radius:999px;background:#edf4ff;color:var(--blue);font-size:.78rem;font-weight:800}.sidebar{position:sticky;top:140px;align-self:start}.search-box{display:flex;gap:8px}.search-box input{flex:1;padding:13px;border:1px solid #ccd4df;border-radius:999px}.reveal{opacity:0;transform:translateY(25px);transition:.7s}.reveal.visible{opacity:1;transform:none}@media(max-width:1000px){.menu{position:fixed;inset:114px 0 auto;background:var(--deep);display:none;flex-direction:column;align-items:stretch;padding:20px}.menu.open{display:flex}.menu>a,.dropbtn{padding:14px 20px;text-align:left;width:100%}.mega{position:static;display:none;opacity:1;visibility:visible;transform:none;background:#fff;padding:20px}.drop.open .mega{display:block}.mega-grid{grid-template-columns:1fr}.hamb{display:block}.nav-cta{display:none}.g3,.g4,.news-grid,.pillars{grid-template-columns:1fr 1fr}.split,.article-layout{grid-template-columns:1fr}.stats-box{grid-template-columns:1fr 1fr}.footer-grid{grid-template-columns:1fr 1fr}.hero{min-height:620px}.sidebar{position:static}}@media(max-width:650px){.container{width:min(100% - 28px,var(--max))}.topbar{display:none}.header .nav{height:76px}.menu{inset:76px 0 auto}.logo{width:155px}.hero h1{font-size:2.9rem}.hero-content{padding:70px 0}.g3,.g4,.news-grid,.pillars,.form-grid,.stats-box,.footer-grid{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid #e8edf5}.split{gap:35px}.banner-content{padding:34px}.footer-bottom{flex-direction:column}.cookie.show{display:block}.cookie .btn{margin-top:10px}section{padding:70px 0}.page-hero{min-height:390px;padding-bottom:48px}}

/* História institucional — linha do tempo 2026 */
.history-intro{padding-bottom:36px}.history-lead{max-width:920px}.history-lead h2{font-size:clamp(2.2rem,5vw,4.4rem);line-height:1.02;letter-spacing:-.045em;margin:.35em 0}.history-lead p{font-size:1.15rem;line-height:1.8;color:#4b5870}.history-visual{padding:0 0 84px}.history-cover{width:100%;aspect-ratio:16/7;object-fit:cover;border-radius:28px;box-shadow:0 28px 70px rgba(0,32,83,.2)}.history-section{padding-top:10px}.history-timeline{position:relative}.history-timeline:before{content:"";position:absolute;left:118px;top:30px;bottom:30px;width:2px;background:linear-gradient(var(--yellow),var(--orange),var(--blue))}.history-event{display:grid;grid-template-columns:190px 1fr;gap:46px;position:relative;padding:26px 0 64px}.history-event:before{content:"";position:absolute;left:108px;top:42px;width:22px;height:22px;border-radius:50%;background:var(--yellow);border:5px solid #fff;box-shadow:0 0 0 4px rgba(255,194,0,.25)}.history-year{font-size:2rem;font-weight:900;color:var(--blue);letter-spacing:-.04em;padding-top:8px}.history-copy{background:#fff;border:1px solid #e6ebf2;border-radius:24px;padding:34px 38px;box-shadow:0 18px 50px rgba(0,38,89,.08)}.history-copy h2{font-size:clamp(1.7rem,3vw,2.7rem);line-height:1.1;margin:.25em 0 .55em}.history-copy p{font-size:1.05rem;line-height:1.75;color:#4b5870;margin:0}.history-kicker{display:inline-block;text-transform:uppercase;font-size:.76rem;font-weight:800;letter-spacing:.13em;color:var(--orange)}.history-event-featured .history-copy{background:linear-gradient(135deg,#03265d,#0050a4);color:#fff;border:0}.history-event-featured .history-copy p,.history-event-featured .history-kicker{color:#fff}.history-event-featured:before{background:var(--orange)}.history-today .split{align-items:center}.history-today img{border-radius:28px;box-shadow:0 24px 64px rgba(0,0,0,.28)}.history-lines{display:grid;gap:8px;margin:24px 0;font-size:1.05rem;font-weight:700;color:var(--yellow)}
@media(max-width:760px){.history-cover{aspect-ratio:4/3;border-radius:18px}.history-timeline:before{left:15px}.history-event{grid-template-columns:1fr;gap:12px;padding-left:48px;padding-bottom:38px}.history-event:before{left:5px;top:26px}.history-year{font-size:1.55rem;padding-top:0}.history-copy{padding:26px 24px;border-radius:18px}.history-lead h2{font-size:2.45rem}}

/* Ajustes de contraste — Nossa Essência */
.dark .card{background:#fff;color:var(--navy)}
.dark .card h3{color:#092650}
.dark .card p{color:#4e5b72}
.dark .card .icon{background:#fff1c2;color:#e65c00}
.dark .section-head h2{color:#fff}
.dark .section-head .eyebrow{color:#ffd200}

/* Capa editorial de Notícias */
.news-hero{min-height:560px}
.news-hero img{opacity:.78;object-position:center}
.news-hero:after{background:linear-gradient(90deg,rgba(0,20,60,.92) 0%,rgba(0,31,79,.66) 44%,rgba(0,42,95,.15) 100%)}
.news-hero h1{max-width:760px;text-shadow:0 4px 24px rgba(0,0,0,.35)}

/* Linha do tempo serpenteada — Nossa História */
.history-snake-section{position:relative;overflow:hidden;background:linear-gradient(180deg,#f7f9fc 0%,#fff 50%,#f5f8fc 100%)}
.history-snake{position:relative;min-height:1500px;padding-top:20px;padding-bottom:20px}
.history-snake-path{position:absolute;inset:0;width:100%;height:100%;z-index:0;overflow:visible;pointer-events:none;opacity:.98}
.history-snake .history-event{position:relative;z-index:2;display:block;min-height:185px;padding:0;margin:0 0 4px}
.history-snake .history-copy{width:43%;padding:30px 32px;border-radius:28px;border:1px solid rgba(0,52,116,.10);box-shadow:0 22px 60px rgba(0,33,81,.12);backdrop-filter:blur(5px)}
.history-snake .history-event:nth-of-type(odd) .history-copy{margin-left:auto}
.history-snake .history-event:nth-of-type(even) .history-copy{margin-right:auto}
.history-snake .history-year{position:absolute;z-index:4;top:22px;width:92px;height:92px;border-radius:50%;display:grid;place-items:center;padding:0;background:linear-gradient(135deg,#ffd200,#ff6a00);color:#06295d;font-size:1.45rem;border:8px solid #fff;box-shadow:0 0 0 5px rgba(255,106,0,.22),0 14px 34px rgba(0,35,82,.25)}
.history-snake .history-event:nth-of-type(odd) .history-year{left:calc(32% - 46px)}
.history-snake .history-event:nth-of-type(even) .history-year{left:calc(68% - 46px)}
.history-snake .history-event:before{display:none}
.history-snake .history-copy:before{content:"";position:absolute;top:58px;width:58px;height:3px;background:linear-gradient(90deg,#ff6a00,#ffd200)}
.history-snake .history-event:nth-of-type(odd) .history-copy:before{left:-58px}
.history-snake .history-event:nth-of-type(even) .history-copy:before{right:-58px;transform:scaleX(-1)}
.history-snake .history-copy{position:relative}
.history-snake .history-copy h2{font-size:clamp(1.45rem,2.4vw,2.25rem)}
.history-snake .history-copy p{font-size:.98rem;line-height:1.68}
.history-snake .history-event-featured .history-copy{background:linear-gradient(135deg,#03265d,#0050a4);box-shadow:0 26px 70px rgba(0,45,110,.3)}
.history-snake .history-event-featured .history-year{background:linear-gradient(135deg,#ff7900,#ffd200)}

@media(max-width:900px){
  .news-hero{min-height:470px}
  .history-snake{min-height:auto;padding-left:52px}
  .history-snake-path{display:none}
  .history-snake:before{content:"";position:absolute;left:24px;top:26px;bottom:26px;width:10px;border-radius:999px;background:linear-gradient(#ffd200,#ff6a00,#0a4fa3);box-shadow:0 0 20px rgba(255,106,0,.35)}
  .history-snake .history-event{min-height:0;margin-bottom:30px}
  .history-snake .history-copy,.history-snake .history-event:nth-of-type(odd) .history-copy,.history-snake .history-event:nth-of-type(even) .history-copy{width:100%;margin:0}
  .history-snake .history-year,.history-snake .history-event:nth-of-type(odd) .history-year,.history-snake .history-event:nth-of-type(even) .history-year{left:-70px;top:24px;width:72px;height:72px;font-size:1.15rem;border-width:6px}
  .history-snake .history-copy:before,.history-snake .history-event:nth-of-type(odd) .history-copy:before,.history-snake .history-event:nth-of-type(even) .history-copy:before{left:-28px;right:auto;width:28px;top:58px;transform:none}
}

/* ==========================================================
   V4 — REVISÃO GLOBAL DE LEGIBILIDADE E CONTRASTE
   Textos sobre fundos claros mais escuros, nítidos e uniformes.
   ========================================================== */
:root{
  --text:#10213b;
  --muted:#3f4d63;
}
body{
  color:var(--text);
  font-weight:500;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
p,li{color:#3f4d63}
.section-head p,.card p,.prose p,.prose li,.history-lead p,.history-copy p{color:#3f4d63}
.card h3,.prose h2,.prose h3,.section-head h2,.history-copy h2{color:#10213b}
.card,.history-copy,.pillar,.news-card{color:#10213b}
.card p,.pillar p,.news-card p,.news-card .body p{color:#3f4d63}
.breadcrumbs{color:#eef5ff;font-weight:600}
.page-hero p,.hero p{color:#f3f7ff;text-shadow:0 2px 14px rgba(0,0,0,.28)}
.mega a{color:#263650}
.mega-feature p,.mega-feature li{color:#eaf2ff}
.stat span{color:#46546a;font-weight:700}
.field label{color:#172a46}
.notice,.notice p{color:#25344d}
.article-layout p,.article-layout li{color:#3d4b61}
.tag{color:#073d7c}

/* Fundos escuros: preservar textos claros e elevar contraste */
.dark,.dark h1,.dark h2,.dark h3,.dark h4,.dark h5,.dark h6{color:#fff}
.dark p,.dark li{color:#edf4ff}
.dark .section-head p{color:#edf4ff}
.dark .card{color:#10213b}
.dark .card h3{color:#10213b}
.dark .card p{color:#3f4d63}
.history-event-featured .history-copy h2{color:#fff}
.history-event-featured .history-copy p{color:#f2f6ff}
.footer p,.footer li{color:#d9e4f4}
.footer a{color:#e2eaf6}
.footer-bottom{color:#c8d4e5}
.topbar{color:#eef5ff}

/* Tipografia mais consistente e confortável */
.card p,.history-copy p,.prose p,.prose li{font-size:1rem;line-height:1.75}
.section-head p{line-height:1.75}
.card h3{font-weight:800}
.prose h2,.prose h3,.section-head h2{font-weight:850}

/* Contraste específico da seção Nossa Essência */
.dark .card{
  background:#fff;
  border-color:#dbe3ee;
  box-shadow:0 14px 40px rgba(0,20,55,.18)
}
.dark .card .icon{background:#fff0bd;color:#c94f00}

/* Legibilidade em páginas institucionais e notícias */
.news-card .body{color:#10213b}
.news-card time{color:#c84d00}
.news-card h3{color:#10213b}
.history-kicker{color:#c64c00}
.history-year{color:#00438e}

@media(max-width:650px){
  body{font-size:16px}
  .card p,.history-copy p,.prose p,.prose li{font-size:.98rem}
}

/* Ajustes v5: carreira em alta resolução e timeline institucional */
.banner{position:relative;overflow:hidden;min-height:520px;border-radius:28px;background:#002b68}
.banner>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;filter:none}
.banner:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,25,72,.96) 0%,rgba(0,42,96,.78) 42%,rgba(0,20,55,.18) 75%,rgba(0,0,0,.05) 100%)}
.banner-content{position:relative;z-index:2;max-width:620px;padding:72px 54px;color:#fff}
.banner-content p{color:#fff}
.timeline-connected{position:relative;max-width:980px;margin:0 auto;padding:20px 0}
.timeline-connected:before{content:"";position:absolute;left:110px;top:30px;bottom:30px;width:4px;background:linear-gradient(var(--yellow),var(--orange),var(--blue));border-radius:999px}
.timeline-item{position:relative;display:grid;grid-template-columns:220px 1fr;gap:32px;align-items:start;margin:0 0 34px}
.timeline-marker{position:relative;display:flex;justify-content:flex-end;padding-right:34px}
.timeline-marker:after{content:"";position:absolute;right:-9px;top:18px;width:18px;height:18px;border-radius:50%;background:var(--yellow);border:5px solid #fff;box-shadow:0 0 0 4px var(--blue)}
.timeline-marker span{display:inline-flex;align-items:center;justify-content:center;min-width:96px;padding:10px 16px;border-radius:999px;background:var(--deep);color:#fff;font-weight:900}
.timeline-card{background:#fff;border:1px solid #e4eaf2;border-radius:22px;padding:28px 30px;box-shadow:0 12px 32px rgba(0,28,72,.08)}
.timeline-card h3{margin:0 0 10px;color:var(--deep)}
.timeline-card p{margin:0;color:#34405a}
@media(max-width:760px){.banner{min-height:560px}.banner-content{padding:48px 28px}.banner-content h2{font-size:2.2rem!important}.timeline-connected:before{left:20px}.timeline-item{grid-template-columns:1fr;padding-left:54px}.timeline-marker{justify-content:flex-start;padding:0}.timeline-marker:after{left:-43px;right:auto;top:16px}.timeline-marker span{min-width:82px}.timeline-card{padding:22px}}
