:root {
  --blue: #086bea;
  --blue-dark: #103e71;
  --ink: #153358;
  --muted: #425a7b;
  --light: #eaf4ff;
  font-family: 'Plus Jakarta Sans', 'Segoe UI', Arial, sans-serif;
  color: var(--ink);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: #fff; }
button,input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
.icon { display: inline-block; width: 1em; height: 1em; flex: none; }
.svg-sprite, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Cabeçalho */
.site-header { height: 90px; background: linear-gradient(113deg, #287bdc 0%, #1b568f 38%, #113961 75%, #153f72 100%); display: flex; align-items: center; justify-content: space-between; padding: 0 48px; position: relative; z-index: 20; box-shadow: 0 3px 13px #185b9b15; }
.brand { color: #fff; text-decoration: none; display: flex; align-items: center; gap: 15px; }
.brand-icon { display: grid; place-items: center; color: #fff; font-size: 48px; width: 53px; height: 53px; }
.brand-icon .icon { width: 54px; height: 54px; }
.brand-copy strong { display: block; font-weight: 800; letter-spacing: -.75px; font-size: 20px; line-height: 1.2; }
.brand-copy small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.25; font-weight: 500; }
.main-nav { display: flex; align-items: center; gap: 30px; height: 100%; }
.nav-link { text-decoration: none; font-size: 15px; font-weight: 500; color: #f3f7ff; display: flex; align-items: center; height: 100%; padding: 2px 5px 0; position: relative; }
.nav-link:hover, .nav-link.is-active { color: #fff; }
.nav-link.is-active { font-weight: 700; }
.nav-link.is-active::after { position: absolute; bottom: 17px; height: 3px; background: #3099ff; content: ''; left: -5px; right: -5px; }
.header-login { margin-left: 18px; height: 54px; padding: 0 25px; background: linear-gradient(100deg, #2062e5, #087dff); border-radius: 15px; color: #fff; text-decoration: none; display: inline-flex; gap: 12px; align-items: center; font-size: 15px; font-weight: 800; box-shadow: inset 0 0 1px #ffffff80; }
.header-login:hover { filter: brightness(1.08); }
.header-login .icon { font-size: 21px; }
.menu-toggle { display: none; }

/* Seção principal */
.home { height: 812px; position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(ellipse at 92% 29%, #d3e7ff 0%, #f5faff 39%, transparent 63%), linear-gradient(180deg, #f9fcff 0%, #fafdff 61%, #e8f3ff 100%); }
.photo-accent { position: absolute; top: 0; right: 0; width: 44%; height: 375px; background: radial-gradient(ellipse at 70% 33%, #a8d2fa8f, transparent 65%); z-index: -3; }
.hero-photo { position: absolute; top: 0; left: 43.2%; width: 31%; height: 344px; background: url('acs-comunidade.png') center center / cover no-repeat; -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 85%, transparent 100%); mask-image: linear-gradient(to right, transparent 0%, #000 12%, #000 85%, transparent 100%); z-index: -2; }
.hero-photo::after { content: ''; position: absolute; inset: 68% 0 0; background: linear-gradient(to bottom, transparent, #fafdffb0); }
.wave { position: absolute; left: 0; width: 100%; pointer-events: none; }
.wave-back { bottom: 63px; height: 230px; z-index: -2; }
.wave-front { bottom: 0; height: 180px; z-index: -1; }
.content-area { position: relative; z-index: 3; width: 710px; margin-left: 4.1%; padding-top: 57px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; border-radius: 100px; padding: 6px 13px; background: #e2f0ff; color: #0064da; font-size: 12px; font-weight: 800; line-height: 1.5; white-space: nowrap; }
.eyebrow-dot { color: #fff; font-size: 10px; background: #1775ec; border-radius: 50%; height: 12px; width: 12px; display: inline-grid; place-items: center; }
.intro h1 { color: #16375e; font-size: clamp(37px, 3.35vw, 52px); letter-spacing: -2px; line-height: 1.105; margin: 19px 0 20px; font-weight: 800; }
.intro h1 span { color: #1d6bd8; }
.intro p { font-size: 18px; line-height: 1.54; color: #3b5578; margin: 0; max-width: 618px; font-weight: 500; }
.features { display: grid; grid-template-columns: 300px 340px; column-gap: 20px; row-gap: 34px; margin-top: 37px; max-width: 680px; scroll-margin-top: 115px; }
.feature { display: flex; align-items: flex-start; gap: 17px; min-width: 0; }
.feature-icon { flex: 0 0 62px; height: 64px; border-radius: 16px; background: linear-gradient(135deg,#eaf4ff,#dcecff); box-shadow: 0 4px 10px #1d6dd30a; display: grid; place-items: center; color: #126bdc; }
.feature-icon .icon { font-size: 34px; }
.feature h2 { margin: 9px 0 5px; font-size: 14.7px; letter-spacing: -.3px; line-height: 1.35; font-weight: 800; white-space: nowrap; }
.feature p { margin: 0; line-height: 1.45; font-size: 13.4px; color: #365272; max-width: 210px; font-weight: 500; }

/* Arte dos dispositivos: recorte da imagem de referência, não um print da página inteira. */
.device-art { position: absolute; z-index: 1; width: 752px; top: 332px; right: 3.6%; pointer-events: none; }
.device-art img { display: block; width: 100%; height: auto; }

/* Cartão de login */
.login-panel { position: absolute; z-index: 8; top: 35px; right: 2.6%; width: 376px; min-height: 334px; padding: 30px 28px 20px; background: #fffffff5; border: 1px solid #ffffff; border-radius: 14px; box-shadow: 0 19px 43px #16395b23, 0 3px 6px #18406e08; scroll-margin-top: 110px; }
.login-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.login-heading-icon { color: #1268e2; display: flex; align-items: center; font-size: 44px; }
.login-heading h2 { margin: 0 0 5px; color: #193456; font-size: 20px; white-space: nowrap; letter-spacing: -.7px; font-weight: 800; }
.login-heading p { margin: 0; color: #526481; font-size: 12.2px; white-space: nowrap; font-weight: 500; }
.login-form { display: grid; gap: 13px; }
.field { display: flex; position: relative; height: 49px; width: 100%; align-items: center; border: 1px solid #cfe0fa; background: #fff; border-radius: 11px; color: #203e67; }
.field:focus-within { border-color: #3488f6; outline: 3px solid #2981ee18; }
.field > .icon { position: absolute; left: 15px; font-size: 21px; }
.field input { display: block; width: 100%; height: 100%; border: 0; outline: 0; background: transparent; color: #183e69; padding: 0 42px 0 47px; font-size: 14px; min-width: 0; }
.field input::placeholder { color: #6b7e9c; opacity: 1; }
.show-password { display: flex; align-items: center; justify-content: center; width: 36px; height: 40px; position: absolute; right: 4px; top: 4px; border: 0; background: transparent; color: #36577e; border-radius: 6px; }
.show-password .icon { font-size: 19px; }
.show-password:hover { background: #eff6ff; }
.submit-login { height: 49px; width: 100%; margin-top: 3px; border: 0; background: linear-gradient(100deg,#2164ef,#0577ef); border-radius: 9px; color: #fff; display: flex; gap: 11px; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.submit-login .icon { font-size: 20px; }
.submit-login:hover { filter: brightness(1.07); }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 7px; margin-top: 1px; color: #425776; font-size: 12.6px; }
.remember { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; cursor: pointer; }
.remember input { margin: 0; width: 15px; height: 15px; accent-color: #1473ed; }
.form-options a { color: #0868dd; text-decoration: underline; white-space: nowrap; }

/* Indicadores */
.stats { position: absolute; z-index: 10; left: 4.1%; right: 4.1%; bottom: 21px; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 24px; }
.stat-card { height: 98px; border-radius: 12px; background: #ffffffeb; display: flex; align-items: center; gap: 19px; padding: 13px 14px; box-shadow: 0 6px 20px #3e78b006; min-width: 0; }
.stat-icon { width: 64px; height: 64px; border-radius: 16px; display: grid; flex: 0 0 64px; place-items: center; }
.stat-icon .icon { font-size: 36px; }
.stat-icon.blue { color: #176bdc; background: #e8f3ff; }
.stat-icon.green { color: #05a374; background: #e0faf2; }
.stat-icon.pink { color: #f0204e; background: #fff0f4; }
.stat-icon.orange { color: #f39412; background: #fff4e6; }
.stat-card strong { display: block; font-size: 23px; line-height: 1.15; letter-spacing: -.8px; font-weight: 800; color: #193456; }
.stat-card p { margin: 3px 0 4px; font-size: 13px; color: #364d6c; white-space: nowrap; font-weight: 500; }
.stat-card small { display: block; font-size: 12px; color: #546781; white-space: nowrap; }
.stat-card small span { color: #11ae80; font-size: 11px; }

/* Rodapé */
.site-footer { min-height: 122px; background: linear-gradient(110deg,#155490 0%,#0f3b6e 56%,#11497f 100%); color: #fff; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); align-items: start; column-gap: 24px; padding: 28px 6% 18px; position: relative; }
.footer-wave { position: absolute; height: 20px; left: 0; right: 0; top: -17px; pointer-events: none; background: #155490; clip-path: polygon(0 65%, 4% 0, 11% 65%, 38% 55%, 46% 32%, 55% 65%, 84% 55%, 100% 62%, 100% 100%, 0 100%); }
.footer-item { display: flex; gap: 21px; align-items: flex-start; position: relative; z-index: 1; }
.footer-item > span { color: #63b4ff; line-height: 1; flex: 0 0 40px; }
.footer-item .icon { width: 42px; height: 42px; }
.footer-item strong { display: block; font-size: 13px; line-height: 1.4; margin: 3px 0 5px; font-weight: 800; }
.footer-item p { margin: 0; color: #d0e3fa; font-size: 12.7px; line-height: 1.45; font-weight: 400; }

@media (max-width: 1400px) and (min-width: 1051px) {
  .content-area { margin-left: 3.5%; width: 640px; }
  .intro h1 { font-size: 43px; }
  .intro p { font-size: 16px; max-width: 530px; }
  .features { grid-template-columns: 275px 315px; gap: 27px 12px; }
  .feature { gap: 12px; }
  .feature h2 { font-size: 13.5px; }
  .feature p { font-size: 12.4px; }
  .device-art { width: min(60vw,752px); right: 1.5%; top: 345px; }
  .login-panel { right: 2%; }
  .stats { left: 3.5%; right: 3.5%; gap: 12px; }
  .stat-card { gap: 12px; padding: 12px; }
  .stat-icon { width: 56px; height: 56px; flex-basis: 56px; }
  .stat-card p { font-size: 11.4px; }
  .site-footer { padding-left: 4%; padding-right: 4%; column-gap: 12px; }
  .footer-item { gap: 12px; }
}
@media (max-width: 1050px) {
  .site-header { padding: 0 28px; }
  .home { height: auto; min-height: 0; padding: 0 28px 36px; overflow: hidden; }
  .photo-accent { width: 60%; }
  .hero-photo { left: auto; right: 0; width: 43%; height: 325px; opacity: .75; }
  .content-area { width: min(100%,680px); margin: 0; padding-top: 46px; }
  .intro h1 { font-size: clamp(35px,4.9vw,48px); }
  .intro p { max-width: 600px; font-size: 17px; }
  .features { grid-template-columns: repeat(2,minmax(0,1fr)); width: min(100%,690px); margin-bottom: 32px; }
  .login-panel { position: relative; top: auto; right: auto; margin: 10px 0 28px; width: min(100%,450px); }
  .device-art { top: 365px; right: -85px; width: 58vw; max-width: 590px; opacity: .4; }
  .stats { position: relative; left: auto; right: auto; bottom: auto; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .site-footer { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: 28px; padding: 31px 5%; }
}
@media (max-width: 720px) {
  .site-header { height: 76px; padding: 0 20px; }
  .brand-icon,.brand-icon .icon { width: 43px; height: 43px; font-size: 43px; }
  .brand-copy strong { font-size: 17px; }
  .brand-copy small { font-size: 10px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 5px; justify-content: center; align-items: center; width: 44px; height: 43px; background: #ffffff21; border: 1px solid #ffffff55; border-radius: 9px; }
  .menu-toggle span { width: 21px; height: 2px; background: white; border-radius: 3px; }
  .main-nav { display: none; position: absolute; left: 14px; right: 14px; top: 80px; padding: 12px; height: auto; background: #123e70; border-radius: 14px; box-shadow: 0 14px 26px #06326940; flex-direction: column; align-items: stretch; gap: 4px; }
  .main-nav.is-open { display: flex; }
  .nav-link { height: 42px; padding: 0 12px; }
  .nav-link.is-active::after { display: none; }
  .header-login { margin: 5px 0 0; justify-content: center; }
  .home { padding: 0 18px 28px; }
  .photo-accent { display: none; }
  .hero-photo { top: 0; right: -80px; width: 72%; opacity: .16; height: 330px; }
  .content-area { padding-top: 35px; }
  .eyebrow { font-size: 10px; padding: 6px 9px; gap: 6px; }
  .intro h1 { font-size: clamp(31px,7.5vw,42px); letter-spacing: -1.55px; line-height: 1.16; margin: 17px 0; }
  .intro h1 br:nth-of-type(2) { display: none; }
  .intro p { font-size: 14px; line-height: 1.65; }
  .features { grid-template-columns: 1fr; row-gap: 20px; margin-top: 30px; }
  .feature-icon { height: 56px; flex-basis: 56px; border-radius: 13px; }
  .feature h2 { margin-top: 3px; font-size: 14px; white-space: normal; }
  .feature p { font-size: 12.5px; max-width: none; }
  .device-art { display: none; }
  .login-panel { margin: 22px auto 26px; padding: 24px 20px; min-height: 0; }
  .login-heading { gap: 12px; }
  .login-heading-icon { font-size: 35px; }
  .login-heading h2 { font-size: 18px; }
  .login-heading p { font-size: 10.7px; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
  .stat-card { height: 83px; }
  .stat-icon { width: 58px; height: 58px; flex-basis: 58px; }
  .stat-card p { font-size: 12px; }
  .site-footer { grid-template-columns: 1fr; gap: 23px; padding: 33px 9%; }
  .footer-item strong { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
