/* SAC News · Central de acesso · v1
   Layout estático: nenhuma dependência de JavaScript, fontes remotas ou bibliotecas. */
:root {
  color-scheme: light;
  --ink: #152c43;
  --muted: #526477;
  --subtle: #667689;
  --green: #087949;
  --green-hover: #05623a;
  --blue: #0b4c92;
  --blue-hover: #073c75;
  --line: #e0e7ed;
  --paper: #fff;
  --focus: #8335ac;
  --radius: 18px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 20px; }
body {
  margin: 0;
  min-width: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  background:
    radial-gradient(ellipse 54% 52% at 0% 73%, #edf6f1 0%, transparent 80%),
    radial-gradient(ellipse 47% 58% at 100% 24%, #edf3fb 0%, transparent 80%),
    #f7f9fb;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; }
a, summary { touch-action: manipulation; }
img { max-width: 100%; display: block; }
svg { display: block; flex: 0 0 auto; }
p, h1, h2 { margin: 0; }
button, a { font: inherit; }
.shell { width: min(100% - 64px, 1060px); margin-inline: auto; }
.icon { width: 20px; height: 20px; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
  border-radius: 5px;
}
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  z-index: 10;
  padding: 12px 18px;
  background: var(--ink);
  color: white;
  border-radius: 8px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }
.site-header { flex: 0 0 auto; background: #ffffffdb; border-bottom: 1px solid #e2e9ee; }
.header-inner { min-height: 76px; display: flex; align-items: center; gap: 21px; }
.brand { display: flex; align-items: center; min-height: 44px; flex: 0 0 auto; }
.brand img, .brand svg { width: 148px; height: 35px; object-fit: contain; }
.header-divider { width: 1px; height: 25px; background: #dce4e9; }
.header-label { color: #5c6e7d; font-size: 13px; font-weight: 500; }
.institutional-link { margin-left: auto; display: inline-flex; gap: 9px; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; color: #3d5367; }
.institutional-link .icon { width: 15px; height: 15px; }
.main-content { flex: 1 0 auto; display: grid; align-items: center; padding-block: 33px 22px; }
.main-content:focus { outline: none; }
.portal-content { width: 100%; max-width: 980px; margin-inline: auto; }
.intro { text-align: center; margin-bottom: 30px; }
.eyebrow { color: var(--green); font-size: 10px; line-height: 1.4; letter-spacing: .16em; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 9px; margin-bottom: 13px; }
.eyebrow span { display: inline-block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
h1 { font-size: clamp(28px, 3.05vw, 42px); font-weight: 700; line-height: 1.14; letter-spacing: -.042em; text-wrap: balance; }
h1 span { color: var(--blue); white-space: nowrap; }
.intro-description { margin-top: 13px; color: var(--muted); font-size: 15px; line-height: 1.6; text-wrap: balance; }
.access-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.access-card {
  --accent: var(--green);
  --accent-hover: var(--green-hover);
  --tint: #eaf5ef;
  --tint-line: #d7e9df;
  position: relative;
  min-width: 0;
  padding: 26px 27px 17px;
  background: var(--paper);
  border: 1px solid #d9e4dd;
  border-radius: var(--radius);
  box-shadow: 0 4px 5px #152c4302, 0 12px 30px #152c4304;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.access-card--manager { --accent: var(--blue); --accent-hover: var(--blue-hover); --tint: #edf3fc; --tint-line: #dce7f5; border-color: #dbe4ee; }
.card-heading { display: flex; align-items: center; gap: 14px; min-height: 48px; }
.role-icon { display: flex; align-items: center; justify-content: center; width: 49px; height: 49px; flex: 0 0 auto; border-radius: 13px; color: var(--accent); background: var(--tint); border: 1px solid var(--tint-line); }
.role-icon .icon { width: 26px; height: 26px; }
.card-heading-text { min-width: 0; }
.role-label { color: var(--accent); font-size: 10px; line-height: 1.4; letter-spacing: .10em; font-weight: 700; margin-bottom: 5px; }
.access-card h2 { font-size: 23px; font-weight: 650; line-height: 1.2; letter-spacing: -.035em; }
.card-description { color: var(--muted); font-size: 14px; line-height: 1.65; margin-top: 18px; max-width: 370px; min-height: 46.2px; text-wrap: pretty; }
.access-button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 47px; padding: 11px 17px; margin-top: 21px; background: var(--accent); border: 1px solid var(--accent); color: white; font-size: 14px; font-weight: 600; line-height: 1.45; border-radius: 9px; transition: background .16s ease, border-color .16s ease; }
.access-button .icon { width: 18px; height: 18px; transition: transform .16s ease; }
.destination { text-align: center; margin-top: 10px; color: #64758a; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
.support { display: flex; align-items: center; gap: 17px; padding: 17px 23px; margin-top: 18px; border: 1px solid #dce4eb; border-radius: 13px; background: #ffffff9e; }
.support-icon { width: 41px; height: 41px; display: flex; align-items: center; justify-content: center; color: #496176; flex: 0 0 auto; }
.support-icon .icon { width: 26px; height: 26px; }
.support-copy { min-width: 0; }
.support h2 { color: #233e55; font-size: 14px; line-height: 1.4; font-weight: 650; }
.support-copy > p { margin-top: 3px; color: var(--muted); font-size: 12px; line-height: 1.4; }
.support-copy .support-destination { font-size: 10px; margin-top: 4px; color: #607389; overflow-wrap: anywhere; }
.support-button { margin-left: auto; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; gap: 14px; min-height: 44px; padding: 10px 15px; background: white; border: 1px solid #c9d5df; border-radius: 8px; font-size: 12px; line-height: 1.4; font-weight: 600; color: #344e63; transition: background .16s ease, border-color .16s ease; }
.support-button .icon { width: 15px; height: 15px; }
.access-note { display: flex; align-items: center; justify-content: center; gap: 7px; text-align: center; color: #617184; font-size: 11px; line-height: 1.6; margin-top: 17px; }
.access-note .icon { width: 13px; height: 13px; }
.site-footer { flex: 0 0 auto; border-top: 1px solid #e0e7ed; background: #ffffff55; }
.footer-inner { min-height: 63px; display: flex; align-items: center; justify-content: space-between; gap: 24px; color: #5e6e7f; font-size: 11px; }
.footer-inner p { display: flex; align-items: center; gap: 13px; flex-wrap: wrap; }
.footer-inner strong { font-weight: 650; color: #455d71; }
.footer-dash { color: #b5c0cc; }
.footer-links { display: flex; align-items: center; gap: 14px; }
.footer-links a { display: flex; align-items: center; min-height: 44px; }
.footer-links > span { color: #82909d; }
@media (hover: hover) and (pointer: fine) {
  .access-card:hover { border-color: var(--accent); box-shadow: 0 8px 26px #152c430a; }
  .access-button:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
  .access-button:hover .icon { transform: translateX(3px); }
  .support-button:hover { background: #f3f6fa; border-color: #8b9fb0; }
  .institutional-link:hover, .footer-links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
}
@media (min-width: 760px) and (max-height: 730px) {
  .header-inner { min-height: 68px; }
  .main-content { padding-block: 16px 13px; }
  .intro { margin-bottom: 22px; }
  .eyebrow { margin-bottom: 10px; }
  h1 { font-size: 37px; }
  .intro-description { margin-top: 10px; }
  .access-card { padding: 23px 25px 15px; }
  .card-description { margin-top: 15px; }
  .access-button { margin-top: 17px; }
  .support { margin-top: 15px; padding-block: 13px; }
  .access-note { margin-top: 13px; }
  .footer-inner { min-height: 57px; }
}
@media (max-width: 1050px) and (min-width: 760px) {
  .access-grid { gap: 18px; }
  .access-card { padding-inline: 21px; }
  .access-card h2 { font-size: 21px; }
  .card-heading { gap: 11px; }
  .role-icon { width: 44px; height: 44px; border-radius: 12px; }
}
@media (max-width: 759px) {
  .shell { width: min(100% - 40px, 560px); }
  .header-inner { min-height: 70px; gap: 14px; }
  .header-divider, .header-label { display: none; }
  .brand img, .brand svg { width: 132px; height: 32px; }
  .institutional-link { font-size: 12px; gap: 7px; }
  .main-content { padding-block: 22px 24px; }
  .intro { margin-bottom: 24px; }
  .eyebrow { display: none; }
  h1 { font-size: clamp(28px, 6.8vw, 36px); line-height: 1.16; letter-spacing: -.036em; }
  .intro-description { max-width: 380px; margin: 12px auto 0; font-size: 14px; line-height: 1.55; }
  .access-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .access-card { padding: 21px 21px 14px; border-radius: 15px; }
  .card-heading { gap: 13px; min-height: 44px; }
  .role-icon { width: 44px; height: 44px; border-radius: 12px; }
  .role-icon .icon { width: 24px; height: 24px; }
  .role-label { font-size: 10px; letter-spacing: .075em; margin-bottom: 4px; }
  .access-card h2 { font-size: 22px; }
  .card-description { min-height: 0; margin-top: 13px; font-size: 13px; line-height: 1.6; max-width: none; }
  .access-button { margin-top: 16px; min-height: 46px; font-size: 13px; padding-inline: 15px; }
  .destination { font-size: 10px; margin-top: 9px; }
  .support { display: grid; grid-template-columns: 31px minmax(0, 1fr); gap: 13px 12px; margin-top: 16px; padding: 18px 20px; }
  .support-icon { width: 31px; height: 35px; align-self: start; }
  .support-icon .icon { width: 23px; height: 23px; }
  .support h2 { font-size: 13px; }
  .support-copy > p { font-size: 12px; }
  .support-copy .support-destination { font-size: 10px; }
  .support-button { grid-column: 1 / -1; margin: 0; min-height: 44px; justify-content: space-between; padding-inline: 14px; }
  .access-note { align-items: flex-start; font-size: 10px; margin-top: 17px; padding-inline: 10px; }
  .access-note .icon { margin-top: 1px; }
  .footer-inner { min-height: 96px; padding-block: 13px 10px; flex-direction: column; justify-content: center; gap: 3px; text-align: center; font-size: 10px; }
  .footer-inner p { justify-content: center; gap: 8px; }
  .footer-links { gap: 18px; }
}
@media (max-width: 370px) {
  .shell { width: calc(100% - 28px); }
  .brand img, .brand svg { width: 118px; height: 29px; }
  .institutional-link { font-size: 11px; }
  .card-heading { gap: 10px; }
  .role-icon { width: 40px; height: 40px; }
  .access-card { padding-inline: 18px; }
  .access-card h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  body { background: Canvas; color: CanvasText; }
  .access-card, .support, .access-button, .support-button, .role-icon { border: 1px solid CanvasText; }
  .access-button, .support-button { background: ButtonFace; color: ButtonText; }
  a:focus-visible { outline-color: Highlight; }
}
@media print {
  body { display: block; min-height: 0; background: white; color: black; }
  .shell { width: 100%; }
  .main-content { padding-block: 20px; }
  .institutional-link, .footer-links, .skip-link, .access-note { display: none; }
  .access-card, .support { box-shadow: none; break-inside: avoid; }
  .access-button, .support-button { background: white; color: black; border-color: #555; }
  .access-button::after { content: attr(href); font-size: 9px; overflow-wrap: anywhere; }
}
/* Página 404: o servidor precisa responder com status HTTP 404. */
.error-main { flex: 1; display: grid; place-items: center; padding-block: 56px; text-align: center; }
.error-content { max-width: 540px; }
.error-code { color: var(--green); font-size: 12px; letter-spacing: .14em; font-weight: 700; margin-bottom: 16px; }
.error-main h1 { font-size: clamp(28px, 5vw, 40px); }
.error-main p:not(.error-code) { margin-top: 18px; color: var(--muted); }
.error-main .support-button { display: inline-flex; margin-top: 26px; font-size: 14px; }
