*{box-sizing:border-box}
:root{--navy:#071a3a;--navy2:#09274a;--blue:#087cf0;--cyan:#00c5ff;--green:#45d900;--ink:#172b45;--muted:#718198;--line:#e5ebf2;--surface:#fff}
html{scroll-behavior:smooth;scroll-padding-top:110px}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff;line-height:1.55}
a{color:inherit;text-decoration:none}
.container{width:min(1180px,calc(100% - 48px));margin-inline:auto}
.skip-link{position:absolute;left:-9999px;top:8px;background:#fff;padding:10px;z-index:100}
.skip-link:focus{left:8px}
.site-header{position:relative;z-index:10;background:#fff;border-bottom:1px solid #e9eef5;box-shadow:0 3px 18px rgba(10,30,60,.04)}
.header-inner{min-height:150px;display:flex;align-items:center;justify-content:center;gap:0}
.brand{display:flex;align-items:center;justify-content:center;flex:0 1 auto;min-width:0;margin-inline:auto}
.brand-logo{display:block;width:300px;height:125px;max-width:100%;object-fit:contain;object-position:center}
.main-nav{display:flex;align-items:center;gap:clamp(18px,3vw,42px);font-size:14px;font-weight:750;color:#4d5d72}
.main-nav a:hover,.mobile-nav a:hover{color:var(--blue)}
.menu-toggle{display:none;width:44px;height:44px;border:1px solid var(--line);border-radius:12px;background:#fff;cursor:pointer;padding:10px}
.menu-toggle span{display:block;height:2px;width:100%;background:var(--navy);margin:4px 0;border-radius:2px}
.mobile-nav{padding:8px 24px 18px;background:#fff;border-top:1px solid var(--line)}
.mobile-nav a{display:block;padding:12px 0;font-weight:700;color:#4d5d72}
.systems-section{color:#fff;background:radial-gradient(ellipse at 82% 4%,rgba(0,184,244,.18),transparent 35%),linear-gradient(112deg,#030b20 0%,#071a3a 58%,#09274a 100%);padding:30px 0 26px;min-width:0}
.section-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.9fr);gap:40px;align-items:end;margin-bottom:34px}
.eyebrow{display:inline-block;color:var(--cyan);font-size:11px;letter-spacing:2px;font-weight:900}
h1,h2,p{margin-top:0}
.section-heading h1{font-size:clamp(28px,3.2vw,42px);line-height:1.15;letter-spacing:-1.5px;margin:12px 0 0;max-width:540px}
.section-heading h1 span,.about-inner h2 span{color:var(--cyan)}
.section-heading>p{max-width:470px;color:#c4d1df;margin:0 0 3px;font-size:14px}
.system-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;align-items:stretch;min-width:0}
.system-card{position:relative;min-width:0;background:#fff;color:var(--ink);border:1px solid rgba(255,255,255,.75);border-radius:16px;padding:14px 11px 12px;display:flex;flex-direction:column;box-shadow:0 8px 22px rgba(0,0,0,.08);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
.system-card:hover{transform:translateY(-3px);border-color:#70d9ff;box-shadow:0 14px 28px rgba(0,0,0,.14)}
.system-card-top{position:relative;height:68px;min-height:68px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;margin-bottom:8px;padding-top:5px;overflow:visible}
.system-icon{width:46px;height:46px;flex:0 0 46px;border-radius:14px;display:grid;place-items:center;background:#eaf2fc;color:var(--blue)}
.system-icon svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.icon-green{background:#e4f6ef;color:#258c69}.icon-violet{background:#f0edfc;color:#7460b7}.icon-cyan{background:#e3f9ff;color:#087cb6}.icon-gold{background:#fff4df;color:#a87a26}
.system-icon.system-logo{display:flex;align-items:center;justify-content:center;width:100px!important;max-width:100%!important;height:42px!important;min-height:42px!important;max-height:42px!important;flex:0 0 42px!important;background:transparent;border-radius:0;padding:0;overflow:hidden}
.system-icon.system-logo img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;flex:0 0 auto}
.card-status{position:absolute;top:-3px;right:-3px;z-index:2;width:13px;height:13px;font-size:0;white-space:nowrap;color:transparent;background:transparent;border:0;border-radius:50%;padding:0;display:flex;align-items:center;justify-content:center;line-height:1;box-shadow:none}
.card-status i{display:block;width:10px;height:10px;background:#22c55e;border:2px solid #fff;border-radius:50%;box-shadow:0 1px 4px rgba(0,0,0,.22)}
.card-status.unavailable i{background:#ef4444}
.system-card h2{font-size:14px;line-height:1.25;margin:0 0 5px;overflow-wrap:anywhere;min-height:2.5em}
.system-subtitle{font-size:10px;font-weight:800;color:#4278b9;margin:0 0 12px}
.system-description{font-size:12px;line-height:1.7;color:#718198;margin:0 0 20px;overflow-wrap:anywhere}
.system-link{border-top:1px solid #e9eef5;padding-top:10px;margin-top:auto;color:var(--blue);font-weight:850;font-size:12px;display:flex;justify-content:space-between;gap:8px;align-items:center}
.system-link:hover{color:#0058b8}
.system-link span{font-size:17px}
.section-footnote{margin:24px 0 0;color:#aebed1;font-size:10px;line-height:1.6}
.empty-state{padding:22px;border:1px solid rgba(255,255,255,.2);border-radius:14px;color:#fff}
.about-section{padding:76px 0;background:#f6f8fb}
.about-inner{max-width:760px;text-align:center}
.about-inner h2{font-size:clamp(27px,3vw,38px);line-height:1.2;letter-spacing:-1px;margin:12px 0}
.about-inner h2 span{color:var(--blue)}
.about-inner p{max-width:660px;margin:0 auto;color:#62748a}
.contact-section{background:#fff;padding:54px 0}
.contact-inner{display:flex;align-items:center;justify-content:space-between;gap:32px}
.contact-inner h2{font-size:25px;margin:8px 0}
.contact-inner p{color:var(--muted);margin:0}
.contact-actions{display:flex;flex-wrap:wrap;gap:12px}
.button{display:inline-flex;align-items:center;justify-content:center;padding:12px 18px;border-radius:10px;background:var(--blue);color:#fff;font-size:13px;font-weight:800}
.button:hover{background:#0066d1}
.button-outline{background:#fff;color:var(--blue);border:1px solid var(--blue)}
.site-footer{background:#06152e;color:#aabbd0;padding:22px 0}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:18px;font-size:11px}
.footer-inner p{margin:0;text-align:right}
@media(max-width:1100px){.container{width:min(100% - 40px,900px)}.system-grid{grid-template-columns:repeat(7,minmax(145px,1fr));overflow-x:auto;padding-bottom:8px}.system-card{padding:14px 11px 12px}.system-card-top{height:68px;min-height:68px}.system-icon.system-logo{width:100px;height:42px}.section-heading{gap:24px}}
@media(max-width:760px){.container{width:calc(100% - 32px)}.header-inner{min-height:118px;gap:0;justify-content:center}.brand{flex:0 1 auto;width:100%;justify-content:center}.brand-logo{width:250px;height:100px}.main-nav{display:none}.menu-toggle{display:block;flex:0 0 44px}.section-heading{grid-template-columns:1fr;gap:14px;margin-bottom:24px}.section-heading h1{font-size:clamp(27px,6vw,36px)}.systems-section{padding:46px 0 42px}.system-grid{grid-template-columns:repeat(7,minmax(145px,1fr));gap:12px;overflow-x:auto;padding-bottom:8px}.system-card{padding:14px 11px 12px;border-radius:15px}.system-card-top{height:68px;min-height:68px;gap:0}.system-icon{width:40px;height:40px;flex-basis:40px}.system-icon.system-logo{width:100px;max-width:100%;height:42px;flex-basis:42px}.card-status{top:-3px;right:-3px}.system-card h2{font-size:15px}.system-description{font-size:11px}.about-section{padding:52px 0}.contact-inner{align-items:flex-start;flex-direction:column;gap:20px}.footer-inner{align-items:flex-start;flex-direction:column;gap:7px}.footer-inner p{text-align:left}}
@media(max-width:420px){.container{width:calc(100% - 24px)}.brand{flex-basis:auto;width:100%;justify-content:center}.brand-logo{width:220px;height:90px}.system-grid{grid-template-columns:repeat(7,minmax(145px,1fr));overflow-x:auto}.system-card{padding:14px 11px 12px}.system-card-top{height:68px;min-height:68px}.system-icon.system-logo{width:100px;max-width:100%;height:42px;flex-basis:42px}.section-heading h1{letter-spacing:-.8px}.system-description{font-size:12px}.systems-section{padding-top:36px}.contact-inner h2{font-size:22px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important}}


/* Botão flutuante do WhatsApp */
.whatsapp-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom));
  z-index: 1000;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: #25D366;
  box-shadow: 0 8px 24px rgba(3, 20, 42, .28);
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.whatsapp-float svg { display:block; width:34px; height:34px; }
.whatsapp-float:hover { background:#1fbd5b; transform:translateY(-3px); box-shadow:0 11px 28px rgba(3,20,42,.32); }
.whatsapp-float:focus-visible { outline:3px solid #00B8F4; outline-offset:4px; }
@media (max-width:600px) {
  .whatsapp-float { width:54px; height:54px; right:16px; bottom:max(16px, env(safe-area-inset-bottom)); }
  .whatsapp-float svg { width:31px; height:31px; }
}
@media (prefers-reduced-motion: reduce) { .whatsapp-float { transition:none; } }

/* v1.14: menu superior removido; cabeçalho dedicado à logo */
.main-nav,.mobile-nav,.menu-toggle{display:none!important}
.header-inner{justify-content:center!important}.brand{margin-inline:auto!important}.brand-logo{object-position:center!important}


/* v1.31 — visual clean: logos em destaque, sem nomes visíveis */
.section-heading,.section-footnote{display:none!important}
.systems-section{padding:24px 0!important}
.system-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px}
.system-card{height:230px;min-height:230px;padding:14px 12px 10px;border-radius:18px}
.system-card-top{height:174px;min-height:174px;margin:0;padding:8px 0 0;display:flex;align-items:center;justify-content:center}
.system-icon.system-logo{width:100%!important;max-width:100%!important;height:158px!important;min-height:0!important;max-height:158px!important;flex:1 1 auto!important;overflow:visible!important}
.system-icon.system-logo img{width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.system-card h2{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.system-link{min-height:28px;padding-top:8px;margin-top:auto;justify-content:flex-end;border-top:1px solid #e9eef5;font-size:0;line-height:1}
.system-link .link-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.system-link span[aria-hidden="true"]{font-size:24px;line-height:1;color:var(--blue)}
.card-status{top:0;right:0}
@media(max-width:1100px){.system-grid{grid-template-columns:repeat(7,minmax(150px,1fr));overflow-x:auto;padding:4px 2px 10px}.system-card{height:220px;min-height:220px}.system-card-top{height:164px;min-height:164px}.system-icon.system-logo{height:148px!important;max-height:148px!important}}
@media(max-width:760px){.systems-section{padding:18px 0!important}.system-grid{grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px}.system-card{height:220px;min-height:220px;padding:12px 10px 9px}.system-card-top{height:164px;min-height:164px}.system-icon.system-logo{height:148px!important;max-height:148px!important}}


/* v1.32 — cards clean com nomes dos sistemas visíveis */
.section-heading,.section-footnote{display:none!important}
.systems-section{padding:24px 0!important}
.system-grid{grid-template-columns:repeat(7,minmax(0,1fr));gap:12px;align-items:stretch}
.system-card{height:230px;min-height:230px;padding:12px 12px 10px;border-radius:18px}
.system-card-top{height:128px;min-height:128px;margin:0 0 8px;padding:5px 0 0;display:flex;align-items:center;justify-content:center;overflow:visible}
.system-icon.system-logo{width:100%!important;max-width:100%!important;height:112px!important;min-height:0!important;max-height:112px!important;flex:1 1 auto!important;background:transparent;border-radius:0;padding:0;overflow:hidden!important}
.system-icon.system-logo img{display:block;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.system-card h2{position:static!important;width:auto!important;height:auto!important;padding:0!important;margin:0 0 7px!important;overflow-wrap:anywhere;clip:auto!important;white-space:normal!important;border:0!important;font-size:13px;line-height:1.25;min-height:2.5em;max-height:2.5em;overflow:hidden;text-align:left}
.system-link{min-height:28px;padding-top:7px;margin-top:auto;justify-content:space-between;border-top:1px solid #e9eef5;font-size:12px;line-height:1.2}
.system-link .link-label{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal;border:0}
.system-link span[aria-hidden="true"]{font-size:18px;line-height:1;color:var(--blue)}
.card-status{top:0;right:0}
@media(max-width:1100px){.system-grid{grid-template-columns:repeat(7,minmax(150px,1fr));overflow-x:auto;padding:4px 2px 10px}.system-card{height:220px;min-height:220px}.system-card-top{height:118px;min-height:118px}.system-icon.system-logo{height:104px!important;max-height:104px!important}}
@media(max-width:760px){.systems-section{padding:18px 0!important}.system-grid{grid-template-columns:repeat(7,minmax(150px,1fr));gap:10px;overflow-x:auto}.system-card{height:220px;min-height:220px;padding:12px 10px 9px;border-radius:15px}.system-card-top{height:118px;min-height:118px}.system-icon.system-logo{height:104px!important;max-height:104px!important}.system-card h2{font-size:13px}}


/* v1.33 — textos do site restaurados; cards com apenas a seta de acesso */
.section-heading,.section-footnote{display:revert!important}
.system-link{justify-content:flex-end!important;font-size:0!important;gap:0!important}
.system-link .link-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.system-link span[aria-hidden="true"]{font-size:22px!important;line-height:1!important}
@media(max-width:760px){.section-heading{display:grid!important;grid-template-columns:1fr!important}.section-footnote{display:block!important}}


/* v1.34 — cards somente com logos, sem títulos dos sistemas */
.system-card{height:230px!important;min-height:230px!important;padding:12px 12px 10px!important}
.system-card-top{height:184px!important;min-height:184px!important;margin:0!important;padding:8px 0 0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:visible!important}
.system-icon.system-logo{width:100%!important;max-width:100%!important;height:166px!important;min-height:0!important;max-height:166px!important;flex:1 1 auto!important;background:transparent!important;border-radius:0!important;padding:0!important;overflow:hidden!important}
.system-icon.system-logo img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important}
.system-card h2{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.system-link{min-height:28px!important;padding-top:7px!important;margin-top:auto!important;justify-content:flex-end!important;border-top:1px solid #e9eef5!important;font-size:0!important;line-height:1!important;gap:0!important}
.system-link .link-label{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.system-link span[aria-hidden="true"]{font-size:22px!important;line-height:1!important;color:var(--blue)!important}
.card-status{top:0!important;right:0!important}
@media(max-width:1100px){.system-grid{grid-template-columns:repeat(7,minmax(150px,1fr))!important;overflow-x:auto!important;padding:4px 2px 10px!important}.system-card{height:220px!important;min-height:220px!important}.system-card-top{height:174px!important;min-height:174px!important}.system-icon.system-logo{height:156px!important;max-height:156px!important}}
@media(max-width:760px){.systems-section{padding:18px 0!important}.system-grid{grid-template-columns:repeat(7,minmax(150px,1fr))!important;gap:10px!important;overflow-x:auto!important}.system-card{height:220px!important;min-height:220px!important;padding:12px 10px 9px!important;border-radius:15px!important}.system-card-top{height:174px!important;min-height:174px!important}.system-icon.system-logo{height:156px!important;max-height:156px!important}}

/* v1.35 — cards quadrados e layout responsivo real */
html, body { max-width:100%; overflow-x:hidden; }
.container { width:min(1180px, calc(100% - 40px)); }
.systems-section { min-width:0; padding:clamp(20px,3vw,34px) 0 28px!important; }
.system-grid {
  display:grid!important;
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:clamp(8px,1vw,14px)!important;
  overflow:visible!important;
  padding:0!important;
  align-items:stretch;
}
.system-card {
  width:100%; min-width:0; height:auto!important; min-height:0!important;
  aspect-ratio:1 / 1; padding:clamp(9px,1vw,14px)!important;
  border-radius:clamp(12px,1.4vw,18px)!important; overflow:hidden;
}
.system-card-top {
  width:100%; height:auto!important; min-height:0!important; flex:1 1 auto;
  margin:0!important; padding:10px 0 8px!important; overflow:hidden!important;
  display:flex!important; align-items:center!important; justify-content:center!important;
}
.system-icon.system-logo {
  display:flex; width:100%!important; max-width:100%!important;
  height:100%!important; min-height:0!important; max-height:100%!important;
  flex:1 1 auto!important; overflow:hidden!important;
}
.system-icon.system-logo img {
  width:100%!important; height:100%!important; max-width:100%!important; max-height:100%!important;
  object-fit:contain!important; object-position:center!important;
}
.system-card h2 { display:none!important; }
.system-link {
  flex:0 0 24px; min-height:24px!important; height:24px; padding:3px 0 0!important;
  margin-top:0!important; border-top:1px solid #e9eef5!important;
  justify-content:flex-end!important; align-items:center!important; overflow:visible;
}
.system-link span[aria-hidden="true"] { font-size:21px!important; }
.card-status { top:5px!important; right:5px!important; }

@media (max-width:1050px) {
  .system-grid { grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:12px!important; }
  .system-card { border-radius:15px!important; }
  .section-heading { gap:24px; }
}
@media (max-width:700px) {
  .container { width:calc(100% - 28px); }
  .header-inner { min-height:100px; }
  .brand-logo { width:min(220px,70vw); height:92px; }
  .systems-section { padding:24px 0 22px!important; }
  .section-heading { display:grid!important; grid-template-columns:minmax(0,1fr)!important; gap:12px!important; margin-bottom:22px!important; }
  .section-heading h1 { font-size:clamp(26px,7vw,34px)!important; overflow-wrap:anywhere; }
  .section-heading>p { font-size:14px; }
  .system-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important; overflow:visible!important; padding:0!important;
  }
  .system-card { aspect-ratio:1 / 1; padding:10px!important; border-radius:15px!important; }
  .system-card-top { padding:12px 0 8px!important; }
  .card-status { top:5px!important; right:5px!important; }
  .section-footnote { display:block!important; margin-top:20px!important; }
  .footer-inner { flex-direction:column; align-items:flex-start; gap:7px; }
  .footer-inner p { text-align:left; }
}
@media (max-width:360px) {
  .container { width:calc(100% - 20px); }
  .system-grid { gap:8px!important; }
  .system-card { padding:8px!important; }
  .system-link span[aria-hidden="true"] { font-size:19px!important; }
  .section-heading h1 { font-size:25px!important; }
}

/* v1.36 — sessão e painel administrativo */
.site-header{position:relative}
.session-actions{position:absolute;right:16px;top:10px;z-index:5;display:flex;align-items:center;gap:10px;font-size:12px}
.session-actions a,.session-actions button{font:inherit;font-weight:700;color:#087cff;background:transparent;border:0;text-decoration:none;cursor:pointer;padding:5px 7px;border-radius:7px}
.session-actions a:hover,.session-actions button:hover{background:#eaf4ff}
.session-actions form{margin:0}
@media(max-width:600px){.session-actions{right:8px;top:5px;font-size:11px;gap:2px}.site-header .header-inner{padding-top:20px}}
