* { margin:0; padding:0; box-sizing:border-box; }
:root {
  --azul-escuro: #0a1628;
  --azul-medio: #1b3a5c;
  --azul-claro: #2c5282;
  --vermelho: #c41e3a;
  --vermelho-escuro: #9b1b30;
  --branco: #ffffff;
  --cinza: #0f1e2f;
  --cinza-escuro: #b0b8c4;
  --texto: #ffffff;
}
html { scroll-behavior:smooth; }
body { font-family:Montserrat,sans-serif; color:var(--texto); line-height:1.6; overflow-x:hidden; background:var(--azul-escuro); }

header {
  position:fixed; top:0; width:100%; z-index:1000;
  padding:20px 5%; display:flex; justify-content:space-between; align-items:center;
  transition:all .4s ease;
}
header .header-actions { display:flex; align-items:center; gap:12px; }
.theme-toggle, .lang-toggle {
  background:none; border:2px solid rgba(255,255,255,.3); border-radius:50%; width:40px; height:40px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; transition:all .3s; color:white; flex-shrink:0;
  font-family:Montserrat,sans-serif; font-size:.7rem; font-weight:800; letter-spacing:1px;
}
.theme-toggle:hover, .lang-toggle:hover { border-color:var(--vermelho); background:rgba(255,255,255,.1); }
.theme-toggle svg { width:20px; height:20px; fill:currentColor; }

header.scrolled { background:rgba(10,22,40,.97); backdrop-filter:blur(12px); padding:14px 5%; box-shadow:0 4px 30px rgba(0,0,0,.4); }
.logo { font-size:clamp(1.2rem,3vw,1.7rem); font-weight:900; color:var(--azul-medio); text-transform:uppercase; letter-spacing:3px; }
.logo span { color:var(--vermelho); }
nav ul { list-style:none; display:flex; gap:clamp(16px,3vw,32px); }
nav a { color:var(--branco); text-decoration:none; font-weight:600; font-size:clamp(.7rem,1.2vw,.85rem); text-transform:uppercase; letter-spacing:1.5px; position:relative; transition:color .3s; white-space:nowrap; }
nav a::after { content:""; position:absolute; bottom:-6px; left:0; width:0; height:2.5px; background:var(--vermelho); transition:width .3s ease; }
nav a:hover::after { width:100%; }
nav a:hover { color:var(--vermelho); }
.menu-mobile { display:none; flex-direction:column; gap:5px; cursor:pointer; z-index:1001; }
.menu-mobile span { width:28px; height:3px; background:var(--branco); border-radius:2px; transition:.3s; }

.hero { position:relative; height:100vh; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.hero-video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2; }
.hero-overlay { position:absolute; inset:0; background:linear-gradient(135deg,rgba(10,22,40,.35),rgba(27,58,92,.2),rgba(196,30,58,.1)); z-index:-1; }
.hero-content { text-align:center; color:var(--branco); z-index:1; padding:0 20px; max-width:950px; animation:fadeInUp 1.2s ease; }
.footer-logo { max-width:180px; height:auto; display:block; margin:0 0 15px 0; filter:drop-shadow(2px 4px 20px rgba(0,0,0,.7)); }
.scroll-down { position:absolute; bottom:35px; left:50%; transform:translateX(-50%); width:30px; height:30px; cursor:pointer; animation:bounce 2.2s infinite; opacity:.8; }
.scroll-down::before { content:''; position:absolute; top:3px; left:3px; width:24px; height:24px; border-right:3px solid var(--branco); border-bottom:3px solid var(--branco); transform:rotate(45deg); border-radius:2px; }

section { padding:clamp(50px,8vw,100px) 5%; }
.section-title { text-align:center; margin-bottom:clamp(35px,6vw,65px); }
.section-title h2 { font-size:clamp(1.6rem,4vw,2.6rem); color:var(--branco); text-transform:uppercase; letter-spacing:4px; margin-bottom:18px; font-weight:800; }
.section-title h2::after { content:""; display:block; width:70px; height:4px; background:var(--vermelho); margin:18px auto 0; border-radius:2px; }
.section-title p { color:var(--cinza-escuro); font-size:clamp(.9rem,1.5vw,1.1rem); max-width:720px; margin:0 auto; font-weight:500; }

.sobre { background:var(--cinza) !important; }
.sobre-grid { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(30px,5vw,70px); align-items:start; max-width:1300px; margin:0 auto; }
.sobre-texto h3 { font-size:clamp(1.3rem,3vw,2rem); color:var(--branco); margin-bottom:22px; font-weight:700; }
.sobre-texto p { margin-bottom:18px; text-align:justify; color:var(--cinza-escuro); font-size:clamp(.9rem,1.2vw,1rem); line-height:1.75; }
.sobre-texto strong { color:var(--vermelho); }
.stats { display:grid; grid-template-columns:repeat(2,1fr); gap:22px; margin-top:10px; }
.stat-item { text-align:center; padding:28px 16px; background:rgba(255,255,255,.05); border-radius:12px; border-bottom:4px solid var(--vermelho); transition:all .35s; }
.stat-item:hover { transform:translateY(-6px); }
.stat-item h4 { font-size:clamp(1.5rem,3vw,2.2rem); color:var(--branco); font-weight:900; }
.stat-item p { color:var(--cinza-escuro); font-size:.75rem; text-transform:uppercase; letter-spacing:1px; font-weight:700; margin-top:6px; }
.pillars { display:flex; flex-wrap:wrap; gap:20px; margin-top:35px; }
.pillar { flex:1; min-width:220px; background:rgba(255,255,255,.05); padding:20px 12px; border-radius:16px; text-align:center; border-left:3px solid var(--vermelho); overflow-wrap:break-word; }
.pillar h4 { font-size:clamp(.9rem,1.3vw,1.1rem); font-weight:800; color:var(--branco); overflow-wrap:break-word; hyphens:auto; }

.unidades { background:var(--cinza); }
.marquee-wrapper { max-width:1400px; margin:0 auto 60px; overflow:hidden; }
.marquee-track { display:flex; gap:24px; width:max-content; animation:marquee-scroll 35s linear infinite; }
.marquee-wrapper:hover .marquee-track { animation-play-state:paused; }
.unit-card { flex:0 0 240px; height:300px; background:rgba(255,255,255,.06); border-radius:20px; border:2px solid rgba(255,255,255,.08); display:flex; flex-direction:column; align-items:center; justify-content:center; padding:28px 22px; cursor:pointer; transition:all .4s cubic-bezier(.175,.885,.32,1.275); position:relative; }
.unit-card::before { content:""; position:absolute; top:0; left:0; width:100%; height:5px; background:linear-gradient(90deg,var(--azul-medio),var(--vermelho)); opacity:0; transition:opacity .3s; }
.unit-card:hover::before, .unit-card.active::before { opacity:1; }
.unit-card:hover, .unit-card.active { transform:translateY(-10px) scale(1.04); border-color:var(--vermelho); box-shadow:0 20px 50px rgba(196,30,58,.2); }
.unit-logo-wrap { width:130px; height:130px; border-radius:50%; display:flex; align-items:center; justify-content:center; margin-bottom:18px; background:linear-gradient(135deg,var(--vermelho),var(--vermelho-escuro)); overflow:hidden; padding:15px; }
.unit-logo-wrap img { width:100%; height:100%; object-fit:contain; filter:brightness(0) invert(1); }
.unit-card h4 { font-size:1rem; color:var(--branco); text-align:center; font-weight:800; text-transform:uppercase; }
.unit-card p { font-size:.75rem; color:var(--cinza-escuro); text-align:center; margin-top:8px; }
@keyframes marquee-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

.unidade-institucional { display:none; animation:fadeIn .6s ease; max-width:1300px; margin:0 auto; }
.unidade-institucional.active { display:block; }
.unidade-header { display:grid; grid-template-columns:1fr 1fr; gap:clamp(20px,4vw,50px); align-items:center; margin-bottom:50px; }
.unidade-info h3 { font-size:clamp(1.5rem,3vw,2.4rem); color:var(--branco); margin-bottom:10px; font-weight:900; text-transform:uppercase; letter-spacing:2px; }
.unidade-info h3 span { color:var(--vermelho); }
.unidade-info .tagline { font-size:clamp(.9rem,1.2vw,1.1rem); color:var(--cinza-escuro); font-weight:600; margin-bottom:20px; text-transform:uppercase; letter-spacing:2px; }
.unidade-info p { color:var(--cinza-escuro); line-height:1.8; margin-bottom:16px; text-align:justify; font-size:clamp(.85rem,1.1vw,.95rem); }
.unidade-stats-row { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; margin:30px 0; }
.unidade-stat { text-align:center; padding:20px 10px; background:rgba(255,255,255,.05); border-radius:12px; border-bottom:3px solid var(--vermelho); transition:all .3s; }
.unidade-stat:hover { transform:translateY(-4px); }
.unidade-stat h5 { font-size:clamp(1.2rem,2vw,1.6rem); color:var(--branco); font-weight:900; }
.unidade-stat p { font-size:.7rem; color:var(--cinza-escuro); text-transform:uppercase; letter-spacing:1px; font-weight:700; margin-top:4px; text-align:center; }
.unidade-servicos { margin:40px 0; }
.unidade-servicos h4 { font-size:clamp(1rem,1.8vw,1.3rem); color:var(--branco); margin-bottom:20px; font-weight:800; text-transform:uppercase; letter-spacing:2px; }
.unidade-servicos h4::after { content:""; display:block; width:50px; height:3px; background:var(--vermelho); margin-top:8px; border-radius:2px; }
.servicos-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.servico-item { display:flex; align-items:center; gap:10px; padding:14px 16px; background:rgba(255,255,255,.04); border-radius:10px; border-left:3px solid var(--azul-medio); transition:all .3s; }
.servico-item:hover { background:rgba(196,30,58,.06); border-left-color:var(--vermelho); transform:translateX(4px); }
.servico-item .icon { font-size:1.4rem; }
.servico-item span { font-size:.85rem; font-weight:600; color:var(--branco); }
.unidade-imagem-destaque { position:relative; border-radius:20px; overflow:hidden; min-height:clamp(250px,30vw,400px); box-shadow:0 20px 50px rgba(0,0,0,.15); background:linear-gradient(135deg,var(--azul-medio),var(--azul-claro)); }
.unidade-imagem-destaque img { width:100%; height:100%; object-fit:cover; transition:transform .6s; }
.unidade-imagem-destaque:hover img { transform:scale(1.05); }
.unidade-imagem-destaque .overlay { position:absolute; bottom:0; left:0; right:0; padding:30px; background:linear-gradient(transparent,rgba(10,22,40,.9)); color:white; }
.unidade-imagem-destaque .overlay h4 { font-size:1.2rem; font-weight:800; margin-bottom:5px; }
.unidade-imagem-destaque .overlay p { font-size:.85rem; opacity:.9; color:white; text-align:left; }
.gallery-section { margin-top:40px; }
.gallery-section h4 { font-size:clamp(1rem,1.8vw,1.3rem); color:var(--branco); margin-bottom:20px; font-weight:800; text-transform:uppercase; letter-spacing:2px; }
.gallery-section h4::after { content:""; display:block; width:50px; height:3px; background:var(--vermelho); margin-top:8px; border-radius:2px; }
.gallery { display:grid; gap:14px; }
.gallery-item { position:relative; overflow:hidden; border-radius:10px; cursor:pointer; aspect-ratio:4/3; background:rgba(255,255,255,.08); }
.gallery-item img { width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.gallery-item:hover img { transform:scale(1.1); }

.infra-highlight { background:var(--azul-escuro); color:var(--branco); padding:clamp(40px,6vw,70px) 5%; }
.infra-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:35px; max-width:1300px; margin:0 auto; }
.infra-card { background:rgba(255,255,255,.05); border-radius:20px; padding:30px 20px; text-align:center; backdrop-filter:blur(4px); border:1px solid rgba(255,255,255,.1); }
.infra-card h3 { font-size:clamp(1.2rem,2vw,1.5rem); color:var(--vermelho); margin-bottom:15px; }
.infra-card p { font-size:.9rem; opacity:.9; }
.infra-destaques { display:flex; flex-wrap:wrap; justify-content:center; gap:12px 24px; margin-top:40px; text-align:center; }
.infra-destaques span { color:var(--branco); font-size:clamp(.8rem,1.2vw,1rem); }

.tabelas-section { background:linear-gradient(135deg,var(--azul-escuro),var(--azul-medio)); color:var(--branco); }
.tabelas-section .section-title h2 { color:var(--branco); }
.tabelas-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:35px; max-width:900px; margin:0 auto; }
.tabela-card { background:rgba(255,255,255,.06); border-radius:16px; padding:clamp(25px,4vw,45px) clamp(20px,3vw,35px); text-align:center; cursor:pointer; transition:all .4s; backdrop-filter:blur(6px); }
.tabela-card:hover { background:rgba(255,255,255,.1); transform:translateY(-6px); }



footer { background:#070f1a; color:#8892a0; padding:clamp(35px,6vw,70px) 5% 35px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1.3fr; gap:clamp(30px,5vw,60px); max-width:1250px; margin:0 auto 50px; }
.footer-brand .logo { margin-bottom:22px; display:inline-block; font-size:1.6rem; }
.footer-links h4 { color:var(--branco); margin-bottom:22px; text-transform:uppercase; letter-spacing:2px; }
.footer-links ul { list-style:none; }
.footer-links li { margin-bottom:12px; }
.footer-links a { color:#8892a0; text-decoration:none; transition:.3s; }
.footer-links a:hover { color:var(--vermelho); padding-left:5px; }
.footer-contact p { margin-bottom:10px; font-size:.9rem; }
.footer-bottom { text-align:center; padding-top:35px; border-top:1px solid rgba(255,255,255,.06); }

.modal-overlay { display:none; position:fixed; inset:0; background:rgba(10,22,40,.95); z-index:3000; justify-content:center; align-items:center; backdrop-filter:blur(8px); }
.modal-overlay.active { display:flex; }
.modal-box { background:var(--branco); border-radius:20px; width:90%; max-width:1000px; height:85vh; display:flex; flex-direction:column; overflow:hidden; }
.modal-header { display:flex; justify-content:space-between; padding:20px 30px; background:var(--azul-escuro); color:var(--branco); }
.modal-close { font-size:2rem; cursor:pointer; line-height:1; }
.modal-body { flex:1; overflow:auto; }
.modal-body iframe { width:100%; height:100%; border:none; }
.modal-footer { padding:15px 30px; background:var(--cinza); text-align:right; }
.modal-footer .btn { display:inline-block; padding:10px 24px; background:var(--vermelho); color:white; text-decoration:none; border-radius:8px; font-weight:600; }

.lightbox { display:none; position:fixed; inset:0; background:rgba(10,22,40,.96); z-index:2000; justify-content:center; align-items:center; }
.lightbox.active { display:flex; }
.lightbox-img { max-width:min(85%,95vw); max-height:80vh; border-radius:12px; }
.lightbox-close { position:absolute; top:clamp(15px,3vw,30px); right:clamp(20px,4vw,40px); color:white; font-size:clamp(2rem,5vw,3rem); cursor:pointer; z-index:2001; line-height:1; }
.lightbox-nav { position:absolute; top:50%; transform:translateY(-50%); color:white; font-size:clamp(2rem,5vw,3rem); cursor:pointer; padding:clamp(10px,2vw,20px); opacity:.7; transition:opacity .3s; user-select:none; }
.lightbox-nav:hover { opacity:1; }
.lightbox-prev { left:clamp(5px,2vw,20px); }
.lightbox-next { right:clamp(5px,2vw,20px); }
.lightbox-counter { position:absolute; bottom:30px; left:50%; transform:translateX(-50%); color:white; font-size:1rem; background:rgba(0,0,0,.5); padding:8px 20px; border-radius:20px; }



@keyframes fadeInUp { from{opacity:0;transform:translateY(50px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(-15px)} }
.fade-in { opacity:0; transform:translateY(35px); transition:all .8s ease; }
.fade-in.visible { opacity:1; transform:translateY(0); }

.sistemas { background:var(--cinza); padding:clamp(50px,6vw,80px) 5%; }
.sistemas-intro { text-align:center; max-width:800px; margin:0 auto 50px; }
.sistemas-intro h3 { font-size:1.4rem; color:var(--branco); font-weight:700; margin-bottom:12px; }
.sistemas-intro p { color:var(--cinza-escuro); font-size:1rem; line-height:1.7; }
.sistemas-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr)); gap:24px; max-width:1300px; margin:0 auto 60px; }
.sistema-card { display:flex; flex-direction:column; align-items:center; text-decoration:none; background:rgba(255,255,255,.05); border-radius:20px; padding:32px 28px; text-align:center; border:2px solid rgba(255,255,255,.08); transition:all .4s cubic-bezier(.175,.885,.32,1.275); cursor:pointer; position:relative; }
.sistema-card::before { content:""; position:absolute; top:0; left:0; width:100%; height:4px; background:linear-gradient(90deg,var(--azul-medio),var(--vermelho)); opacity:0; transition:opacity .3s; }
.sistema-card:hover::before { opacity:1; }
.sistema-card:hover { transform:translateY(-8px); border-color:var(--vermelho); box-shadow:0 20px 50px rgba(196,30,58,.12); }
.sistema-icon { width:70px; height:70px; border-radius:50%; background:linear-gradient(135deg,var(--vermelho),var(--vermelho-escuro)); display:flex; align-items:center; justify-content:center; margin:0 auto 20px; font-size:1.8rem; color:var(--branco); transition:all .35s; }
.sistema-card:hover .sistema-icon { transform:scale(1.1); }
.sistema-card h4 { font-size:1.1rem; color:var(--branco); font-weight:800; margin-bottom:10px; text-transform:uppercase; letter-spacing:1px; }
.sistema-card p { font-size:.85rem; color:var(--cinza-escuro); line-height:1.6; margin-bottom:18px; }
.sistema-card .btn-sistema { display:inline-block; padding:10px 28px; background:var(--azul-medio); color:var(--branco); text-decoration:none; font-weight:700; font-size:.75rem; text-transform:uppercase; letter-spacing:1.5px; border-radius:4px; transition:all .3s; border:2px solid var(--azul-medio); }
.sistema-card .btn-sistema:hover { background:transparent; color:var(--azul-medio); }
.sistema-card:hover .btn-sistema { background:var(--vermelho); border-color:var(--vermelho); }
.sistema-card:hover .btn-sistema:hover { background:transparent; color:var(--vermelho); }

.noticias-row { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr)); gap:24px; max-width:1300px; margin:0 auto; }
.noticia-card { background:rgba(255,255,255,.05); border-radius:16px; overflow:hidden; border:1px solid rgba(255,255,255,.08); transition:all .35s; display:flex; flex-direction:column; }
.noticia-card:hover { transform:translateY(-6px); border-color:var(--vermelho); }
.noticia-img { width:100%; height:clamp(150px,20vw,180px); overflow:hidden; background:linear-gradient(135deg,var(--azul-medio),var(--azul-claro)); }
.noticia-img img { width:100%; height:100%; object-fit:cover; }
.noticia-body { padding:24px; flex:1; display:flex; flex-direction:column; }
.noticia-tag { display:inline-block; padding:4px 12px; background:rgba(196,30,58,.1); color:var(--vermelho); font-size:.7rem; font-weight:700; text-transform:uppercase; letter-spacing:1px; border-radius:20px; margin-bottom:12px; width:fit-content; }
.noticia-body h4 { font-size:clamp(.95rem,1.3vw,1.05rem); color:var(--branco); font-weight:800; margin-bottom:10px; line-height:1.4; }
.noticia-body p { font-size:.85rem; color:var(--cinza-escuro); line-height:1.6; flex:1; }
.noticia-data { font-size:.75rem; color:var(--cinza-escuro); margin-top:14px; font-weight:600; }
.noticia-data::before { content:"\01F4C5 "; }

@media(max-width:1024px) {
  .gallery { grid-template-columns:repeat(3,1fr); }
  .sobre-grid { grid-template-columns:1fr; }
  .stats { grid-template-columns:repeat(2,1fr); }
  .unidade-header { grid-template-columns:1fr; }
  .unidade-stats-row { grid-template-columns:repeat(2,1fr); }
  .servicos-grid { grid-template-columns:repeat(2,1fr); }
  .footer-grid { grid-template-columns:1fr 1fr; gap:30px; }
}
@media(max-width:768px) {
  .menu-mobile { display:flex; }
  nav { display:none; position:absolute; top:100%; left:0; width:100%; background:rgba(10,22,40,.98); padding:25px; backdrop-filter:blur(12px); }
  nav.active { display:block; }
  nav ul { flex-direction:column; gap:20px; }
  .theme-toggle, .lang-toggle { width:36px; height:36px; font-size:.65rem; }
  .gallery { grid-template-columns:repeat(2,1fr); }
  .tabelas-grid { grid-template-columns:1fr; }
  .footer-grid { grid-template-columns:1fr; gap:40px; }
  .pillars { flex-direction:column; }
  .servicos-grid { grid-template-columns:1fr; }
  .sistemas-grid { grid-template-columns:1fr; }
  .noticias-row { grid-template-columns:1fr; }
  .stats { grid-template-columns:repeat(2,1fr); gap:12px; }
  .stat-item { padding:18px 10px; }
  .unit-card { flex:0 0 180px; height:240px; padding:18px 16px; }
  .unit-logo-wrap { width:90px; height:90px; padding:10px; }
  .unidade-stats-row { grid-template-columns:repeat(2,1fr); gap:10px; }
  .unidade-imagem-destaque { min-height:220px; }
  section { padding:40px 4%; }

  .marquee-track { animation-duration:25s; }
  .gallery { grid-template-columns:repeat(2,1fr); gap:8px; }
}
@media(max-width:480px) {
  .gallery { grid-template-columns:1fr 1fr; gap:6px; }
  .stats { grid-template-columns:1fr 1fr; gap:8px; }
  .unidade-stats-row { grid-template-columns:1fr 1fr; }
  .unit-card { flex:0 0 150px; height:200px; padding:14px 12px; }
  .unit-logo-wrap { width:70px; height:70px; padding:8px; }
  .unit-card h4 { font-size:.85rem; }
  .section-title h2 { font-size:1.4rem; }
  .theme-toggle, .lang-toggle { width:32px; height:32px; font-size:.6rem; }
}

body.light-mode {
  --azul-escuro: #1a202c;
  --cinza: #f0f2f5;
  --cinza-escuro: #4a5568;
  --texto: #1a202c;
  background: var(--branco);
}
body.light-mode .sistemas { background:linear-gradient(180deg,var(--branco),var(--cinza)); }
body.light-mode .sobre { background:var(--branco) !important; }
body.light-mode .unidades { background:linear-gradient(180deg,var(--cinza),var(--branco)); }
body.light-mode .sistema-card { background:var(--branco); border-color:rgba(27,58,92,.08); }
body.light-mode .sistema-card h4 { color:var(--azul-escuro); }
body.light-mode .sistema-card p { color:var(--cinza-escuro); }
body.light-mode .sistema-card .btn-sistema { background:var(--azul-medio); border-color:var(--azul-medio); }
body.light-mode .sistema-card:hover .btn-sistema { background:var(--vermelho); border-color:var(--vermelho); }
body.light-mode .noticia-card { background:var(--branco); border-color:rgba(27,58,92,.08); }
body.light-mode .noticia-body h4 { color:var(--azul-escuro); }
body.light-mode .noticia-body p, body.light-mode .noticia-data { color:var(--cinza-escuro); }
body.light-mode .stat-item { background:linear-gradient(145deg,var(--cinza),var(--branco)); }
body.light-mode .stat-item h4 { color:var(--azul-escuro); }
body.light-mode .stat-item p { color:var(--cinza-escuro); }
body.light-mode .pillar { background:rgba(27,58,92,.05); }
body.light-mode .pillar h4 { color:var(--azul-medio); }
body.light-mode .unit-logo-wrap { background:linear-gradient(135deg,var(--azul-medio),var(--azul-claro)); }
body.light-mode .unit-card { background:linear-gradient(145deg,rgba(255,255,255,.98),rgba(240,242,245,.95)); border-color:rgba(27,58,92,.1); }
body.light-mode .unit-card h4 { color:var(--azul-escuro); }
body.light-mode .unit-card p { color:var(--cinza-escuro); }
body.light-mode .unidade-stat { background:linear-gradient(145deg,var(--cinza),var(--branco)); }
body.light-mode .unidade-stat h5 { color:var(--azul-escuro); }
body.light-mode .unidade-stat p { color:var(--cinza-escuro); }
body.light-mode .servico-item { background:rgba(27,58,92,.04); }
body.light-mode .servico-item span { color:var(--texto); }
body.light-mode .section-title h2 { color:var(--azul-escuro); }
body.light-mode .section-title p { color:var(--cinza-escuro); }
body.light-mode .sobre-texto h3 { color:var(--azul-escuro); }
body.light-mode .sobre-texto p { color:#4a5568; }
body.light-mode .unidade-info h3 { color:var(--azul-escuro); }
body.light-mode .unidade-info .tagline { color:var(--cinza-escuro); }
body.light-mode .unidade-info p { color:#4a5568; }
body.light-mode .unidade-servicos h4, body.light-mode .gallery-section h4 { color:var(--azul-escuro); }
body.light-mode .sistemas-intro h3 { color:var(--azul-escuro); }
body.light-mode .sistemas-intro p { color:var(--cinza-escuro); }
body.light-mode .sistema-icon { background:var(--azul-medio); }
body.light-mode .gallery-item { background:#e2e8f0; }
body.light-mode .infra-card p { color:var(--texto); }
body.light-mode .theme-toggle, body.light-mode .lang-toggle { border-color:rgba(0,0,0,.25); color:var(--azul-escuro); }
body.light-mode .theme-toggle:hover, body.light-mode .lang-toggle:hover { border-color:var(--vermelho); background:rgba(0,0,0,.05); }
body.light-mode header { background:rgba(255,255,255,.85); backdrop-filter:blur(10px); }
body.light-mode header.scrolled { background:rgba(255,255,255,.97); }
body.light-mode nav a { color:var(--azul-escuro); }
body.light-mode .menu-mobile span { background:var(--azul-escuro); }
body.light-mode .hero-overlay { background:linear-gradient(135deg,rgba(255,255,255,.3),rgba(255,255,255,.15),rgba(196,30,58,.05)); }
body.light-mode .hero-content { color:var(--azul-escuro); }
body.light-mode .footer-logo { max-width:180px; height:auto; display:block; margin:0 0 15px 0; filter:drop-shadow(2px 4px 20px rgba(0,0,0,.7)); }
.scroll-down { color:var(--azul-escuro); }
body.light-mode .infra-highlight { background:var(--cinza); }
body.light-mode .infra-highlight .section-title h2 { color:var(--azul-escuro) !important; }
body.light-mode .infra-highlight .section-title p { color:var(--cinza-escuro) !important; }
body.light-mode .infra-destaques span { color:var(--azul-escuro); }
body.light-mode .infra-card { background:var(--branco); border-color:rgba(0,0,0,.08); }
body.light-mode .tabelas-section { background:linear-gradient(135deg,var(--cinza),var(--branco)); }
body.light-mode .tabela-card { background:var(--branco); border:1px solid rgba(0,0,0,.08); }
body.light-mode .tabela-card h3 { color:var(--azul-escuro); }
body.light-mode .tabela-card p { color:var(--cinza-escuro); }
body.light-mode .tabela-card svg { stroke:var(--azul-escuro); }
body.light-mode footer { background:var(--cinza); }
body.light-mode footer .logo, body.light-mode .footer-links h4, body.light-mode .footer-links a, body.light-mode .footer-contact p, body.light-mode .footer-bottom p { color:var(--azul-escuro); }
body.light-mode .footer-bottom { border-top-color:rgba(0,0,0,.08); }
body.light-mode .modal-header { background:var(--cinza); color:var(--azul-escuro); }
@media(max-width:768px) {
  body.light-mode nav.active { background:rgba(255,255,255,.98); }
  body.light-mode nav.active a { color:var(--azul-escuro); }
}