/* =========================================================
   V2 — Notícias, Sobre nós, Empresas, Em construção
   e novos blocos da Home/Governo
   ========================================================= */

/* ---------- Home: botão abaixo do vídeo ---------- */
.video-cta { display: flex; justify-content: center; margin-top: var(--space-6); }
.btn--lg { min-height: 56px; padding: 0 2rem; font-size: var(--fs-md); border-radius: var(--radius-pill); }
.btn--lg svg { transition: transform .2s var(--ease); }
.btn--lg:hover svg { transform: translateX(4px); }

/* Categorias das notícias */
.meta__cat--governo { color: #0e7a55; }
.meta__cat--institucional { color: var(--sasi-blue); }

/* Mega menu: título da área clicável */
.mega__title a { color: inherit; text-decoration: none; }
.mega__title a:hover { color: var(--sasi-blue); }

/* ---------- Governo: soluções por área ---------- */
.areas-section { background: var(--sasi-bg-soft); }
.areas {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--space-6); align-items: start;
  padding: var(--space-6); border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--sasi-line);
  min-height: 420px;
}
.areas__bg { position: absolute; inset: 0; z-index: -1; }
.areas__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: opacity .25s var(--ease); }
.areas.is-swapping .areas__bg img { opacity: 0; }
.areas__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 30%, rgba(238,242,255,.78) 65%, rgba(238,242,255,.62) 100%);
}
.areas__tabs { display: grid; gap: 4px; align-content: start; border-right: 1px solid var(--sasi-line); padding-right: var(--space-4); }
.areas__tab {
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  min-height: 48px; padding: 0 14px; border: 0; border-radius: var(--radius-sm); background: transparent; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--sasi-muted); text-align: left;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.areas__tab:hover { color: var(--sasi-ink); background: rgba(40,72,201,.05); }
.areas__tab[aria-selected="true"] { background: #fff; color: var(--sasi-ink); box-shadow: var(--shadow-sm); border: 1px solid var(--sasi-line); }
.areas__count { font-size: .75rem; color: var(--sasi-muted); font-variant-numeric: tabular-nums; }
.areas__tab[aria-selected="true"] .areas__count { color: var(--sasi-blue); }
.areas__panel { min-width: 0; }
.areas__panel:focus-visible { outline-offset: 6px; }
.areas__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; }
.sol-mini {
  position: relative; display: flex; align-items: center; gap: 14px; min-width: 0;
  padding: 14px 40px 14px 14px; background: rgba(255,255,255,.96); border: 1px solid var(--sasi-line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
  animation: sol-in .35s var(--ease) both;
}
.sol-mini:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(40,72,201,.35); }
.sol-mini:nth-child(2) { animation-delay: .03s; } .sol-mini:nth-child(3) { animation-delay: .06s; } .sol-mini:nth-child(4) { animation-delay: .09s; }
.sol-mini:nth-child(5) { animation-delay: .12s; } .sol-mini:nth-child(6) { animation-delay: .15s; } .sol-mini:nth-child(n+7) { animation-delay: .18s; }
@keyframes sol-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sol-mini__logo { flex: none; width: 92px; height: 52px; display: grid; place-items: center; border-radius: 10px; background: #fff; border: 1px solid var(--sasi-line); padding: 6px; }
.sol-mini__logo img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.sol-mini__logo--tile { background: var(--sasi-bg-soft); }
.sol-mini__icon { width: 52px; height: 52px; margin-inline: 20px; }
.sol-mini__text { min-width: 0; }
.sol-mini__name { font-size: var(--fs-md); font-weight: 700; letter-spacing: -.01em; }
.sol-mini__name a { color: var(--sasi-ink); text-decoration: none; }
.sol-mini__name a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.sol-mini__name a:focus-visible { outline: none; }
.sol-mini:focus-within { outline: 3px solid var(--sasi-blue); outline-offset: 2px; }
.sol-mini p { font-size: .85rem; color: var(--sasi-muted); line-height: 1.4; margin-top: 2px; }
.sol-mini__go { position: absolute; top: 12px; right: 12px; width: 16px; height: 16px; color: var(--sasi-muted); transition: color .2s, transform .2s; }
.sol-mini:hover .sol-mini__go { color: var(--sasi-blue); transform: translate(2px, -2px); }
@media (max-width: 1023px) {
  .areas { grid-template-columns: 1fr; padding: var(--space-5); gap: var(--space-5); }
  .areas__tabs { border-right: 0; padding-right: 0; display: flex; overflow-x: auto; gap: 6px; scrollbar-width: none; padding-bottom: 4px; }
  .areas__tab { flex: none; gap: 8px; min-height: 44px; }
  .areas__bg::after { background: rgba(255,255,255,.88); }
}
@media (max-width: 619px) {
  .areas { padding: var(--space-4); }
  .areas__grid { grid-template-columns: 1fr; }
  .sol-mini__logo { width: 76px; height: 46px; }
  .sol-mini__icon { width: 46px; height: 46px; margin-inline: 15px; }
}
@media (prefers-reduced-motion: reduce) { .sol-mini { animation: none; } }

/* ---------- Topo das páginas internas ---------- */
.page-hero {
  padding-block: var(--space-8) var(--space-7);
  background:
    radial-gradient(55% 90% at 100% 0%, rgba(90, 116, 230, .28), rgba(90, 116, 230, 0) 70%),
    linear-gradient(100deg, #f7f9ff 0%, #eef2ff 45%, #dbe3fd 100%);
  border-bottom: 1px solid var(--sasi-line);
}
.page-hero__title { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.page-hero__title .accent { color: var(--sasi-blue); display: block; }
.page-hero__text { margin-top: var(--space-4); font-size: var(--fs-md); color: var(--sasi-muted); max-width: 58ch; }

/* ---------- Notícias (página) ---------- */
.news-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-7); align-items: center; margin-top: var(--space-5); }
.news-feature__media { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.news-feature__body { display: grid; gap: var(--space-4); }
.news-feature__body .meta span:nth-child(2) { color: var(--sasi-muted); }
.news-feature__title { font-size: var(--fs-2xl); font-weight: 700; line-height: 1.15; }
.news-feature__title a { color: var(--sasi-ink); text-decoration: none; }
.news-feature__title a:hover { color: var(--sasi-blue); }
.news-feature__text { color: var(--sasi-muted); font-size: var(--fs-md); }
@media (max-width: 900px) { .news-feature { grid-template-columns: 1fr; gap: var(--space-5); } }
.news-count { font-size: var(--fs-sm); color: var(--sasi-muted); }
.news-grid { row-gap: var(--space-6); }
.news__fallback {
  display: grid; place-items: center; align-content: center; gap: 10px; aspect-ratio: 16 / 10; width: 100%; border-radius: var(--radius-md);
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
}
.news__fallback svg { width: 40px; height: 40px; opacity: .95; }
.news__fallback--governo { background: radial-gradient(80% 90% at 85% 15%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, #0b5f43, #14936a); }
.news__fallback--institucional { background: radial-gradient(80% 90% at 85% 15%, rgba(255,255,255,.18), transparent 60%), linear-gradient(135deg, var(--sasi-blue-deep), #4767e3); }
.news-feature__media.news__fallback { aspect-ratio: 16 / 10; }

/* ---------- Sobre nós ---------- */
.about-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.about-hero__copy .page-hero__text { max-width: 54ch; }
.map { width: 100%; height: auto; display: block; }
.map__route { stroke-dasharray: 6 6; animation: route 18s linear infinite; }
@keyframes route { to { stroke-dashoffset: -240; } }
@media (prefers-reduced-motion: reduce) { .map__route { animation: none; } }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } }
.section-head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; gap: var(--space-5); }
@media (max-width: 760px) { .section-head--split { grid-template-columns: 1fr; } }
.section-title--blue { color: var(--sasi-blue); }
.directors { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; max-width: 900px; }
.director { display: grid; gap: 4px; }
.director__photo, .member__photo {
  position: relative; display: block; overflow: hidden; background: linear-gradient(135deg, #dfe5fa, #c7d1f3);
}
.director__photo { aspect-ratio: 1 / 1; border-radius: var(--radius-lg); margin-bottom: var(--space-3); }
.director__photo::before, .member__photo::before {
  content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; color: var(--sasi-blue-deep);
}
.director__photo::before { font-size: 2.6rem; }
.director__photo img, .member__photo img { position: relative; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.director__name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: var(--sasi-ink); }
.director__role { font-size: var(--fs-sm); color: var(--sasi-muted); }
.team-filters { margin-bottom: var(--space-6); }
.team-group + .team-group { margin-top: var(--space-7); }
.team-group__title { font-size: var(--fs-lg); font-weight: 700; display: flex; align-items: center; gap: .6rem; margin-bottom: var(--space-5); }
.team-group__title span { font-size: .75rem; font-weight: 700; color: var(--sasi-blue); background: var(--sasi-tint); border-radius: var(--radius-pill); padding: .15rem .55rem; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: var(--space-5) var(--space-4); list-style: none; margin: 0; padding: 0; }
.member { display: grid; justify-items: center; gap: 10px; text-align: center; }
.member__photo { width: 96px; height: 96px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 6px 16px rgba(14,26,61,.12); }
.member__photo::before { font-size: 1.4rem; }
.member__name { font-family: var(--font-display); font-weight: 600; font-size: .85rem; line-height: 1.3; color: var(--sasi-ink); }
@media (max-width: 479px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4) 10px; } .member__photo { width: 76px; height: 76px; } .member__name { font-size: .75rem; } }

/* ---------- Em construção ---------- */
.wip { padding-block: var(--space-8); background: linear-gradient(100deg, #f7f9ff 0%, #eef2ff 60%, #e2e8fd 100%); }
.wip__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--space-6); align-items: center; }
.wip__copy { display: grid; gap: var(--space-4); justify-items: start; }
.wip__badge {
  display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .8rem; border-radius: var(--radius-pill);
  background: #fff; border: 1px solid var(--sasi-line); color: var(--sasi-blue); font-family: var(--font-display); font-weight: 600; font-size: .78rem; text-decoration: none;
}
.wip__badge svg { width: 14px; height: 14px; }
.wip__title { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.wip__text { font-size: var(--fs-md); color: var(--sasi-muted); max-width: 52ch; }
.wip__text strong { color: var(--sasi-ink); }
.wip__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-2); }
.wip__links { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-5); }
.wip__link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--sasi-ink); text-decoration: none; }
.wip__link:hover { color: var(--sasi-blue); }
.wip__link svg { width: 18px; height: 18px; color: var(--sasi-blue); }
.wip__phone { font-size: var(--fs-sm); color: var(--sasi-muted); }
.wip__phone a { font-weight: 700; }
.wip__robot { position: relative; display: grid; place-items: center; }
.wip__robot img { position: relative; width: min(100%, 440px); height: auto; animation: robot-float 5s ease-in-out infinite; transform-origin: 50% 80%; }
.wip__halo { position: absolute; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(90,116,230,.28), rgba(90,116,230,0) 70%); animation: halo 5s ease-in-out infinite; }
@keyframes robot-float { 0%, 100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1.5deg); } }
@keyframes halo { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(1.06); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .wip__robot img, .wip__halo { animation: none; } }
@media (max-width: 900px) { .wip__grid { grid-template-columns: 1fr; } .wip__robot { order: -1; } .wip__robot img { width: min(70%, 300px); } }
@media (max-width: 479px) { .wip__actions .btn { width: 100%; } }

/* ---------- Empresas ---------- */
.eyebrow--teal { color: #0e8a7d; }
.emp-hero { padding-block: var(--space-7); background: linear-gradient(100deg, #f7f9ff 0%, #eef2ff 60%, #dfe6fd 100%); overflow: hidden; }
.emp-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); align-items: center; }
.emp-hero__copy { display: grid; gap: var(--space-5); }
.emp-hero__title { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.emp-hero__title .accent { color: var(--sasi-blue); display: block; }
.emp-hero__copy .hero__actions { align-items: center; gap: var(--space-5); }
.emp-hero__visual { position: relative; min-height: 460px; }
.mock-phone {
  position: absolute; right: 8%; top: 30px; width: 230px; padding: 10px 12px 16px; border-radius: 34px;
  background: #fff; border: 7px solid #10183a; box-shadow: 0 30px 60px rgba(14,26,61,.25); font-family: var(--font-display);
}
.mock-phone__top { display: flex; justify-content: space-between; align-items: center; font-size: .6rem; font-weight: 700; color: var(--sasi-ink); padding: 0 6px 6px; }
.mock-phone__notch { width: 64px; height: 16px; border-radius: 10px; background: #10183a; }
.mock-phone__brand { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 0 12px; color: #1d2a5a; font-size: .8rem; line-height: 1; }
.mock-phone__brand svg { width: 28px; height: 28px; color: #1d2a5a; }
.mock-phone ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.mock-phone li { display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 6px; background: #e6e8ee; font-size: .62rem; font-weight: 600; color: #1d2a5a; }
.mock-phone li svg { width: 13px; height: 13px; }
.mock-phone li.is-hot { background: var(--sasi-blue); color: #fff; }
.mock-phone li.is-soft { color: var(--sasi-blue); }
.mock-alert { position: absolute; right: 0; top: 0; z-index: 2; display: flex; gap: 10px; align-items: center; padding: 10px 14px; border-radius: var(--radius-md); background: #fff; box-shadow: var(--shadow-md); font-size: .72rem; }
.mock-alert strong { display: block; font-family: var(--font-display); font-size: .78rem; color: var(--sasi-ink); }
.mock-alert span { color: var(--sasi-muted); }
.mock-alert__icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--sasi-blue); color: #fff; }
.mock-alert__icon svg { width: 15px; height: 15px; }
.mock-agent { position: absolute; left: 4%; bottom: 0; z-index: 2; width: 220px; padding: 12px; border-radius: var(--radius-md); background: #f4f6fb; border: 1px solid var(--sasi-line); box-shadow: var(--shadow-md); }
.mock-agent__mic { display: grid; place-items: center; padding: 10px 0 14px; }
.mock-agent__mic span { width: 70px; height: 70px; border-radius: 50%; background: #fff; box-shadow: 0 8px 20px rgba(14,26,61,.12); display: grid; place-items: center; align-content: center; gap: 2px; font-family: var(--font-display); font-size: .65rem; font-weight: 700; color: var(--sasi-blue); }
.mock-agent__mic svg { width: 20px; height: 20px; }
.mock-agent__box { background: #fff; border: 1px solid var(--sasi-line); border-radius: 10px; padding: 10px; }
.mock-agent__head { display: flex; justify-content: space-between; align-items: center; font-size: .6rem; color: var(--sasi-muted); margin-bottom: 6px; }
.mock-agent__head b { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-display); font-size: .7rem; color: var(--sasi-blue-deep); }
.mock-agent__head svg { width: 12px; height: 12px; }
.mock-agent ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mock-agent li { position: relative; padding-left: 18px; font-size: .62rem; font-style: italic; color: var(--sasi-muted); }
.mock-agent li::before { content: ""; position: absolute; left: 0; top: 2px; width: 11px; height: 11px; border-radius: 50%; border: 1.5px solid #c3cae0; }
.mock-agent li.ok::before { background: var(--sasi-blue); border-color: var(--sasi-blue); }
.mock-agent li.now::before { border-color: var(--sasi-blue); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 6px var(--sasi-blue); animation: pulse-dot 1.4s ease-in-out infinite; }
@keyframes pulse-dot { 50% { opacity: .4; } }
@media (max-width: 1023px) { .emp-hero__grid { grid-template-columns: 1fr; } .emp-hero__visual { min-height: 440px; max-width: 520px; width: 100%; margin-inline: auto; } }
@media (max-width: 479px) { .mock-phone { right: 0; width: 200px; } .mock-agent { width: 180px; left: 0; } .mock-alert { top: -6px; } }

.setor__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sasi-tint); }
.setor__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.setor:hover .setor__media img { transform: scale(1.04); }
.setor .card__title { color: var(--sasi-blue-deep); }
.setor__more { background: none; border: 0; padding: 0; min-height: 24px; cursor: pointer; font-family: inherit; position: static !important; }
.setor__more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* card inteiro clicável */
.setor__more:focus-visible { outline: none; }
.setor:has(.setor__more:focus-visible) { outline: 3px solid var(--sasi-blue); outline-offset: 3px; }

/* ---------- Pop-up dos setores (Empresas) ---------- */
html.has-modal { overflow: hidden; }
.setor-pop { padding: 0; border: 0; background: transparent; max-width: min(960px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 32px); overflow: visible; color: var(--sasi-ink); }
.setor-pop::backdrop { background: rgba(10, 18, 45, .62); backdrop-filter: blur(3px); }
.setor-pop[open] { animation: pop-in .28s var(--ease) both; }
.setor-pop[open]::backdrop { animation: fade-in .28s var(--ease) both; }
@keyframes pop-in { from { opacity: 0; transform: translateY(14px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.setor-pop__box { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); background: var(--sasi-surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px rgba(10, 18, 45, .35); max-height: calc(100dvh - 32px); }
.setor-pop__media { margin: 0; min-height: 100%; background: var(--sasi-tint); }
.setor-pop__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.setor-pop__body { padding: clamp(24px, 4vw, 44px); overflow-y: auto; display: flex; flex-direction: column; gap: var(--space-3); }
.setor-pop__title { font-size: var(--fs-xl); font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.setor-pop__feats { list-style: none; margin: var(--space-3) 0 0; padding: 0; display: grid; gap: var(--space-4); }
.setor-pop__feats li { display: flex; gap: 12px; align-items: flex-start; }
.setor-pop__check { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--sasi-tint); color: var(--sasi-blue); display: grid; place-items: center; margin-top: 1px; }
.setor-pop__check svg { width: 14px; height: 14px; }
.setor-pop__feats h3 { font-size: var(--fs-md); font-weight: 700; }
.setor-pop__feats p { font-size: var(--fs-sm); color: var(--sasi-muted); margin-top: 2px; }
.setor-pop__cta { align-self: flex-start; margin-top: var(--space-4); }
.setor-pop__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.94); color: var(--sasi-ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(10,18,45,.18); }
.setor-pop__close:hover { background: #fff; color: var(--sasi-blue); }
.setor-pop__close svg { width: 18px; height: 18px; }
@media (max-width: 760px) {
  .setor-pop__box { grid-template-columns: 1fr; overflow-y: auto; }
  .setor-pop__media { aspect-ratio: 16 / 9; min-height: 0; }
  .setor-pop__body { overflow: visible; }
  .setor-pop__cta { align-self: stretch; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .setor-pop[open], .setor-pop[open]::backdrop { animation: none; } .setor:hover .setor__media img { transform: none; } }

.flow-visual { position: relative; display: flex; justify-content: center; align-items: center; gap: 0; max-width: 820px; margin: 0 auto var(--space-6); }
.flow-visual .mock-phone { position: relative; right: auto; top: auto; width: 170px; z-index: 2; margin-right: -30px; }
.mock-form__q { font-size: .62rem; font-weight: 700; color: var(--sasi-ink); padding: 6px 4px; }
.mock-form__area { height: 64px; border-radius: 6px; background: #eef1f8; margin: 0 4px 8px; }
.mock-form__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; padding: 0 4px; }
.mock-form__opts span { padding: 10px 0; text-align: center; border-radius: 6px; background: #eef1f8; font-size: .55rem; font-weight: 600; color: #1d2a5a; }
.mock-form__opts span:first-child { background: var(--sasi-blue); color: #fff; }
.mock-form__send { margin: 10px 4px 0; padding: 7px; text-align: center; border-radius: 6px; background: var(--sasi-blue); color: #fff; font-size: .6rem; font-weight: 700; }
.mock-console { flex: 1; max-width: 560px; border-radius: 12px; background: #fff; border: 1px solid var(--sasi-line); box-shadow: var(--shadow-md); overflow: hidden; font-family: var(--font-display); }
.mock-console__bar { display: flex; gap: 5px; padding: 8px 10px; background: #f3f5fa; }
.mock-console__bar i { width: 8px; height: 8px; border-radius: 50%; background: #d5dae6; }
.mock-console__bar i:first-child { background: #ff6159; } .mock-console__bar i:nth-child(2) { background: #ffbd2e; } .mock-console__bar i:nth-child(3) { background: #28c941; }
.mock-console__body { display: grid; grid-template-columns: 90px minmax(0, 1fr) 150px; min-height: 230px; }
.mock-console__body aside { background: #1d2a5a; color: #c7cfe8; display: grid; align-content: start; gap: 6px; padding: 10px 8px; font-size: .55rem; }
.mock-console__body aside b { color: #fff; font-size: .6rem; margin-bottom: 6px; }
.mock-console__body aside .on { color: #fff; background: rgba(255,255,255,.12); border-radius: 4px; padding: 3px 4px; }
.mock-console__table { padding: 10px; display: grid; gap: 5px; align-content: start; }
.mock-console__title { font-size: .7rem; font-weight: 700; color: var(--sasi-ink); margin-bottom: 4px; }
.mock-console__table .row { display: grid; grid-template-columns: 64px 46px 1fr; gap: 6px; align-items: center; font-size: .55rem; color: #4a5578; padding: 4px 0; border-bottom: 1px solid #eef1f8; }
.st { border-radius: 99px; padding: 2px 6px; font-size: .5rem; font-weight: 700; text-align: center; }
.st--new { background: #e6ecff; color: var(--sasi-blue-deep); } .st--ok { background: #e2f4ee; color: #0d6b4f; } .st--prog { background: #fdf1de; color: #8a5300; } .st--ack { background: #efeafd; color: #5b3cc4; }
.mock-console__detail { border-left: 1px solid #eef1f8; padding: 10px; display: grid; align-content: start; gap: 8px; font-size: .6rem; }
.mock-console__detail .tag { font-size: .5rem; padding: .15rem .5rem; }
.mock-console__ai { display: flex; gap: 4px; align-items: center; font-weight: 700; color: var(--sasi-blue-deep); }
.mock-console__ai svg { width: 12px; height: 12px; }
.mock-console__lines { display: grid; gap: 5px; }
.mock-console__lines i { height: 6px; border-radius: 4px; background: #eef1f8; }
.mock-console__lines i:nth-child(2) { width: 80%; } .mock-console__lines i:nth-child(3) { width: 60%; }
@media (max-width: 619px) { .flow-visual .mock-phone { display: none; } .mock-console__body { grid-template-columns: 0 minmax(0,1fr) 110px; } .mock-console__body aside { display: none; } }
.flow-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; text-align: center; }
.flow-steps::before { content: ""; position: absolute; top: 24px; left: 16%; right: 16%; border-top: 2px dashed #c3cae0; }
.flow-steps li { position: relative; display: grid; justify-items: center; gap: 8px; }
.flow-steps__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: var(--fs-lg); color: #fff; background: #9fb0f2; box-shadow: 0 0 0 8px #fff; }
.flow-steps li.is-active .flow-steps__n { background: var(--sasi-blue); }
.flow-steps h3 { font-size: var(--fs-md); font-weight: 700; }
.flow-steps p { font-size: var(--fs-sm); color: var(--sasi-muted); max-width: 30ch; }
@media (max-width: 760px) { .flow-steps { grid-template-columns: 1fr; } .flow-steps::before { display: none; } }

.hub-section { background: radial-gradient(60% 60% at 50% 55%, rgba(120, 200, 255, .16), rgba(255,255,255,0) 70%), #fff; }
.hub__brand { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: var(--space-4); color: var(--sasi-muted); }
.hub__brand b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; letter-spacing: .3em; color: var(--sasi-ink); padding-right: 14px; border-right: 1px solid var(--sasi-line); }
.hub__brand strong { color: var(--sasi-blue-deep); }
/* EVAIH · hub animado (linhas com pulsos de dados + esfera 3D) */
.hub { position: relative; width: 100%; max-width: 820px; aspect-ratio: 820 / 420; margin: var(--space-5) auto var(--space-6); }
.hub__links { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub__line { fill: none; stroke: url(#hub-grad); stroke-width: 1.4; stroke-opacity: .35; }
.hub__flow { fill: none; stroke: url(#hub-grad); stroke-width: 1.6; stroke-dasharray: 3 9; stroke-linecap: round; animation: hub-dash 1.6s linear infinite; }
@keyframes hub-dash { to { stroke-dashoffset: -24; } }
.hub__pulse { fill: #5fe0ff; opacity: 0; }
.hub__pulse--in { fill: #ffffff; }
.hub__pill {
  position: absolute; translate: -50% -50%; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 20px; border-radius: 16px; background: rgba(255,255,255,.96); border: 1px solid #e3e9f6;
  box-shadow: 0 8px 24px rgba(14, 26, 61, .08); animation: hub-pill 3s ease-out infinite;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #16233f; white-space: nowrap;
}
.hub__pill img { display: block; height: 26px; width: auto; flex: none; }
.hub__pill { width: max-content; }
.hub__atom { width: 24px; height: 24px; color: #1e2b5c; }
@keyframes hub-pill {
  0%, 40% { box-shadow: 0 8px 24px rgba(14, 26, 61, .08); border-color: #e3e9f6; }
  46% { box-shadow: 0 0 0 4px rgba(79, 216, 255, .22), 0 0 26px rgba(79, 216, 255, .55); border-color: #8fe3ff; }
  70%, 100% { box-shadow: 0 8px 24px rgba(14, 26, 61, .08); border-color: #e3e9f6; }
}
.hub__orb { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 24.5%; aspect-ratio: 1; z-index: 3; perspective: 700px; transform-style: preserve-3d; animation: hub-float 6s ease-in-out infinite; }
@keyframes hub-float { 50% { transform: translateY(-7px); } }
.hub__halo { position: absolute; inset: -38%; border-radius: 50%; background: radial-gradient(circle, rgba(95, 210, 255, .42) 0%, rgba(95, 210, 255, .16) 38%, rgba(95, 210, 255, 0) 66%); animation: hub-breathe 4s ease-in-out infinite; }
@keyframes hub-breathe { 50% { transform: scale(1.08); opacity: .75; } }
.hub__ring { position: absolute; inset: -16%; border-radius: 50%; border: 1.5px solid rgba(110, 215, 255, .6); transform-style: preserve-3d; animation: hub-ring-a 9s linear infinite; box-shadow: 0 0 14px rgba(95, 210, 255, .35); }
.hub__ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 9px; height: 9px; margin-left: -4.5px; border-radius: 50%; background: #bff3ff; box-shadow: 0 0 10px 3px rgba(95, 220, 255, .9); }
.hub__ring--b { inset: -26%; border-color: rgba(150, 140, 255, .45); animation: hub-ring-b 14s linear infinite; box-shadow: 0 0 14px rgba(150, 140, 255, .25); }
.hub__ring--b::before { background: #e3ddff; box-shadow: 0 0 10px 3px rgba(160, 140, 255, .85); }
@keyframes hub-ring-a { from { transform: rotateX(72deg) rotateY(-12deg) rotateZ(0deg); } to { transform: rotateX(72deg) rotateY(-12deg) rotateZ(360deg); } }
@keyframes hub-ring-b { from { transform: rotateX(68deg) rotateY(38deg) rotateZ(360deg); } to { transform: rotateX(68deg) rotateY(38deg) rotateZ(0deg); } }
.hub__core {
  position: absolute; inset: 0; border-radius: 50%; display: grid; place-items: center; overflow: hidden; transform: translateZ(0);
  background:
    radial-gradient(circle at 31% 24%, rgba(255,255,255,.95) 0 3%, rgba(255,255,255,.35) 9%, rgba(255,255,255,0) 26%),
    radial-gradient(circle at 72% 82%, rgba(80, 225, 255, .75), rgba(80, 225, 255, 0) 42%),
    radial-gradient(circle at 18% 78%, rgba(150, 120, 255, .35), rgba(150, 120, 255, 0) 40%),
    radial-gradient(circle at 42% 36%, #6b778c 0%, #2b3548 38%, #0a1020 74%);
  box-shadow: inset -22px -26px 44px rgba(0, 0, 0, .55), inset 12px 14px 30px rgba(255, 255, 255, .14),
    0 0 0 1px rgba(160, 225, 255, .5), 0 0 46px rgba(80, 200, 255, .5), 0 34px 60px rgba(14, 26, 61, .35);
}
.hub__core::before { content: ""; position: absolute; inset: -20%; background: conic-gradient(from 0deg, rgba(95, 220, 255, 0), rgba(95, 220, 255, .32) 12%, rgba(95, 220, 255, 0) 26%, rgba(170, 130, 255, .26) 52%, rgba(170, 130, 255, 0) 66%, rgba(95, 220, 255, 0)); mix-blend-mode: screen; animation: hub-spin 7s linear infinite; }
.hub__core::after { content: ""; position: absolute; inset: 9%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .03); }
@keyframes hub-spin { to { transform: rotate(360deg); } }
.hub__core span { position: relative; z-index: 1; font-family: var(--font-display); font-weight: 400; font-size: clamp(1.1rem, 2.6vw, 1.6rem); letter-spacing: .3em; padding-left: .3em; color: #fff; text-shadow: 0 0 14px rgba(110, 225, 255, .9), 0 0 2px rgba(255,255,255,.9); }
.hub.is-paused *, .hub.is-paused *::before, .hub.is-paused *::after { animation-play-state: paused !important; }
@media (prefers-reduced-motion: reduce) {
  .hub *, .hub *::before, .hub *::after { animation: none !important; }
  .hub__pulse { display: none; }
  .hub__ring { transform: rotateX(72deg) rotateY(-12deg); } .hub__ring--b { transform: rotateX(68deg) rotateY(38deg); }
}
@media (max-width: 900px) { .hub__pill { padding: 10px 14px; } .hub__pill img { height: 21px; } .hub__atom { width: 20px; height: 20px; } }
@media (max-width: 619px) {
  .hub { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding-top: 250px; }
  .hub__links { display: none; }
  .hub__pill { position: static; translate: none; justify-content: center; padding: 12px 10px; width: auto; }
  .hub__pill img { height: 20px; }
  .hub__orb { top: 115px; width: 150px; }
}
.hub-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.hub-features li { display: flex; gap: 10px; }
.hub-features svg { flex: none; width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--sasi-tint); color: var(--sasi-blue); }
.hub-features h3 { font-size: var(--fs-sm); font-weight: 700; }
.hub-features p { font-size: .85rem; color: var(--sasi-muted); margin-top: 2px; }
@media (max-width: 900px) { .hub-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .hub-features { grid-template-columns: 1fr; } }
.hub-note { display: flex; gap: var(--space-4); align-items: center; margin-top: var(--space-6); padding: var(--space-5); border-radius: var(--radius-lg); background: var(--sasi-bg-soft); border: 1px solid var(--sasi-line); }
.hub-note h3 { font-size: var(--fs-md); font-weight: 700; }
.hub-note p { font-size: var(--fs-sm); color: var(--sasi-muted); }
.trust-strip { background: var(--sasi-bg-soft); padding-block: var(--space-6); border-block: 1px solid var(--sasi-line); }
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); list-style: none; margin: 0; padding: 0; }
.trust li { display: flex; gap: 12px; align-items: flex-start; }
.trust .icon-tile { background: #fff; box-shadow: var(--shadow-sm); }
.trust h3 { font-size: var(--fs-sm); font-weight: 700; }
.trust p { font-size: .85rem; color: var(--sasi-muted); margin-top: 2px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .trust { grid-template-columns: 1fr; } }

/* Mantém textos ocultos (leitores de tela) dentro do próprio card */
.card, .sol-mini, .news-feature__body { position: relative; }
@media (max-width: 719px) { #video-title { white-space: normal; font-size: 1.5rem; } }
.sol-mini__name a { display: inline-block; min-height: 24px; line-height: 24px; }

/* =========================================================
   Governo · Nossa principal solução (Cidade na Mão) — revisão
   ========================================================= */
.flagship { padding-bottom: 0; }
.flagship__visual { min-height: 560px; }
.app-reel { position: relative; display: grid; justify-items: center; gap: 14px; }
.app-reel__phone { width: 280px; aspect-ratio: 9 / 19; padding: 10px; }
.app-reel__screens { position: relative; height: 100%; border-radius: 28px; overflow: hidden; background: #0b1430; }
.app-reel__screen {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center;
  opacity: 0; transform: scale(1.03); transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.app-reel__screen.is-active { opacity: 1; transform: none; }
.app-reel__label { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #c9d4ff; min-height: 1.2em; }
.app-reel__toggle {
  position: absolute; z-index: 3; right: 50%; bottom: 6px; translate: 175px 0;
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.08); color: #fff;
}
.app-reel__toggle svg { width: 12px; height: 12px; }
/* Balões mais afastados do celular, encostando só na borda */
.flagship__visual .float-card--top { top: 70px; right: auto; left: calc(50% + 140px - 30px); }
.flagship__visual .float-card--list { left: auto; right: calc(50% + 140px - 30px); bottom: 70px; }
@media (max-width: 1180px) {
  .flagship__visual .float-card--top { left: auto; right: 0; }
  .flagship__visual .float-card--list { right: auto; left: 0; }
}
@media (max-width: 559px) {
  .flagship__visual { min-height: 520px; }
  .app-reel__phone { width: 220px; }
  .flagship__visual .float-card--top { top: 20px; }
  .flagship__visual .float-card--list { bottom: 40px; }
  .app-reel__toggle { translate: 140px 0; }
}
@media (prefers-reduced-motion: reduce) { .app-reel__screen { transition: none; } }

/* Rodapé da seção azul: portfólio + logos das prefeituras */
.cnm-foot { margin-top: var(--space-7); padding-top: var(--space-6); padding-bottom: var(--space-7); border-top: 1px solid rgba(255,255,255,.14); }
.cnm-foot__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.cnm-foot__title { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); color: #fff; }
.cnm-foot__btn { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: 0; background: none; border: 0; color: #fff; font-family: var(--font-display); font-weight: 600; text-decoration: none; text-underline-offset: 4px; }
.cnm-foot__btn svg { width: 18px; height: 18px; flex: none; }
.cnm-foot__btn:hover { text-decoration: underline; }
.cnm-foot__btn:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.cnm-foot__meta { font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--sasi-muted); padding-left: .6rem; border-left: 1px solid var(--sasi-line); }
.cnm-logos__viewport { padding-block: 16px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.cnm-logos__track { animation-duration: 45s; }
.cnm-logos__item {
  flex: none; width: 190px; height: 92px; margin-right: 16px; padding: 12px 18px; display: grid; place-items: center;
  background: #fff; border-radius: var(--radius-md); transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .35s;
}
.cnm-logos__item--dark { background: #16245a; border: 1px solid rgba(255,255,255,.2); }
.cnm-logos__item img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }
.cnm-logos__track:hover .cnm-logos__item { opacity: .55; }
.cnm-logos__track .cnm-logos__item:hover { opacity: 1; transform: scale(1.12); box-shadow: 0 14px 30px rgba(0,0,0,.35); }
@media (max-width: 619px) { .cnm-logos__item { width: 150px; height: 78px; } .cnm-foot__btn { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .cnm-logos__item[aria-hidden="true"] { display: none; } }
@media (max-width: 559px) {
  .flagship__visual { min-height: 0; padding-block: 56px 10px; }
  .flagship__visual .float-card--list { display: none; }
  .flagship__visual .float-card--top { top: 0; right: 0; left: auto; max-width: 210px; padding: .55rem .75rem; }
  .cnm-foot__meta { display: none; }
  .cnm-foot__btn { font-size: var(--fs-sm); }
}

/* Hero da Home: seta para passar os cases (substitui bolinhas e pausa) */
.hero-cases__next {
  position: absolute; z-index: 4; top: 44%; right: 0; translate: 50% -50%;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  border: 0; background: #fff; color: var(--sasi-blue); box-shadow: 0 10px 26px rgba(14, 26, 61, .28);
  transition: transform .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.hero-cases__next svg { width: 24px; height: 24px; transition: transform .2s var(--ease); }
.hero-cases__next:hover { background: var(--sasi-blue); color: #fff; }
.hero-cases__next:hover svg { transform: translateX(3px); }
.hero-cases__count {
  position: absolute; z-index: 3; top: 12px; right: 14px; padding: .25rem .65rem; border-radius: var(--radius-pill);
  background: rgba(14, 26, 61, .45); color: #fff; font-family: var(--font-display); font-size: .75rem; font-weight: 600;
  font-variant-numeric: tabular-nums; backdrop-filter: blur(6px);
}
@media (max-width: 1023px) { .hero-cases__next { translate: 0 -50%; right: 8px; width: 48px; height: 48px; } }

/* Menu Parceiros (lista suspensa pequena) */
.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; z-index: 20; width: 300px;
  list-style: none; margin: 0; padding: 8px; background: var(--sasi-surface);
  border: 1px solid var(--sasi-line); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
}
.drop a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: var(--radius-sm); text-decoration: none; color: var(--sasi-ink); }
.drop a:hover, .drop a:focus-visible { background: var(--sasi-tint); }
.drop .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.drop .icon-tile svg { width: 20px; height: 20px; }
.drop strong { display: block; font-family: var(--font-display); font-size: var(--fs-sm); }
.drop small { display: block; font-size: .78rem; color: var(--sasi-muted); line-height: 1.35; }
@media (max-width: 1023px) {
  .drop { position: static; translate: none; width: auto; box-shadow: none; border: 0; padding: 0 0 8px; }
}
/* Menu do celular: o backdrop-filter do cabeçalho prendia o painel fixo à altura do cabeçalho */
@media (max-width: 1023px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--sasi-surface); }
  .main-nav { height: calc(100dvh - var(--header-h) - env(safe-area-inset-top, 0px)); }
}
/* Diferenciais do Cidade na Mão: duas colunas lidas de cima para baixo */
@media (min-width: 560px) { .features--cols { grid-template-rows: repeat(3, auto); grid-auto-flow: column; } }
/* Mais espaço para o celular, sem o balão invadir a coluna de texto */
@media (min-width: 1181px) {
  .flagship__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-6); }
  .flagship__visual .float-card--list { width: 200px; right: auto; left: max(0px, calc(50% - 140px + 30px - 200px)); }
}
/* Governo: 3 indicadores no balão; no celular quebram em duas linhas */
@media (max-width: 559px) {
  .gov-hero .gov-kpis { flex-wrap: wrap; row-gap: 12px; }
  .gov-hero .gov-kpis li:nth-child(3) { border-left: 0; padding-left: 0; flex-basis: 100%; padding-top: 12px; border-top: 1px solid var(--sasi-line); }
}
.gov-hero .gov-kpis__num, .gov-hero .gov-kpis__label { white-space: nowrap; }
@media (min-width: 560px) { .gov-hero .gov-kpis { gap: var(--space-4); padding: 16px 22px; } .gov-hero .gov-kpis li + li { padding-left: var(--space-4); } .gov-hero .gov-kpis__num { font-size: 1.35rem; } }

/* =========================================================
   Governo · Soluções para cada departamento público
   (menu | funcionalidades | foto 3:4)
   ========================================================= */
.dept {
  display: grid; grid-template-columns: 260px minmax(0, 1fr) minmax(0, 340px); gap: var(--space-6); align-items: stretch;
  padding: var(--space-5); border-radius: var(--radius-lg); background: var(--sasi-surface); border: 1px solid var(--sasi-line); box-shadow: var(--shadow-sm);
}
.dept__tabs { display: grid; gap: 8px; align-content: start; }
.dept__tab {
  display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px;
  border: 1px solid var(--sasi-line); border-radius: var(--radius-sm); background: var(--sasi-surface); cursor: pointer;
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: #5b6785; text-align: left;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.dept__tab:hover { color: var(--sasi-ink); border-color: #cfd6ea; }
.dept__icon { width: 19px; height: 19px; flex: none; color: #7c87a3; transition: color .25s var(--ease); }
.dept__chev { width: 16px; height: 16px; margin-left: auto; opacity: 0; color: var(--sasi-blue); transition: opacity .25s var(--ease), transform .25s var(--ease); transform: translateX(-4px); }
.dept__tab[aria-selected="true"] { background: var(--sasi-tint); border-color: rgba(40, 72, 201, .22); color: var(--sasi-blue-deep); }
.dept__tab[aria-selected="true"] .dept__icon { color: var(--sasi-blue); }
.dept__tab[aria-selected="true"] .dept__chev { opacity: 1; transform: none; }
.dept__tab { position: relative; overflow: hidden; }
.dept__tab::after { content: ""; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--sasi-blue); transform: scaleX(0); transform-origin: left; opacity: 0; }
.dept.is-autoplay .dept__tab[aria-selected="true"]::after { opacity: .85; animation: dept-progress 4s linear forwards; }
.dept.is-paused .dept__tab[aria-selected="true"]::after { animation-play-state: paused; }
@keyframes dept-progress { to { transform: scaleX(1); } }
.dept__content { min-width: 0; align-self: center; }
.dept__label { font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 700; color: var(--sasi-blue); margin-bottom: var(--space-4); }
.dept__panel { min-width: 0; }
.dept__panel:focus-visible { outline-offset: 6px; }
.dept__feats { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-5); }
.dept__feat { position: relative; padding-left: 18px; animation: dept-in .4s var(--ease) both; }
.dept__feat::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--sasi-blue); }
.dept__feat:nth-child(2) { animation-delay: .05s; } .dept__feat:nth-child(3) { animation-delay: .1s; } .dept__feat:nth-child(4) { animation-delay: .15s; }
.dept__feat h3 { font-size: var(--fs-md); font-weight: 700; letter-spacing: -.01em; }
.dept__feat p { font-size: var(--fs-sm); color: var(--sasi-muted); margin-top: 2px; }
@keyframes dept-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.dept__photo { margin: 0; aspect-ratio: 3 / 4; width: 100%; max-width: 100%; border-radius: var(--radius-md); overflow: hidden; background: var(--sasi-tint); align-self: center; }
.dept__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: opacity .25s var(--ease); }
.dept.is-swapping .dept__photo img { opacity: 0; }
@media (max-width: 1100px) { .dept { grid-template-columns: 230px minmax(0, 1fr) minmax(0, 260px); gap: var(--space-5); } }
@media (max-width: 900px) {
  .dept { grid-template-columns: 1fr; }
  .dept__tabs { display: flex; overflow-x: auto; gap: 8px; scrollbar-width: none; padding-bottom: 2px; }
  .dept__tab { flex: none; min-height: 46px; }
  .dept__chev { display: none; }
  .dept__photo { max-width: 360px; justify-self: center; width: 100%; order: 3; }
}
@media (prefers-reduced-motion: reduce) { .dept__feat { animation: none; } }
/* Ajuste ótico dos logos do hub */
.hub__pill--grok img { height: 34px; margin-block: -4px; }
.hub__pill--claude img { height: 23px; }
@media (max-width: 900px) { .hub__pill--grok img { height: 27px; } .hub__pill--claude img { height: 19px; } }
@media (max-width: 619px) { .hub__pill--grok img { height: 26px; } .hub__pill--claude img { height: 18px; } }

/* =========================================================
   V3 · HOME · Hero que cabe inteira na tela
   (celular à esquerda · foto · balão do case embaixo da foto)
   ========================================================= */
.hx {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center;
  padding-block: var(--space-6) var(--space-7);
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(40, 72, 201, .5), rgba(40, 72, 201, 0) 70%),
    radial-gradient(45% 60% at 92% 95%, rgba(90, 116, 230, .4), rgba(90, 116, 230, 0) 70%),
    linear-gradient(100deg, #ffffff 0%, #ffffff 30%, #e6ebff 50%, #a9baf5 72%, #5a74e6 90%, #3b5bdb 100%);
}
.hx__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 4vw, 72px); align-items: center; width: 100%; }
.hx__copy { display: grid; gap: clamp(14px, 2.4vh, 26px); align-content: center; }
.hx__title { font-size: clamp(2.6rem, min(5.2vw, 9.6vh), 5.2rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.02; }
.hx__text { font-size: clamp(1rem, min(1.25vw, 2.3vh), 1.25rem); color: #4a5675; line-height: 1.55; max-width: 46ch; }
.hx-stats {
  list-style: none; margin: 0; padding: 12px 6px; display: inline-grid; grid-template-columns: repeat(4, auto); width: fit-content; max-width: 100%;
  background: rgba(255, 255, 255, .92); border: 1px solid var(--sasi-line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.hx-stats li { padding: 2px clamp(10px, 1vw, 16px); min-width: 0; }
.hx-stats li + li { border-left: 1px solid var(--sasi-line); }
.hx-stats__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.05rem, min(1.35vw, 2.4vh), 1.35rem); color: var(--sasi-ink); line-height: 1.15; display: flex; align-items: center; gap: .25rem; white-space: nowrap; }
.hx-stats__num .stars { margin-left: .15rem; }
.hx-stats__num .stars svg { width: 12px; height: 12px; }
.hx-stats__label { font-size: .7rem; color: var(--sasi-muted); line-height: 1.35; margin-top: 3px; white-space: nowrap; }
.hx-stats__seals { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.hx-stats__seals span { display: flex; gap: 4px; }
.hx-stats__seals img { width: 30px; height: 30px; object-fit: contain; }
.hx-stats__seals .hx-stats__label { margin-top: 0; }

.hx-cases { position: relative; min-width: 0; --stage-h: 460px; }
.hx-cases__stage { position: relative; height: var(--stage-h); }
.hx-case {
  position: absolute; inset: 0; margin: 0; display: grid; grid-template-columns: 34% minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto;
  column-gap: clamp(16px, 1.8vw, 28px); row-gap: 14px;
  visibility: hidden; opacity: 0; transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.hx-case.is-active { visibility: visible; opacity: 1; transition: opacity .7s var(--ease), visibility 0s; }
.hx-case__phone {
  grid-row: 1 / 3; align-self: center; justify-self: center; width: 100%; height: auto; max-height: calc(var(--stage-h) * .94); object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(14, 26, 61, .32)); transform: translateY(18px); opacity: 0; transition: transform .8s var(--ease) .1s, opacity .8s var(--ease) .1s;
}
.hx-case__photo { grid-column: 2; grid-row: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 24px 50px rgba(14, 26, 61, .22); min-height: 0; }
.hx-case__photo img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 6s ease-out; }
.hx-case__chip {
  grid-column: 2; grid-row: 2; display: grid; gap: 2px; padding: .85rem 1.1rem; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .97); border: 1px solid var(--sasi-line); box-shadow: var(--shadow-md);
  transform: translateY(12px); opacity: 0; transition: transform .7s var(--ease) .25s, opacity .7s var(--ease) .25s;
}
.hx-case.is-active .hx-case__phone, .hx-case.is-active .hx-case__chip { transform: none; opacity: 1; }
.hx-case.is-active .hx-case__photo img { transform: scale(1); }
.hx-case__eyebrow { font-family: var(--font-display); font-size: .66rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--sasi-blue); }
.hx-case__chip strong { font-family: var(--font-display); font-size: clamp(1rem, 2.1vh, 1.15rem); color: var(--sasi-ink); line-height: 1.2; }
.hx-case__chip span:last-child { font-size: .8rem; color: var(--sasi-muted); line-height: 1.45; }
.hx-cases__next {
  position: absolute; z-index: 3; right: -22px; top: calc((var(--stage-h) - 96px) / 2); translate: 0 -50%;
  width: 52px; height: 52px; border-radius: 50%; border: 0; background: #fff; color: var(--sasi-blue); cursor: pointer;
  display: grid; place-items: center; box-shadow: 0 10px 26px rgba(14, 26, 61, .25); transition: background-color .2s var(--ease), color .2s var(--ease);
}
.hx-cases__next svg { width: 22px; height: 22px; transition: transform .2s var(--ease); }
.hx-cases__next:hover { background: var(--sasi-blue); color: #fff; }
.hx-cases__next:hover svg { transform: translateX(3px); }
.hx-cases__count { position: absolute; z-index: 3; top: 12px; right: 12px; padding: 3px 10px; border-radius: var(--radius-pill); background: rgba(14, 26, 61, .45); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .75rem; letter-spacing: .08em; backdrop-filter: blur(6px); }

@media (min-width: 1024px) {
  .hx { min-height: calc(100svh - var(--header-h)); padding-block: clamp(16px, 3vh, 40px); }
  .hx-cases { --stage-h: clamp(340px, calc(100svh - var(--header-h) - 96px), 640px); }
}
@media (max-width: 1279px) and (min-width: 1024px) {
  .hx__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hx-stats { grid-template-columns: repeat(2, auto); row-gap: 10px; }
  .hx-stats li:nth-child(3) { border-left: 0; }
}
@media (max-width: 1023px) {
  .hx { padding-block: var(--space-6); background: linear-gradient(180deg, #ffffff 0%, #ffffff 30%, #dfe6ff 55%, #8ea3f0 80%, #4d69e0 100%); }
  .hx__grid { grid-template-columns: 1fr; }
  .hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; width: 100%; }
  .hx-stats li:nth-child(3) { border-left: 0; }
  .hx-stats__label { white-space: normal; }
  .hx-cases { --stage-h: 440px; max-width: 640px; width: 100%; justify-self: center; }
  .hx-cases__next { right: 8px; }
}
@media (max-width: 599px) {
  .hx-cases { --stage-h: 470px; }
  .hx-case { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; }
  .hx-case__photo { grid-column: 1; grid-row: 1; margin-left: 64px; }
  .hx-case__phone { grid-column: 1; grid-row: 1; align-self: end; justify-self: start; height: 250px; width: auto; max-height: none; z-index: 2; margin-bottom: -18px; }
  .hx-case__chip { grid-column: 1; grid-row: 2; margin-left: 0; }
  .hx-cases__next { top: calc((var(--stage-h) - 110px) / 2); width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-case, .hx-case__phone, .hx-case__chip, .hx-case__photo img { transition: none; transform: none; }
}

/* V3 · Menu Soluções: botão "Confira todas as soluções" */
.mega__foot { display: flex; justify-content: flex-end; padding-bottom: var(--space-5); border-top: 1px solid var(--sasi-line); padding-top: var(--space-4); }
@media (max-width: 1023px) { .mega__foot { justify-content: stretch; border-top: 0; padding-top: 0; } .mega__foot .btn { width: 100%; justify-content: center; } }

/* V3 · HOME · Vídeo com texto ao lado */
.vx__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.vx__copy { display: grid; gap: var(--space-4); justify-items: start; }
.vx__title { font-size: clamp(2rem, 1.3rem + 2.2vw, 3rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: var(--sasi-ink); }
.vx__title span { display: block; font-size: 1.22em; background: linear-gradient(90deg, var(--sasi-blue-deep), var(--sasi-blue) 60%, var(--sasi-blue-light)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.vx__text { font-size: var(--fs-md); color: var(--sasi-muted); max-width: 40ch; }
.vx__video { max-height: calc(100svh - var(--header-h) - 120px); }
@media (max-width: 899px) { .vx__grid { grid-template-columns: 1fr; } }

/* V3 · GOVERNO · Hero ocupa a primeira tela inteira */
@media (min-width: 1024px) {
  .gov-hero { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; padding-block: clamp(20px, 4vh, 48px); }
  .gov-hero > .container { width: 100%; }
}
@media (min-width: 1024px) {
  .gov-hero__copy { grid-template-rows: none; align-content: center; }
  .gov-hero .gov-kpis { align-self: start; margin-top: var(--space-2); }
}

/* =========================================================
   V3 · GOVERNO · Faixa CTA do piloto (fina, com o robô)
   ========================================================= */
.pilot-strip { position: relative; overflow: hidden; background: linear-gradient(90deg, #eaf0ff 0%, #f4f7ff 45%, #e9fbf0 100%); border-block: 1px solid #dfe6f6; }
.pilot-strip__inner { display: flex; align-items: center; gap: clamp(16px, 3vw, 40px); min-height: 104px; padding-block: 10px; }
.pilot-strip__robot { width: clamp(96px, 9vw, 132px); height: auto; align-self: flex-end; margin-bottom: -10px; filter: drop-shadow(0 10px 16px rgba(14, 26, 61, .2)); animation: pilot-bob 4s ease-in-out infinite; }
@keyframes pilot-bob { 50% { transform: translateY(-5px) rotate(-1.5deg); } }
.pilot-strip__copy { flex: 1; min-width: 0; }
.pilot-strip__copy h2 { font-size: clamp(1.25rem, .9rem + 1.2vw, 1.85rem); font-weight: 700; letter-spacing: -.02em; color: var(--sasi-ink); }
.pilot-strip__btn { flex: none; }
.btn--whatsapp { position: relative; }
.pilot-strip__btn::after { content: ""; position: absolute; inset: -4px; border-radius: inherit; border: 2px solid rgba(37, 211, 102, .55); animation: pilot-ping 2.4s ease-out infinite; pointer-events: none; }
@keyframes pilot-ping { 0% { opacity: .9; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.12, 1.35); } }
@media (max-width: 700px) {
  .pilot-strip__inner { flex-wrap: wrap; justify-content: center; text-align: center; padding-block: 18px 22px; }
  .pilot-strip__robot { width: 92px; align-self: center; margin: 0; }
  .pilot-strip__copy { flex-basis: 100%; }
  .pilot-strip__btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .pilot-strip__robot, .pilot-strip__btn::after { animation: none; } }

/* V3 · Cidade na Mão: sem os balões flutuantes, 6 diferenciais com mais respiro */
.flagship .features--cols { gap: 14px 18px; margin-top: var(--space-3); }
.flagship .features--cols li { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); font-size: .95rem; line-height: 1.35; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.flagship .features--cols li:hover { background: rgba(255, 255, 255, .1); border-color: rgba(169, 184, 255, .4); }
.flagship__visual { min-height: 0; padding-block: var(--space-5); }
@media (min-width: 1181px) { .flagship__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--space-8); } }

/* V3 · CTA final com leque de telas de apps SASI */
.cta-final { padding-top: var(--space-7); }
.cta-band--apps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: var(--space-6); align-items: center; overflow: hidden; padding-block: clamp(36px, 5vw, 56px); }
.cta-band--apps::before, .cta-band--apps::after { display: none; }
.cta-band--apps .cta-band__actions { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: 12px; }
.app-fan { position: relative; height: 320px; }
.app-fan__phone {
  position: absolute; bottom: -70px; left: 50%; width: 132px; aspect-ratio: var(--ar); padding: 6px; border-radius: 24px; background: #0b1020;
  box-shadow: 0 0 0 1.5px #3b4561, 0 24px 40px rgba(5, 10, 30, .5); transform-origin: 50% 70%; animation: fan-float 6s ease-in-out infinite;
}
.app-fan__phone::before { content: ""; position: absolute; z-index: 2; top: 9px; left: 50%; width: 34%; height: 9px; translate: -50% 0; border-radius: 999px; background: #0b1020; }
.app-fan__phone img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 19px; background: #fff; }
.app-fan__phone--1 { translate: -50% 0; transform: translateX(-210px) rotate(-16deg); animation-delay: -1s; z-index: 1; }
.app-fan__phone--2 { translate: -50% 0; transform: translateX(-108px) rotate(-8deg) translateY(-26px); animation-delay: -2s; z-index: 2; }
.app-fan__phone--0 { translate: -50% 0; transform: translateY(-50px); width: 150px; animation-delay: -3s; z-index: 4; }
.app-fan__phone--3 { translate: -50% 0; transform: translateX(108px) rotate(8deg) translateY(-26px); animation-delay: -4s; z-index: 3; }
.app-fan__phone--4 { translate: -50% 0; transform: translateX(210px) rotate(16deg); animation-delay: -5s; z-index: 1; }
@keyframes fan-float { 50% { margin-bottom: 10px; } }
@media (max-width: 1100px) { .app-fan__phone { width: 112px; } .app-fan__phone--0 { width: 128px; } .app-fan__phone--1 { transform: translateX(-170px) rotate(-16deg); } .app-fan__phone--4 { transform: translateX(170px) rotate(16deg); } .app-fan__phone--2 { transform: translateX(-88px) rotate(-8deg) translateY(-22px); } .app-fan__phone--3 { transform: translateX(88px) rotate(8deg) translateY(-22px); } }
@media (max-width: 899px) { .cta-band--apps { grid-template-columns: 1fr; } .app-fan { height: 260px; margin-inline: -20px; } }
@media (max-width: 479px) { .app-fan { height: 220px; } .app-fan__phone { width: 88px; padding: 4px; border-radius: 18px; } .app-fan__phone img { border-radius: 14px; } .app-fan__phone--0 { width: 104px; } .app-fan__phone--1 { transform: translateX(-128px) rotate(-16deg); } .app-fan__phone--4 { transform: translateX(128px) rotate(16deg); } .app-fan__phone--2 { transform: translateX(-66px) rotate(-8deg) translateY(-18px); } .app-fan__phone--3 { transform: translateX(66px) rotate(8deg) translateY(-18px); } .app-fan__phone::before { height: 6px; top: 6px; } .cta-band--apps .cta-band__actions .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .app-fan__phone { animation: none; } }

/* V3 · Pop-up do formulário (2 etapas) */
.lead { padding: 0; border: 0; background: transparent; width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); color: var(--sasi-ink); overflow: visible; }
.lead::backdrop { background: rgba(10, 18, 45, .62); backdrop-filter: blur(3px); }
.lead[open] { animation: pop-in .28s var(--ease) both; }
.lead__box { position: relative; display: grid; gap: var(--space-4); padding: clamp(22px, 4vw, 36px); background: #fff; border-radius: var(--radius-lg); box-shadow: 0 30px 80px rgba(10, 18, 45, .35); max-height: calc(100dvh - 24px); overflow-y: auto; }
.lead__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #f1f4fb; color: var(--sasi-ink); display: grid; place-items: center; cursor: pointer; }
.lead__close:hover { background: var(--sasi-tint); color: var(--sasi-blue); }
.lead__close svg { width: 18px; height: 18px; }
.lead__title { font-size: var(--fs-xl); font-weight: 700; margin-top: -6px; }
.lead__steps { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; }
.lead__steps li { flex: 1; display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #f3f5fb; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: #5d6884; }
.lead__steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #dfe5f3; color: #45506d; font-size: .75rem; }
.lead__steps li.is-current { background: var(--sasi-tint); color: var(--sasi-blue-deep); }
.lead__steps li.is-current b, .lead__steps li.is-done b { background: var(--sasi-blue); color: #fff; }
.lead__step { border: 0; margin: 0; padding: 0; display: grid; gap: var(--space-4); min-width: 0; }
.lead__seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.lead__seg label { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid #dbe2f1; font-family: var(--font-display); font-weight: 600; font-size: .92rem; cursor: pointer; }
.lead__seg label:has(input:checked) { border-color: var(--sasi-blue); background: var(--sasi-tint); color: var(--sasi-blue-deep); }
.lead__seg input { accent-color: var(--sasi-blue); width: 18px; height: 18px; }
.lead__field { display: grid; gap: 6px; font-size: .88rem; font-weight: 600; color: #2b3756; }
.lead__field small { font-weight: 400; color: var(--sasi-muted); }
.lead__field input, .lead__field textarea { width: 100%; min-height: 44px; padding: 10px 12px; border-radius: 10px; border: 1.5px solid #d3dbec; font: inherit; font-weight: 400; font-size: .95rem; color: var(--sasi-ink); background: #fff; }
.lead__field textarea { resize: vertical; min-height: 96px; }
.lead__field input:focus, .lead__field textarea:focus { outline: none; border-color: var(--sasi-blue); box-shadow: 0 0 0 3px rgba(40, 72, 201, .15); }
.lead__field [aria-invalid="true"] { border-color: #c62828; }
.lead__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.lead__error { color: #b42318; font-size: .85rem; font-weight: 600; }
.lead__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
.lead__done { display: grid; justify-items: center; text-align: center; gap: 10px; padding-block: 10px; }
.lead__done:focus { outline: none; }
.lead__done-ico { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: #e7f8ee; color: #138a43; }
.lead__done-ico svg { width: 28px; height: 28px; }
.lead__done h3 { font-size: var(--fs-lg); }
.lead__done p { color: var(--sasi-muted); font-size: .92rem; max-width: 40ch; }
@media (max-width: 520px) { .lead__grid, .lead__seg { grid-template-columns: 1fr; } .lead__actions .btn { flex: 1; justify-content: center; } }

/* =========================================================
   V3 · Proporções: seções cabendo inteiras na tela
   ========================================================= */
/* Empresas · hub EVAIH em duas colunas (texto | animação) */
.hubx { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hubx__copy { display: grid; gap: var(--space-4); }
.hubx__copy .section-sub { margin: 0; }
.hubx .hub__brand { justify-content: flex-start; margin: 0; }
.hubx .hub-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4); }
.hubx .hub-note { margin-top: 0; padding: var(--space-4); }
.hubx .hub { margin: 0; max-width: none; }
.hubx .hub__pill { padding: 10px 14px; }
.hubx .hub__pill img { height: 22px; }
.hubx .hub__pill--grok img { height: 29px; }
.hubx .hub__pill--claude img { height: 19px; }
@media (max-width: 1023px) { .hubx { grid-template-columns: 1fr; } .hubx .hub { max-width: 760px; margin-inline: auto; width: 100%; } }
@media (max-width: 479px) { .hubx .hub-features { grid-template-columns: 1fr; } }

/* Primeira seção ocupando a tela (Empresas, Sobre nós, Em construção) */
@media (min-width: 1024px) {
  .emp-hero, .wip { min-height: calc(100svh - var(--header-h)); display: flex; align-items: center; }
  .emp-hero > .container, .wip > .container { width: 100%; }
  /* Cidade na Mão: celular acompanha a altura da tela */
  .flagship { padding-top: clamp(40px, 6vh, 80px); }
  .app-reel__phone { width: clamp(210px, calc((100svh - var(--header-h) - 300px) * .47), 280px); }
  .flagship .cnm-foot { margin-top: var(--space-5); }
  #cases img.case-photo { height: 160px; }
  #cases { padding-block: clamp(40px, 6vh, 80px); }
}
@media (min-width: 1024px) { .section { padding-block: clamp(44px, 7vh, 80px); } }
@media (min-width: 1024px) { .flagship.section { padding-bottom: 0; padding-top: clamp(40px, 6vh, 80px); } #cases.section { padding-block: clamp(40px, 6vh, 80px); } }

/* V3 · Hero: foto do case mais larga (principalmente para a direita) */
@media (min-width: 1024px) {
  .hx__grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr); }
  .hx-case { grid-template-columns: 31% minmax(0, 1fr); }
}
@media (min-width: 1280px) {
  .hx-cases { margin-right: calc(clamp(0px, (100vw - 1200px) / 2 - 40px, 96px) * -1); }
}
@media (min-width: 1024px) and (max-width: 1279px) { .hx-cases__next { right: -14px; } }

/* V3 · Hero: balão de números em 2 linhas (1,4M | 4,8 · 30 anos | selos) */
.hx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; width: 100%; max-width: 540px; padding: 6px 0; row-gap: 0; }
.hx-stats li { padding: 14px clamp(16px, 1.6vw, 24px); }
.hx-stats li:nth-child(odd) { border-left: 0 !important; }
.hx-stats li:nth-child(even) { border-left: 1px solid var(--sasi-line) !important; }
.hx-stats li:nth-child(n+3) { border-top: 1px solid var(--sasi-line); }
.hx-stats__num { font-size: clamp(1.3rem, min(1.7vw, 3vh), 1.65rem); }
.hx-stats__num .stars svg { width: 14px; height: 14px; }
.hx-stats__label { font-size: .8rem; white-space: normal; margin-top: 4px; }
.hx-stats__seals { flex-direction: row !important; align-items: center; gap: 12px !important; }
.hx-stats__seals span { gap: 6px; }
.hx-stats__seals img { width: 46px !important; height: 46px !important; }
.hx-stats__seals .hx-stats__label { margin: 0; max-width: 9ch; line-height: 1.3; }
@media (max-width: 479px) { .hx-stats li { padding: 12px 12px; } .hx-stats__seals img { width: 36px !important; height: 36px !important; } .hx-stats__seals { gap: 8px !important; } }

/* =========================================================
   V4 · Mockup padrão de celular (de frente) — usado no hero e no explorador
   ========================================================= */
.phx { position: relative; width: var(--phx-w, 260px); aspect-ratio: 9 / 19.4; padding: 3.4%; border-radius: 16% / 7.4%;
  background: linear-gradient(150deg, #4a505c 0%, #12151c 22%, #0b0d12 70%, #2b303a 100%);
  box-shadow: 0 0 0 2px #aab1bf, 0 0 0 3.5px #2a2f39, inset 0 0 0 1px rgba(255,255,255,.18), 0 40px 70px -20px rgba(10, 18, 45, .55); }
.phx::before { content: ""; position: absolute; z-index: 3; top: 4.2%; left: 50%; translate: -50% 0; width: 30%; height: 3.1%; border-radius: 999px; background: #05060a; box-shadow: inset 0 0 0 1px #1d212a; }
.phx::after { content: ""; position: absolute; left: -3.5px; top: 18%; width: 3.5px; height: 6%; border-radius: 3px 0 0 3px; background: #9aa2b1; box-shadow: 0 calc(var(--phx-w, 260px) * .16) 0 #9aa2b1, 0 calc(var(--phx-w, 260px) * .32) 0 #9aa2b1; }
.phx__screen { position: relative; width: 100%; height: 100%; border-radius: 12.5% / 5.8%; overflow: hidden; background: #fff; }
.phx__screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* =========================================================
   V4 · GOVERNO · Hero com o celular no centro e funcionalidades orbitando
   ========================================================= */
@media (min-width: 1024px) {
  .gov-hero__grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(48px, 6vw, 110px); }
  .gov-hero__copy { max-width: 560px; }
}
.orbit { position: relative; width: 100%; max-width: 660px; height: clamp(500px, calc(100svh - var(--header-h) - 70px), 680px); justify-self: center; --phx-w: clamp(220px, calc((100svh - var(--header-h)) * .3), 280px); }
.orbit__glow { position: absolute; inset: 10% 18%; border-radius: 50%; background: radial-gradient(circle, rgba(79, 140, 255, .35), rgba(79, 216, 255, .12) 45%, transparent 70%); filter: blur(10px); animation: orbit-breathe 6s ease-in-out infinite; }
.orbit__rings { position: absolute; left: 50%; top: 50%; width: 112%; height: auto; translate: -50% -50%; fill: none; stroke: rgba(40, 72, 201, .16); stroke-width: 1.2; stroke-dasharray: 3 8; animation: orbit-spin 60s linear infinite; }
@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-breathe { 50% { transform: scale(1.06); opacity: .8; } }
.orbit__phone { position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 2; animation: orbit-float 7s ease-in-out infinite; }
@keyframes orbit-float { 50% { transform: translateY(-10px); } }
.orbit__slots { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.orbit__slot { position: absolute; width: clamp(170px, 15vw, 210px); }
.orbit__slot--l1 { left: 0; top: 8%; } .orbit__slot--l2 { left: -3%; top: 40%; } .orbit__slot--l3 { left: 2%; top: 72%; }
.orbit__slot--r1 { right: 0; top: 4%; } .orbit__slot--r2 { right: -3%; top: 36%; } .orbit__slot--r3 { right: 2%; top: 68%; }
.orbit__slot > .fw { animation: fw-in .7s cubic-bezier(.2,.8,.2,1) both; }
.orbit__slot > .fw.is-out { animation: fw-out .5s ease-in both; }
@keyframes fw-in { from { opacity: 0; transform: translateY(14px) scale(.9); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes fw-out { to { opacity: 0; transform: translateY(-10px) scale(.94); filter: blur(4px); } }
.orbit__slot--l1 > .fw, .orbit__slot--l3 > .fw, .orbit__slot--r2 > .fw { --float: 6s; }
.orbit__slot { animation: slot-float var(--sf, 8s) ease-in-out infinite; }
.orbit__slot--l2, .orbit__slot--r1, .orbit__slot--r3 { --sf: 9.5s; animation-delay: -3s; }
@keyframes slot-float { 50% { transform: translateY(-8px); } }

/* Widgets de funcionalidade (vidro + elementos diferentes) */
.fw { display: grid; gap: 8px; padding: 12px 14px; border-radius: 16px; background: rgba(255, 255, 255, .78); border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 18px 40px -12px rgba(14, 26, 61, .28), inset 0 1px 0 #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--sasi-ink); font-size: .78rem; }
.fw b { display: block; font-family: var(--font-display); font-weight: 700; font-size: .85rem; line-height: 1.2; }
.fw small { display: block; color: #5d6884; font-size: .72rem; line-height: 1.35; }
.fw__head { display: flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: .8rem; color: var(--sasi-ink); }
.fw__head svg { width: 15px; height: 15px; color: var(--sasi-blue); }
.fw--alert, .fw--face, .fw--geo, .fw--pay, .fw--qr { grid-template-columns: auto 1fr; align-items: center; gap: 10px; }
.fw__ico { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; color: #fff; position: relative; }
.fw__ico svg { width: 18px; height: 18px; }
.fw__ico--red { background: linear-gradient(135deg, #e11d48, #fb7185); box-shadow: 0 6px 14px -4px rgba(225, 29, 72, .6); }
.fw__ico--red::after { content: ""; position: absolute; inset: -4px; border-radius: 14px; border: 2px solid rgba(225, 29, 72, .45); animation: pilot-ping 1.8s ease-out infinite; }
.fw__ico--green { background: linear-gradient(135deg, #16a34a, #4ade80); box-shadow: 0 6px 14px -4px rgba(22, 163, 74, .6); }
.fw__bars { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.fw__bars li { height: 7px; border-radius: 4px; background: #e6ebf6; position: relative; overflow: hidden; }
.fw__bars li::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v); border-radius: 4px; background: linear-gradient(90deg, #2848c9, #4fb4ff); animation: fw-bar 1.2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes fw-bar { from { width: 0; } }
.fw__scan { position: relative; width: 44px; height: 44px; display: grid; place-items: center; color: var(--sasi-blue); }
.fw__scan svg { width: 44px; height: 44px; }
.fw__scan i { position: absolute; left: 4px; right: 4px; height: 2px; top: 6px; background: linear-gradient(90deg, transparent, #22d3ee, transparent); box-shadow: 0 0 8px #22d3ee; animation: fw-scan 1.8s ease-in-out infinite; }
@keyframes fw-scan { 50% { top: 36px; } }
.fw__ok { display: flex !important; align-items: center; gap: 4px; color: #138a43 !important; font-weight: 600; }
.fw__ok svg { width: 12px; height: 12px; }
.fw__nodes { display: flex; flex-wrap: wrap; gap: 5px; position: relative; }
.fw__nodes span { padding: 3px 8px; border-radius: 999px; background: #eef2ff; color: #2848c9; font-weight: 700; font-size: .68rem; border: 1px solid #d6defb; animation: fw-node 2.4s ease-in-out infinite; }
.fw__nodes span:nth-child(2) { animation-delay: .4s; } .fw__nodes span:nth-child(3) { animation-delay: .8s; }
@keyframes fw-node { 50% { box-shadow: 0 0 0 3px rgba(40, 72, 201, .15); } }
.fw--check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.fw--check li { display: flex; align-items: center; gap: 7px; font-size: .74rem; color: #2b3756; }
.fw--check li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #b9c3dc; flex: none; }
.fw--check li.on::before { border-color: #16a34a; background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 10px no-repeat; animation: fw-tick .5s ease both; }
.fw--check li.on:nth-child(2)::before { animation-delay: .35s; }
@keyframes fw-tick { from { transform: scale(.4); opacity: 0; } }
.fw__swatches { display: flex; gap: 6px; }
.fw__swatches i { width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px #fff, 0 2px 6px rgba(0,0,0,.2); animation: fw-sw 3s ease-in-out infinite; }
.fw__swatches i:nth-child(2) { animation-delay: .3s; } .fw__swatches i:nth-child(3) { animation-delay: .6s; } .fw__swatches i:nth-child(4) { animation-delay: .9s; } .fw__swatches i:nth-child(5) { animation-delay: 1.2s; }
@keyframes fw-sw { 20% { transform: translateY(-3px) scale(1.12); } 40% { transform: none; } }
.fw__msg { margin: 0; padding: 6px 10px; border-radius: 12px; font-size: .74rem; max-width: 90%; }
.fw__msg--me { justify-self: end; background: var(--sasi-blue); color: #fff; border-bottom-right-radius: 4px; }
.fw__msg--bot { justify-self: start; background: #eef1f8; border-bottom-left-radius: 4px; }
.fw__dots { display: inline-flex; gap: 3px; } .fw__dots i { width: 5px; height: 5px; border-radius: 50%; background: #7c87a3; animation: fw-dot 1s ease-in-out infinite; } .fw__dots i:nth-child(2) { animation-delay: .15s; } .fw__dots i:nth-child(3) { animation-delay: .3s; }
@keyframes fw-dot { 50% { transform: translateY(-3px); opacity: .5; } }
.fw__map { position: relative; width: 56px; height: 44px; border-radius: 10px; overflow: hidden; background: #f1f5fd; border: 1px solid #dfe6f5; }
.fw__map svg { width: 100%; height: 100%; }
.fw__pin { position: absolute; left: 50%; top: 42%; width: 14px; height: 14px; translate: -50% -50%; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #e11d48; box-shadow: 0 0 0 4px rgba(225, 29, 72, .2); animation: fw-pin 1.6s ease-in-out infinite; }
@keyframes fw-pin { 50% { translate: -50% -70%; } }
.fw__qrsvg { width: 50px; height: 50px; padding: 3px; border-radius: 6px; background: #fff; border: 1px solid #e3e9f6; }
.fw__barcode { display: block; height: 16px; margin-top: 5px; background: repeating-linear-gradient(90deg, #0f1a3a 0 2px, transparent 2px 4px, #0f1a3a 4px 5px, transparent 5px 8px, #0f1a3a 8px 11px, transparent 11px 12px); border-radius: 2px; }

@media (max-width: 1023px) {
  .orbit { height: 560px; max-width: 600px; margin-inline: auto; }
}
@media (max-width: 639px) {
  .orbit { height: auto; display: grid; justify-items: center; gap: 14px; padding-top: 10px; --phx-w: 200px; }
  .orbit__phone { position: relative; left: auto; top: auto; translate: none; }
  .orbit__rings { top: 150px; width: 150%; }
  .orbit__slots { position: relative; inset: auto; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .orbit__slot { position: relative; inset: auto; width: auto; left: auto !important; right: auto !important; top: auto !important; }
  .orbit__slot--l3, .orbit__slot--r3, .orbit__slot--l2, .orbit__slot--r2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit *, .orbit *::before, .orbit *::after { animation: none !important; }
}
/* balões sempre ao lado do celular, nunca por cima */
.gov-hero { overflow-x: clip; }
.orbit { --phx-w: clamp(200px, calc((100svh - var(--header-h)) * .27), 250px); }
.orbit__slot { width: calc((100% - var(--phx-w)) / 2 - 16px); }
.orbit__slot--l1, .orbit__slot--l2, .orbit__slot--l3 { left: 0; }
.orbit__slot--r1, .orbit__slot--r2, .orbit__slot--r3 { right: 0; }
.orbit__slot--l1 { top: 9%; } .orbit__slot--l2 { top: 39%; } .orbit__slot--l3 { top: 69%; }
.orbit__slot--r1 { top: 4%; } .orbit__slot--r2 { top: 34%; } .orbit__slot--r3 { top: 64%; }
@media (max-width: 639px) { .orbit { --phx-w: 200px; } .orbit__slot { width: auto; } }
@media (min-width: 1280px) {
  .orbit { --ext: clamp(0px, (100vw - 1200px) / 2 - 24px, 140px); max-width: none; width: calc(100% + var(--ext)); margin-right: calc(var(--ext) * -1); justify-self: stretch; }
}

/* =========================================================
   V4 · GOVERNO · Explorador  Segmento | Soluções | Funcionalidades
   (fundo escuro, cores por segmento, celular com a tela da solução)
   ========================================================= */
.segx-section { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(60% 70% at 85% 10%, rgba(64, 120, 255, .35), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(120, 80, 255, .25), transparent 60%), linear-gradient(180deg, #0b1433 0%, #0e1c4a 100%); }
.segx-section::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 48px 48px; -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); mask-image: radial-gradient(70% 60% at 50% 40%, #000, transparent); }
.segx-section .section-title { color: #fff; }
.segx-section .section-sub { margin-top: var(--space-2); font-size: var(--fs-md); color: #b9c6ef; }
.segx-section .section-head { margin-bottom: var(--space-5); }
@media (min-width: 1024px) { .segx-section.section { padding-block: clamp(40px, 6vh, 72px); } .segx-section .section-title { white-space: nowrap; font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.8rem); } }

.segx {
  --segx-h: clamp(470px, calc(100svh - var(--header-h) - 250px), 620px);
  display: grid; grid-template-columns: 280px 300px minmax(0, 1fr); grid-template-rows: auto var(--segx-h);
  border-radius: 28px; overflow: hidden; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255,255,255,.1); backdrop-filter: blur(6px);
}
.segx__labels { grid-column: 1 / -1; display: grid; grid-template-columns: subgrid; border-bottom: 1px solid rgba(255,255,255,.1); }
.segx__labels span { display: flex; align-items: center; gap: 12px; padding: 18px 22px; font-family: var(--font-display); font-size: .95rem; font-weight: 700; letter-spacing: .02em; color: #fff; }
.segx__labels span + span { border-left: 1px solid rgba(255,255,255,.1); }
.segx__labels b { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: .85rem; color: #fff; background: linear-gradient(135deg, #3b6bff, #22d3ee); box-shadow: 0 6px 16px -4px rgba(59, 107, 255, .8); }

.segx__col { min-height: 0; }
.segx__col--seg { grid-column: 1; grid-row: 2; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-right: 1px solid rgba(255,255,255,.1); background: rgba(0, 0, 0, .12); }
.segx__search { display: flex; align-items: center; gap: 8px; padding: 0 14px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); transition: border-color .2s, box-shadow .2s; }
.segx__search:focus-within { border-color: #7aa2ff; box-shadow: 0 0 0 3px rgba(122, 162, 255, .3); }
.segx__search svg { width: 18px; height: 18px; color: #b9c6ef; flex: none; }
.segx__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; color: #fff; }
.segx__search input::placeholder { color: #b9c6ef; }
.segx__search input::-webkit-search-cancel-button { filter: invert(1); }
.segx__list-wrap { position: relative; flex: 1; min-height: 0; }
.segx__list-wrap::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40px; pointer-events: none; background: linear-gradient(180deg, rgba(12, 22, 58, 0), #0d1940); transition: opacity .2s; }
.segx__list-wrap.is-end::after { opacity: 0; }
.segx__segs { list-style: none; margin: 0; padding: 2px; height: 100%; overflow-y: auto; scrollbar-width: none; display: grid; gap: 8px; align-content: start; scroll-behavior: smooth; }
.segx__segs::-webkit-scrollbar { display: none; }
.segx__seg { position: relative; width: 100%; display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 7px 10px; border-radius: 14px; border: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.04); cursor: pointer; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: .98rem; color: #dbe3ff; transition: background .25s, border-color .25s, color .25s, box-shadow .25s, transform .2s; }
.segx__seg:hover { background: rgba(255,255,255,.08); color: #fff; transform: translateX(2px); }
.segx__seg[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(120deg, var(--seg), color-mix(in srgb, var(--seg) 55%, #22d3ee)); box-shadow: 0 12px 26px -10px var(--seg); }
.segx__seg-ico { width: 36px; height: 36px; flex: none; border-radius: 11px; display: grid; place-items: center; color: #fff; background: color-mix(in srgb, var(--seg) 70%, #0b1433); box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.segx__seg-ico svg { width: 19px; height: 19px; }
.segx__seg[aria-selected="true"] .segx__seg-ico { background: rgba(255,255,255,.22); }
.segx__seg-name { flex: 1; min-width: 0; }
.segx__seg-count { font-size: .75rem; font-weight: 700; color: #fff; background: rgba(255,255,255,.14); border-radius: 999px; padding: 2px 9px; }
.segx__empty { font-size: .9rem; color: #b9c6ef; padding: 10px; }
.segx__more { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .85rem; cursor: pointer; }
.segx__more svg { width: 16px; height: 16px; animation: segx-bob 1.6s ease-in-out infinite; }
.segx__more[disabled] { opacity: .4; cursor: default; }
.segx__more[disabled] svg { animation: none; }
@keyframes segx-bob { 50% { transform: translateY(3px); } }

.segx__panel { grid-column: 2 / 4; grid-row: 2; display: grid; grid-template-columns: 300px minmax(0, 1fr); min-height: 0; }
.segx__panel[hidden] { display: none; }
.segx__col--sol { padding: 16px; border-right: 1px solid rgba(255,255,255,.1); overflow-y: auto; scrollbar-width: thin; }
.segx__sols { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.segx__sol { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 16px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.05); cursor: pointer; text-align: left; color: #fff; transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; animation: segx-in .45s var(--ease) both; }
.segx__sols li:nth-child(2) .segx__sol { animation-delay: .05s; } .segx__sols li:nth-child(3) .segx__sol { animation-delay: .1s; } .segx__sols li:nth-child(4) .segx__sol { animation-delay: .15s; }
.segx__sols li:nth-child(5) .segx__sol { animation-delay: .2s; } .segx__sols li:nth-child(6) .segx__sol { animation-delay: .25s; } .segx__sols li:nth-child(7) .segx__sol { animation-delay: .3s; }
.segx__sol:hover { background: rgba(255,255,255,.09); transform: translateX(2px); }
.segx__sol[aria-pressed="true"] { background: rgba(255,255,255,.12); border-color: color-mix(in srgb, var(--seg) 70%, #fff); box-shadow: 0 0 0 1px color-mix(in srgb, var(--seg) 60%, transparent), 0 14px 30px -14px var(--seg); }
.segx__sol-text { flex: 1; min-width: 0; display: grid; gap: 3px; }
.segx__sol-text strong { font-family: var(--font-display); font-size: 1rem; color: #fff; line-height: 1.2; }
.segx__sol-chev { width: 16px; height: 16px; color: rgba(255,255,255,.5); flex: none; transition: transform .2s, color .2s; }
.segx__sol[aria-pressed="true"] .segx__sol-chev { color: #fff; transform: translateX(3px); }
.segx__soon { justify-self: start; display: inline-block; font-family: var(--font-display); font-size: .62rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3d2400; background: #ffd27a; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }

.segx__ico { position: relative; width: 42px; height: 42px; flex: none; border-radius: 13px; display: grid; place-items: center; color: #fff; overflow: hidden; box-shadow: 0 8px 18px -6px var(--ico-glow, rgba(40, 72, 201, .55)), inset 0 1px 0 rgba(255,255,255,.45); }
.segx__ico::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.45) 0%, rgba(255,255,255,0) 45%); }
.segx__ico svg { position: relative; z-index: 1; width: 21px; height: 21px; }
.segx__ico--lg { width: 60px; height: 60px; border-radius: 18px; }
.segx__ico--lg svg { width: 28px; height: 28px; }
.segx__ico--g1, .segx__orb.segx__ico--g1 { background: linear-gradient(135deg, #2848c9, #38bdf8); --ico-glow: rgba(56, 130, 248, .6); }
.segx__ico--g2 { background: linear-gradient(135deg, #4f46e5, #a855f7); --ico-glow: rgba(124, 77, 240, .6); }
.segx__ico--g3 { background: linear-gradient(135deg, #0d9488, #34d399); --ico-glow: rgba(20, 184, 140, .55); }
.segx__ico--g4 { background: linear-gradient(135deg, #db2777, #fb7185); --ico-glow: rgba(236, 72, 120, .55); }
.segx__ico--g5 { background: linear-gradient(135deg, #dc2626, #fb923c); --ico-glow: rgba(239, 90, 60, .55); }
.segx__ico--g6 { background: linear-gradient(135deg, #0284c7, #22d3ee); --ico-glow: rgba(14, 165, 233, .55); }
.segx__ico--g7 { background: linear-gradient(135deg, #7c3aed, #ec4899); --ico-glow: rgba(168, 85, 247, .55); }
.segx__ico--g8 { background: linear-gradient(135deg, #ea580c, #facc15); --ico-glow: rgba(245, 140, 30, .55); }
.segx__ico--g9 { background: linear-gradient(135deg, #0f766e, #2dd4bf); --ico-glow: rgba(20, 160, 150, .55); }
.segx__ico--g10 { background: linear-gradient(135deg, #1d4ed8, #818cf8); --ico-glow: rgba(80, 100, 240, .55); }
.segx__ico--g11 { background: linear-gradient(135deg, #15803d, #a3e635); --ico-glow: rgba(80, 180, 60, .55); }
.segx__ico--g12 { background: linear-gradient(135deg, #be123c, #f472b6); --ico-glow: rgba(225, 50, 110, .55); }

.segx__col--feat { position: relative; overflow: hidden; isolation: isolate; background: radial-gradient(70% 80% at 85% 30%, color-mix(in srgb, var(--seg) 45%, transparent), transparent 70%), linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,0)); }
.segx__feat { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto; animation: segx-in .45s var(--ease) both; }
.segx__feat-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: clamp(14px, 2.4vh, 22px); padding: clamp(22px, 2.6vw, 38px); min-width: 0; overflow-y: auto; }
.segx__feat-head { display: flex; align-items: center; gap: 16px; }
.segx__feat-head h3 { font-size: clamp(1.4rem, 1rem + 1vw, 2rem); font-weight: 700; letter-spacing: -.015em; color: #fff; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; line-height: 1.1; }
.segx__feat-head p { color: #c7d2f5; font-size: 1rem; margin-top: 4px; }
.segx__bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.segx__bullets li { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: #fff; animation: segx-in .45s var(--ease) both; animation-delay: var(--d, 0ms); }
.segx__bullets svg { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; color: #fff; background: var(--seg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--seg) 30%, transparent); }
.segx__soon-note { font-size: .88rem; color: #ffe2a6; background: rgba(255, 210, 122, .1); border: 1px solid rgba(255, 210, 122, .35); border-radius: 12px; padding: 10px 14px; }
.segx__actions { margin-top: 4px; display: flex; flex-wrap: wrap; gap: 12px; }

.segx__visual { position: relative; width: clamp(230px, 22vw, 310px); align-self: stretch; }
.segx__visual--phone .phx { --phx-w: 100%; position: absolute; left: 0; top: 34px; width: 100%; animation: segx-phone .7s cubic-bezier(.2,.8,.2,1) both; }
.segx__visual--phone::before { content: ""; position: absolute; inset: 10% -20% -10% -10%; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--seg) 60%, transparent), transparent 65%); filter: blur(20px); }
@keyframes segx-phone { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
.segx__visual--phone { margin-right: clamp(20px, 3vw, 44px); }
.segx__visual--orb { display: grid; place-items: center; margin-right: clamp(20px, 3vw, 44px); }
.segx__orb { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 14px rgba(255,255,255,.06), 0 0 0 30px rgba(255,255,255,.035), 0 30px 60px -20px rgba(0,0,0,.6); animation: segx-orb 5s ease-in-out infinite; }
.segx__orb svg { width: 64px; height: 64px; }
@keyframes segx-orb { 50% { transform: translateY(-8px) scale(1.03); } }
@keyframes segx-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (max-width: 1279px) and (min-width: 1024px) {
  .segx { grid-template-columns: 236px 250px minmax(0, 1fr); }
  .segx__panel { grid-template-columns: 250px minmax(0, 1fr); }
  .segx__visual { width: 210px; }
  .segx__bullets li { font-size: .95rem; }
}
@media (max-width: 1023px) {
  .segx { display: block; border-radius: 22px; }
  .segx__labels { display: none; }
  .segx__col--seg { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .segx__segs { display: flex; overflow-x: auto; overflow-y: visible; height: auto; gap: 8px; padding: 2px 2px 6px; }
  .segx__segs li { flex: none; }
  .segx__seg { width: auto; white-space: nowrap; }
  .segx__seg-count { display: none; }
  .segx__list-wrap::after, .segx__more { display: none; }
  .segx__panel { display: block; }
  .segx__col--sol { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .segx__sols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .segx__feat { height: auto; grid-template-columns: minmax(0, 1fr) 220px; min-height: 420px; }
  .segx__feat-text { overflow: visible; }
  .segx__visual { width: 220px; }
}
@media (max-width: 599px) {
  .segx__sols { grid-template-columns: 1fr; }
  .segx__feat { grid-template-columns: 1fr; min-height: 0; }
  .segx__visual--phone { width: auto; height: 330px; margin: 0 auto; overflow: hidden; }
  .segx__visual--phone .phx { position: relative; top: 10px; width: 230px; margin-inline: auto; }
  .segx__visual--orb { width: auto; height: 220px; margin: 0; }
  .segx__actions .btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .segx *, .segx *::before, .segx *::after { animation: none !important; } }
/* mais espaço para o texto das funcionalidades */
.segx { grid-template-columns: 250px 270px minmax(0, 1fr); }
.segx__panel { grid-template-columns: 270px minmax(0, 1fr); }
.segx__visual { width: clamp(200px, 16vw, 250px); }
.segx__visual--phone, .segx__visual--orb { margin-right: 28px; }
.segx__ico--lg { width: 52px; height: 52px; border-radius: 16px; }
.segx__ico--lg svg { width: 26px; height: 26px; }
.segx__feat-head { align-items: flex-start; }
.segx__orb { width: 130px; height: 130px; }
@media (max-width: 1279px) and (min-width: 1024px) {
  .segx { grid-template-columns: 220px 230px minmax(0, 1fr); }
  .segx__panel { grid-template-columns: 230px minmax(0, 1fr); }
  .segx__visual { width: 190px; }
  .segx__visual--phone, .segx__visual--orb { margin-right: 20px; }
}
@media (max-width: 1023px) { .segx__visual { width: 220px; } }
@media (max-width: 599px) { .segx__visual--phone { width: auto; } .segx__visual--orb { width: auto; } .segx__visual--phone, .segx__visual--orb { margin-right: 0; } }

/* V4 · Empresas: tela do app dentro de um celular realista (proporção real 9:19.5) */
.emp-phone { position: absolute; right: 9%; top: 0; z-index: 1; --phx-w: clamp(240px, 21vw, 290px); }
.emp-hero__visual { min-height: calc(var(--phx-w-emp, 290px) * 2.16 + 20px); }
.mock-phone--in { position: static; width: 100%; height: 100%; padding: 14% 7% 8%; border: 0; border-radius: 0; box-shadow: none; background: #fff; }
.mock-phone--in .mock-phone__top { position: absolute; top: 2.6%; left: 9%; right: 9%; padding: 0; }
.mock-phone--in .mock-phone__notch { visibility: hidden; }
.mock-phone--in li { padding: 12px 10px; font-size: .68rem; }
.mock-phone--in .mock-phone__brand { padding: 6px 0 16px; }
.emp-hero .mock-alert { z-index: 3; right: 0; top: 40px; }
.emp-hero .mock-agent { z-index: 3; bottom: 20px; }
@media (max-width: 1023px) { .emp-phone { right: 12%; } .emp-hero__visual { min-height: 600px; } }
@media (max-width: 479px) { .emp-phone { --phx-w: 220px; right: 0; } .emp-hero__visual { min-height: 500px; } }
@media (min-width: 1024px) {
  .emp-phone { --phx-w: clamp(220px, calc((100svh - var(--header-h) - 90px) * .46), 290px); top: 50%; translate: 0 -50%; right: 12%; }
  .emp-hero__visual { min-height: calc(100svh - var(--header-h) - 80px); max-height: 720px; }
  .emp-hero .mock-alert { top: 16%; right: -2%; }
  .emp-hero .mock-agent { bottom: 8%; left: 0; }
}
.emp-hero .mock-alert { top: 6%; }

/* V4 · Menu Soluções: cada segmento com sua cor */
.mega__inner--5 { gap: 14px !important; }
.mega__col { padding: 14px; border-radius: 16px; background: color-mix(in srgb, var(--seg) 7%, #fff); border: 1px solid color-mix(in srgb, var(--seg) 18%, #fff); }
.mega__title--pill { margin-bottom: 10px; letter-spacing: .08em; }
.mega__title--pill a { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 9px; border-radius: 999px; background: var(--seg); color: #fff !important; text-decoration: none; box-shadow: 0 6px 14px -6px var(--seg); }
.mega__title--pill a:hover { filter: brightness(1.08); }
.mega__title--pill svg { width: 16px; height: 16px; }
.mega__col .mega__list svg { color: var(--seg); }
@media (max-width: 1023px) { .mega__col { padding: 10px; } }
@media (min-width: 1024px) {
  .emp-hero__visual { min-height: calc(100svh - var(--header-h) - 130px); }
  .segx { --segx-h: clamp(440px, calc(100svh - var(--header-h) - 300px), 620px); }
}

/* V4 · Explorador mais compacto (fontes e balões menores) */
.segx__labels span { padding: 13px 18px; font-size: .82rem; gap: 10px; }
.segx__labels b { width: 26px; height: 26px; border-radius: 8px; font-size: .75rem; }
.segx__col--seg, .segx__col--sol { padding: 12px; }
.segx__search { height: 40px; border-radius: 12px; }
.segx__search input { font-size: .88rem; }
.segx__segs, .segx__sols { gap: 6px; }
.segx__seg { min-height: 42px; padding: 5px 8px; gap: 10px; font-size: .86rem; border-radius: 12px; }
.segx__seg-ico { width: 28px; height: 28px; border-radius: 8px; }
.segx__seg-ico svg { width: 15px; height: 15px; }
.segx__seg-count { font-size: .68rem; padding: 1px 7px; }
.segx__more { min-height: 34px; font-size: .78rem; }
.segx__sol { padding: 8px 10px; gap: 10px; border-radius: 12px; }
.segx__sol-text strong { font-size: .88rem; }
.segx__ico { width: 34px; height: 34px; border-radius: 10px; }
.segx__ico svg { width: 17px; height: 17px; }
.segx__ico--lg { width: 44px; height: 44px; border-radius: 13px; }
.segx__ico--lg svg { width: 22px; height: 22px; }
.segx__feat-text { gap: clamp(10px, 1.8vh, 16px); padding: clamp(18px, 2vw, 28px); }
.segx__feat-head { gap: 12px; }
.segx__feat-head h3 { font-size: clamp(1.15rem, .95rem + .6vw, 1.45rem); }
.segx__feat-head p { font-size: .88rem; margin-top: 2px; }
.segx__bullets { gap: 9px; }
.segx__bullets li { font-size: .9rem; gap: 10px; }
.segx__bullets svg { width: 18px; height: 18px; padding: 3px; box-shadow: 0 0 0 3px color-mix(in srgb, var(--seg) 30%, transparent); }
.segx__soon-note { font-size: .8rem; padding: 8px 12px; }
.segx__orb { width: 110px; height: 110px; }
.segx__orb svg { width: 48px; height: 48px; }
.segx { grid-template-columns: 230px 250px minmax(0, 1fr); }
.segx__panel { grid-template-columns: 250px minmax(0, 1fr); }
@media (max-width: 1279px) and (min-width: 1024px) {
  .segx { grid-template-columns: 210px 220px minmax(0, 1fr); }
  .segx__panel { grid-template-columns: 220px minmax(0, 1fr); }
}
.segx__cta { min-height: 40px; padding: 8px 18px; font-size: .72rem; }
.segx__cta svg { width: 17px; height: 17px; }

/* V4 · Hero Governo: traçado do círculo em azul-escuro e balões 20% menores */
.orbit__rings { stroke: rgba(22, 40, 120, .42); stroke-width: 1.3; }
.orbit__slot > .fw { zoom: .8; }
.orbit__slot--r1, .orbit__slot--r2, .orbit__slot--r3 { display: flex; justify-content: flex-end; }
.orbit__slot--r1 > .fw, .orbit__slot--r2 > .fw, .orbit__slot--r3 > .fw { width: 100%; }
@media (max-width: 639px) { .orbit__slot > .fw { zoom: .9; } }
.orbit__slot { width: calc(((100% - var(--phx-w)) / 2 - 16px) * .8); }
@media (max-width: 639px) { .orbit__slot { width: auto; } }

/* V4 · Em construção: robô de corpo inteiro */
.wip__robot img.wip__robot-full { width: auto; max-width: 100%; height: clamp(320px, calc(100svh - var(--header-h) - 140px), 620px); object-fit: contain; filter: drop-shadow(0 26px 30px rgba(14, 26, 61, .22)); }
.wip__halo { width: 80%; }
@media (max-width: 900px) { .wip__robot img.wip__robot-full { height: 320px; width: auto; } }

/* V4 · Menu Soluções em mosaico (ordem dos segmentos da página Governo) */
.mega__mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: 12px; padding-block: var(--space-5) var(--space-4); }
.mega__tile { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px 16px; border-radius: 18px; background: linear-gradient(160deg, color-mix(in srgb, var(--seg) 10%, #fff), color-mix(in srgb, var(--seg) 4%, #fff)); border: 1px solid color-mix(in srgb, var(--seg) 22%, #fff); }
.mega__tile--wide { grid-column: span 2; }
.mega__tile-title { margin: 0; }
.mega__tile-title a { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--sasi-ink); text-decoration: none; }
.mega__tile-title a:hover { color: var(--seg, var(--sasi-blue)); }
.mega__tile-title small { margin-left: auto; font-weight: 600; font-size: .7rem; color: #fff; background: var(--seg, var(--sasi-blue)); border-radius: 999px; padding: 2px 9px; }
.mega__tile-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--seg, #2848c9), color-mix(in srgb, var(--seg, #2848c9) 55%, #7fd3ff)); box-shadow: 0 6px 14px -6px var(--seg, #2848c9); flex: none; }
.mega__tile-ico svg { width: 17px; height: 17px; }
.mega__tile-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.mega__tile--wide .mega__tile-list { grid-template-columns: 1fr 1fr; column-gap: 12px; }
.mega__tile-list a { display: flex; align-items: center; gap: 8px; min-height: 32px; padding: 4px 8px; border-radius: 8px; font-size: .9rem; color: #26324f; text-decoration: none; }
.mega__tile-list a:hover { background: rgba(255,255,255,.85); color: var(--seg); }
.mega__tile-list svg { width: 16px; height: 16px; color: var(--seg); flex: none; }
.mega__tile--more { background: linear-gradient(160deg, #f4f6fc, #fff); border-color: #e3e8f4; --seg: #2848c9; }
.mega__tile-list--chips { display: flex; flex-wrap: wrap; gap: 6px; }
.mega__tile-list--chips a { min-height: 30px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid color-mix(in srgb, var(--seg) 30%, #e3e8f4); font-size: .82rem; font-weight: 600; }
@media (max-width: 1023px) {
  .mega__mosaic { grid-template-columns: 1fr; gap: 10px; padding: 0 0 var(--space-4); }
  .mega__tile--wide { grid-column: auto; }
  .mega__tile--wide .mega__tile-list { grid-template-columns: 1fr; }
}
@media (min-width: 1024px) {
  .mega__mosaic { grid-template-areas: "adm sau sau edu" "ass seg fis more" "ass seg bem more"; }
  .mega__tile--administracao { grid-area: adm; } .mega__tile--saude { grid-area: sau; } .mega__tile--educacao { grid-area: edu; }
  .mega__tile--assistencia { grid-area: ass; } .mega__tile--seguranca { grid-area: seg; } .mega__tile--fiscalizacao { grid-area: fis; }
  .mega__tile--bem-estar-animal { grid-area: bem; } .mega__tile--more { grid-area: more; }
}
.mega__tile-title small { white-space: nowrap; }
.mega__tile-title a { line-height: 1.2; }
.mega__tile--more .mega__tile-title small { background: #ffd27a; color: #3d2400; }
.mega__tile-title small { background: color-mix(in srgb, var(--seg, #2848c9) 72%, #000); }
.mega__tile--more .mega__tile-title small { background: #ffd27a; color: #3d2400; }

/* V4 · Hero Home: números em destaque (sem balão) + selos maiores */
.hx-proof { display: grid; gap: clamp(14px, 2.4vh, 24px); margin-top: 4px; }
.hx-big { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: clamp(20px, 3vw, 48px); }
.hx-big li { position: relative; padding-left: 18px; }
.hx-big li::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #2848c9, #4fb4ff); }
.hx-big__num { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, min(3.4vw, 6vh), 3.2rem); line-height: 1; letter-spacing: -.03em; background: linear-gradient(90deg, #1d3aa8, #2f6bff 70%, #4fb4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hx-big__num .stars { color: var(--sasi-star); margin: 0; gap: 3px; }
.hx-big__num .stars svg { width: clamp(16px, 1.4vw, 22px); height: clamp(16px, 1.4vw, 22px); }
.hx-big__label { margin-top: 6px; font-size: .9rem; line-height: 1.35; color: #4a5675; font-weight: 500; }
.hx-seals { display: flex; align-items: center; gap: 14px; }
.hx-seals img { width: clamp(72px, min(6vw, 11vh), 96px); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(14, 26, 61, .14)); }
@media (max-width: 479px) { .hx-big { gap: 18px; } .hx-big__num { font-size: 2rem; } .hx-big__label { font-size: .82rem; } .hx-seals img { width: 72px; } }

/* V4 · CTA final: título maior, proporcional ao leque de celulares */
.cta-band--apps h2 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.5rem); line-height: 1.04; letter-spacing: -.03em; max-width: 15ch; }
.cta-band--apps p { font-size: clamp(1rem, .9rem + .35vw, 1.2rem); max-width: 40ch; }

/* V4 · Explorador: mini resumo da solução + tópicos mais distribuídos */
.segx__summary { font-size: .92rem; line-height: 1.55; color: #c7d2f5; max-width: 46ch; margin: 0; }
.segx__feat-head p { display: none; }
.segx__bullets { gap: 14px; margin-top: 4px; padding-left: 2px; }
.segx__feat-text { gap: clamp(14px, 2.2vh, 20px); }

/* Export · textos das notícias exibidos por inteiro (sem cortes) */
.news .card__title, .news .card__text { display: block; -webkit-line-clamp: unset; overflow: visible; }

/* Export · Governo hero: em 1024–1279 px o texto e o celular ficam empilhados (sem sobreposição) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .gov-hero { min-height: 0; padding-block: var(--space-6) var(--space-7); }
  .gov-hero__grid { grid-template-columns: 1fr !important; gap: var(--space-6); }
  .gov-hero__copy { max-width: 760px; }
  .orbit { max-width: 760px; height: 600px; margin-inline: auto; --phx-w: 240px; }
}
.fw b, .fw small { overflow-wrap: anywhere; }

/* Export · mobile: painel "Relatórios" sem sobreposição e cards da Empresas empilhados */
@media (max-width: 619px) {
  .mock-console__body { grid-template-columns: minmax(0, 1fr) 118px; }
}
@media (max-width: 639px) {
  .emp-hero__visual { min-height: 0 !important; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .emp-hero .mock-alert, .emp-hero .mock-agent { position: relative; inset: auto; top: auto; right: auto; left: auto; bottom: auto; width: 100%; max-width: 300px; }
  .emp-hero .mock-alert { order: 1; }
  .emp-phone { position: relative; inset: auto; translate: none; right: auto; top: auto; order: 2; --phx-w: 230px; }
  .emp-hero .mock-agent { order: 3; }
}
/* Export · Empresas desktop: balões ao lado do celular sem cobrir a tela */
@media (min-width: 1024px) {
  .emp-phone { right: auto; left: 50%; translate: -50% -50%; }
  .emp-hero .mock-alert { top: 14%; right: 0; left: auto; }
  .emp-hero .mock-agent { left: 0; bottom: 10%; }
}
@media (min-width: 1024px) {
  .emp-hero .mock-alert { top: 3%; }
  .emp-hero .mock-agent { bottom: 2%; }
}
@media (min-width: 1024px) { .emp-hero .mock-agent { left: -7%; bottom: 0; } }

/* =========================================================
   V5 · HOME = GOVERNO (Ajustes Site SASI, nov/2026)
   ========================================================= */
/* Cabeçalho: logo com slogan + WhatsApp minimalista */
.brand__logo--slogan { height: 46px !important; width: auto; }
@media (max-width: 479px) { .brand__logo--slogan { height: 40px !important; } }
.wa-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #1aa053; background: #fff; border: 1px solid var(--sasi-line); box-shadow: 0 6px 16px -8px rgba(14, 26, 61, .35); transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.wa-icon svg { width: 21px; height: 21px; }
.wa-icon:hover { background: #25d366; color: #fff; border-color: #25d366; transform: translateY(-1px); }

/* Hero: título em azul em duas linhas */
.hx__title--gov { font-size: clamp(2.4rem, min(4.4vw, 8.4vh), 4.4rem); line-height: 1.04; }
.hx__title--gov > span { display: block; }
.hx__title-2 { color: var(--sasi-blue); }
.hx--gov .hx__text { max-width: 34ch; }

/* Big numbers + lojas | selos (selos centralizados, com legenda) */
.hx-proof--gov { display: flex; flex-wrap: wrap; align-items: center; gap: clamp(20px, 3vw, 44px); margin-top: clamp(4px, 1vh, 12px); }
.hx-proof__main { display: grid; gap: clamp(14px, 2.2vh, 22px); }
.hx-proof--gov .hx-big__label { font-size: .95rem; }
.hx-stores { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge { display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 6px 16px 6px 12px; border-radius: 12px; text-decoration: none; color: #fff;
  background: linear-gradient(180deg, #1d2333 0%, #0b0f1a 100%); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 10px 22px -10px rgba(14, 26, 61, .55), 0 2px 4px rgba(14, 26, 61, .12); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.14) inset, 0 16px 28px -12px rgba(14, 26, 61, .6), 0 2px 4px rgba(14, 26, 61, .12); }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge > span:not(.visually-hidden) { display: grid; font-family: var(--font-display); font-weight: 700; font-size: 1rem; line-height: 1.05; }
.store-badge small { font-family: var(--font-body, inherit); font-weight: 500; font-size: .66rem; letter-spacing: .02em; opacity: .85; }
.hx-seals--gov { margin: 0; display: grid; justify-items: center; gap: 8px; padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--sasi-line); }
.hx-seals--gov .hx-seals__imgs { display: flex; gap: 12px; }
.hx-seals--gov img { width: clamp(70px, min(5.6vw, 10vh), 92px); height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(14, 26, 61, .14)); }
.hx-seals--gov figcaption { font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #4a5675; }
@media (max-width: 559px) { .hx-seals--gov { padding-left: 0; border-left: 0; justify-self: start; justify-items: start; } }

/* Cases: app (principal) + foto de apoio + balão do setor */
.hx-cases--gov { --stage-h: 480px; }
.hx-cases--gov .hx-case { display: block; }
.hx-cases--gov .hx-case__photo { position: absolute; right: 0; top: 0; width: 74%; height: 86%; border-radius: 28px; box-shadow: 0 30px 60px -24px rgba(14, 26, 61, .45); }
.hx-cases--gov .hx-case__phone { position: absolute; z-index: 2; left: 2%; bottom: 0; height: 90%; width: auto; max-height: none; max-width: 46%; object-fit: contain; }
.hx-cases--gov .hx-case__phone--phx, .hx-cases--gov .hx-trio { width: calc(var(--stage-h) * .9 * 9 / 19.4); max-width: none; filter: drop-shadow(0 22px 30px rgba(14, 26, 61, .32)); }
.hx-cases--gov .hx-case__phone--phx .phx { --phx-w: 100%; }
.hx-trio { left: 6% !important; }
.hx-trio__p { position: absolute; bottom: 0; left: 0; width: 100%; }
.hx-trio__p .phx { --phx-w: 100%; }
.hx-trio__p--0 { transform: translateX(-34%) scale(.8) rotate(-7deg); transform-origin: 50% 70%; }
.hx-trio__p--1 { transform: translateX(34%) scale(.8) rotate(7deg); transform-origin: 50% 70%; }
.hx-trio__p--2 { z-index: 2; }
.hx-case__tag { position: absolute; z-index: 3; right: 22px; top: calc(86% - 21px); display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px;
  font-family: var(--font-display); font-size: .92rem; font-weight: 700; letter-spacing: .005em; color: color-mix(in srgb, var(--tone) 78%, #000);
  background: color-mix(in srgb, var(--tone) 9%, #fff); border: 1px solid color-mix(in srgb, var(--tone) 22%, #fff); box-shadow: 0 12px 26px -12px rgba(14, 26, 61, .4);
  transform: translateY(10px); opacity: 0; transition: transform .7s var(--ease) .25s, opacity .7s var(--ease) .25s; }
.hx-case__tag i { width: 9px; height: 9px; border-radius: 50%; background: var(--tone); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tone) 18%, transparent); }
.hx-case.is-active .hx-case__tag { transform: none; opacity: 1; }
.hx-cases--gov .hx-cases__next { top: 43%; right: -22px; }
@media (min-width: 1024px) {
  .hx--gov .hx__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
  .hx-cases--gov { --stage-h: clamp(380px, calc(100svh - var(--header-h) - 120px), 600px); margin-right: 0; }
}
@media (min-width: 1280px) { .hx-cases--gov { margin-right: calc(clamp(0px, (100vw - 1200px) / 2 - 40px, 64px) * -1); } }
@media (max-width: 1023px) { .hx-cases--gov { --stage-h: 460px; max-width: 640px; } .hx-cases--gov .hx-cases__next { right: 8px; } }
@media (max-width: 559px) {
  .hx-cases--gov { --stage-h: 400px; }
  .hx-cases--gov .hx-case { display: block; }
  .hx-cases--gov .hx-case__photo { width: 80%; height: 78%; margin: 0; border-radius: 22px; }
  .hx-cases--gov .hx-case__phone { height: 84%; left: 0; margin: 0; align-self: auto; }
  .hx-case__tag { top: calc(78% + 12px); right: 0; height: 38px; font-size: .84rem; }
  .hx-cases--gov .hx-cases__next { top: 39%; width: 46px; height: 46px; }
}
@media (prefers-reduced-motion: reduce) { .hx-case__tag { transition: none; transform: none; } }

/* Soluções por departamento: fundo cinza claro */
.segx-section { color: var(--sasi-ink); background: #f2f4f8; }
.segx-section::before { background-image: linear-gradient(rgba(14,26,61,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(14,26,61,.04) 1px, transparent 1px); }
.segx-section .section-title { color: var(--sasi-ink); }
.segx-section .section-sub { color: #4a5675; }
.segx-section .segx { background: #fff; border-color: #e1e6f0; box-shadow: 0 30px 70px -36px rgba(14, 26, 61, .35); backdrop-filter: none; }
.segx-section .segx__labels { border-bottom-color: #e8ecf3; }
.segx-section .segx__labels span { color: var(--sasi-ink); }
.segx-section .segx__labels span + span, .segx-section .segx__col--seg, .segx-section .segx__col--sol { border-color: #e8ecf3; }
.segx-section .segx__col--seg { background: #f8f9fc; }
.segx-section .segx__search { background: #fff; border-color: #dde3ee; }
.segx-section .segx__search svg, .segx-section .segx__search input::placeholder { color: #6b7591; }
.segx-section .segx__search input { color: var(--sasi-ink); }
.segx-section .segx__search input::-webkit-search-cancel-button { filter: none; }
.segx-section .segx__list-wrap::after { background: linear-gradient(180deg, rgba(248,249,252,0), #f8f9fc); }
.segx-section .segx__seg { color: var(--sasi-ink); background: #fff; border-color: #e3e8f1; }
.segx-section .segx__seg:hover { background: #f1f4fb; color: var(--sasi-ink); }
.segx-section .segx__seg[aria-selected="true"] { color: #fff; }
.segx-section .segx__seg:not([aria-selected="true"]) .segx__seg-count { color: #4a5675; background: #eef1f7; }
.segx-section .segx__empty { color: #6b7591; }
.segx-section .segx__more { color: var(--sasi-ink); background: #fff; border-color: #dde3ee; }
.segx-section .segx__sol { color: var(--sasi-ink); background: #fff; border-color: #e3e8f1; }
.segx-section .segx__sol:hover { background: #f5f7fc; }
.segx-section .segx__sol[aria-pressed="true"] { background: color-mix(in srgb, var(--seg) 7%, #fff); }
.segx-section .segx__sol-text strong { color: var(--sasi-ink); }
.segx-section .segx__sol-chev { color: #9aa3b8; }
.segx-section .segx__sol[aria-pressed="true"] .segx__sol-chev { color: var(--seg); }
.segx-section .segx__col--feat { background: radial-gradient(70% 80% at 85% 30%, color-mix(in srgb, var(--seg) 16%, transparent), transparent 70%), linear-gradient(160deg, #fbfcfe, #f1f4fa); }
.segx-section .segx__feat-head h3 { color: var(--sasi-ink); }
.segx-section .segx__feat-head p { color: #4a5675; }
.segx-section .segx__bullets li { color: var(--sasi-ink); }
.segx-section .segx__orb { box-shadow: 0 0 0 14px rgba(14,26,61,.04), 0 0 0 30px rgba(14,26,61,.025), 0 30px 60px -24px rgba(14,26,61,.35); }
@media (max-width: 1023px) { .segx-section .segx__col--seg, .segx-section .segx__col--sol { border-bottom-color: #e8ecf3; } }

/* Cidade na Mão: mockup orbital com as telas do app trocando */
.flagship__visual--orbit { min-height: 0; display: grid; justify-items: center; position: relative; }
.orbit--dark .orbit__rings { stroke: rgba(201, 214, 255, .32); }
.orbit--dark .orbit__glow { background: radial-gradient(circle, rgba(79, 140, 255, .45), rgba(79, 216, 255, .14) 45%, transparent 70%); }
.orbit--dark .phx__screen { background: #0b1430; }
.orbit__label { position: absolute; left: 50%; bottom: 4px; translate: -50% 0; z-index: 3; margin: 0; white-space: nowrap; }
.flagship__visual--orbit .app-reel__toggle { position: absolute; right: 8px; bottom: 0; translate: none; }
@media (min-width: 1024px) { .flagship .orbit { --ext: 0px; width: 100%; margin-right: 0; height: clamp(520px, calc(100svh - var(--header-h) - 60px), 640px); } }

/* CTA final: fonte um pouco menor */
.cta-band--apps h2 { font-size: clamp(1.8rem, 1.2rem + 1.8vw, 2.7rem); max-width: 17ch; }
.cta-band--apps p { font-size: 1rem; }
/* V5 · ajuste: números em cima; lojas | selos na mesma linha */
.hx-proof--gov { display: grid; gap: clamp(16px, 2.6vh, 26px); }
.hx-proof__row { display: flex; align-items: center; flex-wrap: wrap; gap: 18px clamp(22px, 2.6vw, 40px); }
.hx-proof__row .hx-stores { flex-direction: column; }
.hx-proof__row .hx-seals--gov { padding-left: clamp(22px, 2.6vw, 40px); }
.hx__title--gov { font-size: clamp(2.2rem, min(3.9vw, 7.6vh), 3.9rem); }
.hx__title--gov > span { white-space: nowrap; }
@media (max-width: 419px) { .hx__title--gov { font-size: 2rem; } }
@media (max-width: 479px) { .hx-proof__row .hx-stores { flex-direction: row; } }
.hx-trio { left: 15% !important; height: 86% !important; }
.hx-trio.hx-case__phone { width: calc(var(--stage-h) * .86 * 9 / 19.4); }
.hx-proof__row .store-badge { min-width: 164px; }
@media (max-width: 559px) { .hx-trio { left: 18% !important; height: 80% !important; } .hx-trio.hx-case__phone { width: calc(var(--stage-h) * .8 * 9 / 19.4); } .hx-proof__row .store-badge { min-width: 0; } }
.segx-section .segx__seg[aria-selected="true"] { color: #fff; border-color: transparent; background: linear-gradient(120deg, var(--seg), color-mix(in srgb, var(--seg) 55%, #22d3ee)); }
.segx-section .segx__seg[aria-selected="true"]:hover { color: #fff; }
.segx-section .segx__summary { color: #4a5675; }
@media (min-width: 1024px) { .flagship__grid:has(.flagship__visual--orbit) { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-6); } }
@media (min-width: 1024px) and (max-width: 1279px) { .flagship__grid:has(.flagship__visual--orbit) .features--cols { grid-template-columns: 1fr; } }
@media (min-width: 1024px) and (max-width: 1279px) { .hx-cases--gov .hx-cases__next { right: 6px; } }
/* V5.1 · lojas: balões cinza-claro, ícones com a cor da marca, um pouco menores */
.store-badge { min-height: 40px; padding: 5px 14px 5px 11px; gap: 8px; border-radius: 11px; color: var(--sasi-ink); background: linear-gradient(180deg, #f7f8fb 0%, #eceff5 100%); border: 1px solid #dfe3ec;
  box-shadow: 0 1px 0 #fff inset, 0 8px 18px -10px rgba(14, 26, 61, .35), 0 1px 2px rgba(14, 26, 61, .08); }
.store-badge:hover { background: linear-gradient(180deg, #fff 0%, #f1f3f8 100%); box-shadow: 0 1px 0 #fff inset, 0 14px 24px -12px rgba(14, 26, 61, .4), 0 1px 2px rgba(14, 26, 61, .08); }
.store-badge svg { width: 19px; height: 19px; }
.store-badge svg use[href="#i-apple"] { color: #000; }
.store-badge > span:not(.visually-hidden) { font-size: .9rem; }
.store-badge small { font-size: .62rem; color: #4a5675; opacity: 1; }
.hx-proof__row .store-badge { min-width: 146px; }
/* V5.1 · balão do setor maior e mais destacado da foto */
.hx-case__tag { height: 52px; padding: 0 22px 0 17px; gap: 11px; font-size: 1.08rem; top: calc(86% - 26px); right: 26px;
  background: color-mix(in srgb, var(--tone) 6%, #fff); border-color: color-mix(in srgb, var(--tone) 28%, #fff);
  box-shadow: 0 18px 34px -12px rgba(14, 26, 61, .5), 0 2px 6px rgba(14, 26, 61, .12); }
.hx-case__tag i { width: 11px; height: 11px; }
@media (max-width: 559px) { .hx-case__tag { height: 44px; font-size: .95rem; padding: 0 18px 0 14px; top: calc(78% + 10px); right: 0; } }
/* V5.2 · Cidade na Mão: copy curto, balões menores e sem negrito */
.flagship .features--cols { gap: 10px 12px; max-width: 460px; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.flagship .features--cols li { padding: 9px 12px; gap: 10px; border-radius: 12px; font-family: var(--font-body, inherit); font-weight: 400; font-size: .88rem; line-height: 1.3; color: rgba(255,255,255,.88); }
.flagship .features--cols .icon-tile { width: 30px; height: 30px; border-radius: 8px; }
.flagship .features--cols .icon-tile svg { width: 15px; height: 15px; }
@media (max-width: 379px) { .flagship .features--cols { grid-template-columns: 1fr !important; } }
/* V5.2 · botão de pausa do Cidade na Mão: some da tela, aparece só ao navegar pelo teclado (acessibilidade) */
.flagship__visual--orbit .app-reel__toggle:not(:focus-visible) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); border: 0; white-space: nowrap; }
/* V5.2 · Cidade na Mão: sem a faixa de título/portfólio; logos logo abaixo, sem divisória */
.flagship .cnm-foot { margin-top: var(--space-4); padding-top: 0; border-top: 0; }
/* V5.4 · Cidade na Mão: frase como subtítulo (mesmo padrão das outras seções) */
.flagship .flagship__sub { margin-top: calc(var(--space-2) * -1); color: #b9c6ef; font-size: var(--fs-md); line-height: 1.5; }
/* V5.6 · selos à esquerda, lojas à direita */
.hx-proof__row .hx-seals--gov { padding-left: 0; border-left: 0; }
.hx-proof__row .hx-stores { padding-left: clamp(22px, 2.6vw, 40px); border-left: 1px solid var(--sasi-line); }
@media (max-width: 559px) { .hx-proof__row .hx-stores { padding-left: 0; border-left: 0; } }
/* V5.7 · carrossel único de clientes + prefeituras; seção Cidade na Mão mais enxuta */
.marquee__item--dark { background: #16245a; border-color: rgba(22, 36, 90, .4); }
.marquee__item--dark img { mix-blend-mode: normal; }
.flagship.section { padding-bottom: clamp(40px, 6vh, 72px); }
/* V5.8 · números + selos + lojas num só bloco em 2 colunas (selos sob +1,4 mi, lojas sob 4,8), sem divisória */
.hx-proof--gov { grid-template-columns: max-content max-content; column-gap: clamp(24px, 3vw, 44px); row-gap: clamp(16px, 2.4vh, 24px); align-items: start; justify-content: start; }
.hx-proof--gov > .hx-big, .hx-proof--gov > .hx-proof__row { display: contents; }
.hx-proof--gov .hx-seals--gov { justify-items: start; padding: 0; border: 0; }
.hx-proof--gov .hx-seals--gov figcaption { padding-left: 2px; }
.hx-proof__row .hx-stores, .hx-proof--gov .hx-stores { flex-direction: column; padding-left: 18px; border-left: 0; gap: 8px; }
@media (max-width: 559px) {
  .hx-proof--gov { column-gap: 18px; }
  .hx-proof--gov .hx-seals--gov img { width: 62px; }
  .hx-proof__row .hx-stores, .hx-proof--gov .hx-stores { flex-direction: column; padding-left: 18px; }
  .hx-proof__row .store-badge { min-width: 140px; }
}
@media (max-width: 559px) {
  .hx-proof--gov { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); column-gap: 12px; }
  .hx-proof--gov .hx-seals--gov img { width: 54px; }
  .hx-proof--gov .hx-seals--gov .hx-seals__imgs { gap: 8px; }
  .hx-proof--gov .hx-seals--gov figcaption { font-size: .66rem; letter-spacing: .1em; max-width: 13ch; line-height: 1.35; }
  .hx-proof__row .hx-stores, .hx-proof--gov .hx-stores { padding-left: 18px; }
  .hx-proof__row .store-badge { min-width: 0; width: 100%; padding-right: 10px; }
}
/* V5.11 · rodapé: logo com slogan, sem frase; redes sociais logo abaixo */
.footer-brand img.footer-brand__logo { height: 60px; width: auto; }
.footer-brand .socials { margin-top: var(--space-4); }
/* V5.13 · escritórios: 3 colunas x 2 cidades, bandeiras, endereços curtos */
.offices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5) var(--space-6); }
.offices__col { display: grid; gap: var(--space-5); align-content: start; }
.offices--3 .office h3 { margin-bottom: 6px; gap: 9px; }
.offices--3 .office h3::before { content: none; }
.offices--3 .flag { width: 22px; height: 15px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255,255,255,.18); overflow: hidden; }
.offices--3 .office address { font-size: .9rem; line-height: 1.55; }
@media (max-width: 1023px) { .offices--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .offices--3 { grid-template-columns: 1fr; } }
/* V5.14 · rodapé: mesmos botões das lojas da primeira seção */
.site-footer .store-badge { color: var(--sasi-ink); background: linear-gradient(180deg, #f7f8fb 0%, #eceff5 100%); border: 1px solid #dfe3ec; min-height: 40px; padding: 5px 14px 5px 11px; gap: 8px; border-radius: 11px;
  box-shadow: 0 1px 0 #fff inset, 0 8px 18px -10px rgba(0, 0, 0, .5), 0 1px 2px rgba(0, 0, 0, .1); }
.site-footer .store-badge:hover { color: var(--sasi-ink); border-color: #fff; background: linear-gradient(180deg, #fff 0%, #f1f3f8 100%); }
.site-footer .store-badge svg { width: 19px; height: 19px; color: #000; }
.site-footer .store-badge > span:not(.visually-hidden) { font-weight: 700; font-size: .9rem; line-height: 1.05; }
.site-footer .store-badge small { color: #4a5675; opacity: 1; }
/* V5.16 · Últimas notícias (home): cards enxutos, 4 por vez e imagens menores */
.news-carousel .carousel__track { grid-auto-columns: calc((100% - var(--space-5) * 3) / 4); }
.news-carousel .news .card__body { padding-top: var(--space-3); }
.news-carousel .news .card__title { font-size: 1rem; line-height: 1.35; margin-top: 4px; }
.news-carousel .news .card__foot { margin-top: var(--space-3); }
.news-carousel img.news__media, .news-carousel .news__media { aspect-ratio: 16 / 10; }
@media (max-width: 1023px) { .news-carousel .carousel__track { grid-auto-columns: calc((100% - var(--space-5) * 2) / 3); } }
@media (max-width: 767px) { .news-carousel .carousel__track { grid-auto-columns: calc((100% - var(--space-5)) / 2); } }
@media (max-width: 519px) { .news-carousel .carousel__track { grid-auto-columns: 72%; } }
.news-carousel .news { display: flex; flex-direction: column; }
.news-carousel .news .card__body { flex: 1; display: flex; flex-direction: column; }
.news-carousel .news .card__foot { margin-top: auto; padding-top: var(--space-3); }
.news-carousel .news .meta { margin-bottom: 0; }
/* V5.17 · diretoria menor e centralizada, sem cargo */
.directors { grid-template-columns: repeat(3, 150px); justify-content: center; gap: var(--space-5) clamp(28px, 5vw, 64px); max-width: none; margin-inline: auto; }
.director { justify-items: center; text-align: center; }
.director__photo { width: 150px; border-radius: 50%; margin-bottom: var(--space-2); box-shadow: 0 14px 28px -16px rgba(14, 26, 61, .45); }
.director__photo img { object-position: center 20%; }
.director__name { font-size: 1.02rem; }
#dir-title { text-align: center; width: 100%; }
.section-head--split:has(#dir-title) { justify-content: center; }
@media (max-width: 479px) { .directors { grid-template-columns: repeat(3, 96px); gap: 16px; } .director__photo { width: 96px; } .director__name { font-size: .88rem; } }
.section-head:has(#dir-title) { display: block; text-align: center; }
#dir-title { display: block; text-align: center; }

/* =========================================================
   V6 · SASI NA MÍDIA (página de notícias / futuro blog)
   ========================================================= */
.nxhero { position: relative; overflow: hidden; isolation: isolate; color: #fff; padding-block: clamp(32px, 5vh, 56px);
  background: radial-gradient(60% 120% at 85% 20%, rgba(64, 120, 255, .35), transparent 60%), radial-gradient(50% 90% at 0% 100%, rgba(120, 80, 255, .22), transparent 60%), linear-gradient(180deg, #0b1433, #0e1c4a); }
.nxhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(80% 90% at 70% 50%, #000, transparent); mask-image: radial-gradient(80% 90% at 70% 50%, #000, transparent); }
.nxhero__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.nxhero__title { font-size: clamp(2.2rem, 1.4rem + 2.6vw, 3.4rem); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; color: #fff; }
.nxhero__text { margin-top: var(--space-3); max-width: 40ch; font-size: var(--fs-md); line-height: 1.55; color: #c3cff5; }
.nxhero__blog { margin-top: var(--space-4); display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px 0 12px; border-radius: 999px; color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .9rem; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.nxhero__blog:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.4); }
.nxhero__blog svg { width: 17px; height: 17px; }
.nxhero__blog span { font-family: var(--font-body); font-weight: 500; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; color: #0b1433; background: #9fb4ff; border-radius: 999px; padding: 2px 8px; }
.nxhero__map { justify-self: end; width: 100%; max-width: 620px; }
.nxmap { display: block; width: 100%; height: auto; overflow: visible; }
.nxmap__dots { fill: none; stroke: #7f95e8; stroke-opacity: .42; stroke-width: .55; stroke-linecap: round; }
.nxmap__arc { fill: none; stroke: url(#nxgrad); stroke: #8fb0ff; stroke-width: .35; stroke-linecap: round; stroke-dasharray: 1.2 1.4; opacity: .9; animation: nxmap-flow 3s linear infinite; animation-delay: calc(var(--i) * -.6s); }
@keyframes nxmap-flow { to { stroke-dashoffset: -10.4; } }
.nxmap__dot { fill: #fff; filter: drop-shadow(0 0 1.2px #8fd3ff); }
.nxmap__badge { fill: #fff; stroke: rgba(143, 176, 255, .6); stroke-width: .25; }
.nxmap__pulse { fill: none; stroke: #ff5a52; stroke-width: .35; opacity: 0; transform-origin: center; transform-box: fill-box; animation: nxmap-pulse 2.4s ease-out infinite; }
.nxmap__pin:nth-of-type(2) .nxmap__pulse { animation-delay: .6s; } .nxmap__pin:nth-of-type(3) .nxmap__pulse { animation-delay: 1.2s; } .nxmap__pin:nth-of-type(4) .nxmap__pulse { animation-delay: 1.8s; }
@keyframes nxmap-pulse { 0% { opacity: .9; transform: scale(1); } 100% { opacity: 0; transform: scale(2.4); } }
.nxmap__label { fill: #dfe6ff; font-family: var(--font-display); font-size: 2.1px; font-weight: 600; letter-spacing: .02em; }
@media (prefers-reduced-motion: reduce) { .nxmap__arc, .nxmap__pulse { animation: none; } .nxmap__travel { display: none; } }
@media (max-width: 879px) { .nxhero__grid { grid-template-columns: 1fr; } .nxhero__map { justify-self: center; max-width: 520px; } }

/* Destaques (carrossel com setas) */
.nxf-section.section { padding-block: clamp(32px, 5vh, 56px); }
.nxf { position: relative; }
.nxf__stage { display: grid; }
.nxf__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 44px); align-items: center; visibility: hidden; opacity: 0; transition: opacity .6s var(--ease), visibility 0s linear .6s; }
.nxf__slide.is-active { visibility: visible; opacity: 1; transition: opacity .6s var(--ease), visibility 0s; }
.nxf__media { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -32px rgba(14, 26, 61, .5); }
.nxf__img { display: block; aspect-ratio: 16 / 9; }
.nxf__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.nxf__media:hover .nxf__img img { transform: scale(1.03); }
.nxf__title { margin-top: var(--space-3); font-size: clamp(1.4rem, 1rem + 1.3vw, 2.05rem); line-height: 1.18; letter-spacing: -.02em; }
.nxf__title a { color: var(--sasi-ink); text-decoration: none; }
.nxf__title a:hover { color: var(--sasi-blue); }
.nxf__sub { margin-top: var(--space-3); color: #4a5675; line-height: 1.6; max-width: 48ch; }
.nxf__tag { font-family: var(--font-display); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9a2d24; background: #fde9e7; border-radius: 999px; padding: 2px 8px; }
.nxf__body .nx__foot { margin-top: var(--space-4); justify-content: flex-start; gap: var(--space-4); }
.nxf__nav { display: flex; align-items: center; gap: 12px; margin-top: var(--space-4); }
.nxf__dots { display: flex; gap: 8px; }
.nxf__dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.nxf__dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: #c8d0e3; transition: width .3s var(--ease), background-color .3s; }
.nxf__dot[aria-current="true"]::before { width: 22px; background: var(--sasi-blue); }
.nxf__pause:not(:focus-visible) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; padding: 0; }
.nxf__pause { font: inherit; font-size: .85rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sasi-line); background: #fff; }
@media (max-width: 767px) { .nxf__slide { grid-template-columns: 1fr; align-items: start; } .nxf__sub { display: none; } }
@media (prefers-reduced-motion: reduce) { .nxf__slide { transition: none; } }

/* Editoria, meta e capas sem foto */
.nx__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: .78rem; color: #5b6582; }
.nx__ed { font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: color-mix(in srgb, var(--ed, #2848c9) 82%, #000); }
.nx__meta time::before { content: "·"; margin-right: 8px; color: #a3abc0; }
.nx-cover { position: relative; display: grid; place-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 1.3px) 0 0 / 14px 14px, radial-gradient(90% 90% at 85% 10%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, var(--ed, #2848c9), color-mix(in srgb, var(--ed, #2848c9) 55%, #0b1433)); }
.nx-cover__ico { width: 34%; max-width: 72px; height: auto; aspect-ratio: 1; opacity: .95; filter: drop-shadow(0 8px 18px rgba(0,0,0,.25)); }
.nx-cover__src { position: absolute; left: 14px; bottom: 12px; right: 14px; font-family: var(--font-display); font-weight: 700; font-size: .82rem; letter-spacing: .01em; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.25); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nx__play { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.95); color: #e0352b; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); }
.nx__play svg { width: 20px; height: 20px; margin-left: 2px; }
.nx-cover .nx__play { top: auto; bottom: 10px; left: auto; right: 10px; translate: none; width: 34px; height: 34px; }
.nx-cover .nx__play svg { width: 15px; height: 15px; }
.nxf__img.nx-cover .nx-cover__ico { max-width: 120px; }
.nxf__img.nx-cover .nx-cover__src { font-size: 1.05rem; left: 22px; bottom: 18px; }

/* Lista: busca, filtros, grade 3x3 */
.nx-section.section { padding-top: clamp(40px, 6vh, 64px); }
.nx-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-4); }
.nx-search { display: flex; align-items: center; gap: 8px; width: min(100%, 340px); height: 46px; padding: 0 14px; border-radius: 14px; background: #fff; border: 1px solid #dde3ee; }
.nx-search:focus-within { border-color: var(--sasi-blue); box-shadow: 0 0 0 3px rgba(40, 72, 201, .18); }
.nx-search svg { width: 18px; height: 18px; color: #6b7591; flex: none; }
.nx-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: .95rem; color: var(--sasi-ink); }
.nx-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.nx-filters::-webkit-scrollbar { display: none; }
.nx-filters .filter { flex: none; }
.filter--video svg { width: 14px; height: 14px; color: #e0352b; vertical-align: -2px; }
.nx-count { margin: var(--space-3) 0 var(--space-4); font-size: .85rem; color: #5b6582; }
.nx-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2vw, 28px); }
.nx-item[hidden] { display: none; }
.nx { height: 100%; display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; border: 1px solid #e3e8f1; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.nx:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(14, 26, 61, .45); }
.nx:focus-within { outline: 3px solid var(--sasi-blue); outline-offset: 2px; }
.nx__mlink { display: block; }
.nx__media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #eef1f7; }
.nx__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.nx:hover .nx__media img { transform: scale(1.04); }
.nx__body { flex: 1; display: flex; flex-direction: column; padding: 16px 18px 18px; }
.nx__title { margin-top: 8px; font-size: 1.02rem; line-height: 1.35; letter-spacing: -.005em; }
.nx__title a { color: var(--sasi-ink); text-decoration: none; }
.nx__title a::after { content: ""; position: absolute; inset: 0; }
.nx { position: relative; }
.nx__title a:focus-visible { outline: none; }
.nx__sub { margin-top: 8px; font-size: .88rem; line-height: 1.5; color: #5b6582; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nx__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: .78rem; color: #5b6582; }
.nx__more { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 700; font-size: .88rem; color: var(--sasi-blue); }
.nx__more svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.nx:hover .nx__more svg { transform: translateX(3px); }
.nx__src { text-align: right; }
.nx-empty { padding: var(--space-6) 0; text-align: center; color: #5b6582; }
@media (max-width: 1023px) { .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .nx-grid { grid-template-columns: 1fr; } }

/* Paginação estilo "Saaaaasi" */
.pg { margin-top: clamp(32px, 5vh, 52px); display: flex; justify-content: center; }
.pg__inner { display: flex; align-items: flex-start; gap: 4px; font-family: var(--font-display); }
.pg__word { font-size: clamp(2rem, 1.4rem + 2vw, 2.7rem); font-weight: 800; letter-spacing: -.02em; line-height: 1; color: #16245a; }
.pg__s { padding-top: 0; }
.pg__btn { display: grid; justify-items: center; gap: 6px; min-width: 30px; padding: 0 1px; border: 0; background: none; cursor: pointer; font: inherit; color: inherit; }
.pg__btn .pg__word { color: #2848c9; transition: color .2s, transform .2s var(--ease); }
.pg__btn:hover .pg__word { transform: translateY(-2px); }
.pg__btn[aria-current="page"] .pg__word { color: #e0352b; }
.pg__num { font-family: var(--font-body); font-size: .88rem; font-weight: 500; color: #2848c9; text-decoration: underline; text-underline-offset: 3px; }
.pg__btn[aria-current="page"] .pg__num { color: var(--sasi-ink); font-weight: 700; text-decoration: none; }
.pg__arrow { display: grid; justify-items: center; gap: 6px; padding: 0 6px; border: 0; background: none; cursor: pointer; font: inherit; color: #2848c9; }
.pg__arrow svg { width: 28px; height: clamp(2rem, 1.4rem + 2vw, 2.7rem); }
.pg__arrow span { font-size: .88rem; font-weight: 500; }
.pg__arrow[disabled] { visibility: hidden; }
.pg__btn:focus-visible, .pg__arrow:focus-visible { outline: 3px solid var(--sasi-blue); outline-offset: 4px; border-radius: 8px; }
@media (max-width: 419px) { .pg__btn { min-width: 22px; } .pg__arrow span { display: none; } }

/* Home: editoria colorida nos cards de notícias */
.nx-h .meta .nx__ed { font-size: .72rem; }
.news-carousel .news__media.nx-cover { aspect-ratio: 16 / 10; border-radius: var(--radius-md); }
.news-carousel span.news__media { display: block; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; }
.news-carousel span.news__media img { width: 100%; height: 100%; object-fit: cover; }
.nx__media.nx-cover, .news__media.nx-cover, .nxf__img.nx-cover { background: radial-gradient(circle at 1px 1px, rgba(255,255,255,.22) 1px, transparent 1.3px) 0 0 / 14px 14px, radial-gradient(90% 90% at 85% 10%, rgba(255,255,255,.25), transparent 60%), linear-gradient(135deg, var(--ed, #2848c9), color-mix(in srgb, var(--ed, #2848c9) 55%, #0b1433)); }
@media (min-width: 1024px) { .nx-filters { flex-wrap: wrap; overflow: visible; } }
.nx__media.nx-cover, .news__media.nx-cover, .nxf__img.nx-cover { display: grid; place-items: center; }
.filter--video { display: inline-flex; align-items: center; gap: 6px; }
/* V6.3 · título do topo em formato distribuído (as duas linhas com a mesma largura) */
.hx__title--gov { width: fit-content; max-width: 100%; }
.hx__title--gov > span { text-align: justify; text-align-last: justify; text-justify: inter-word; }
.hx__title--gov > span:first-child { letter-spacing: .01em; }
/* V6.4 · primeira seção ~20% menor; foto termina na mesma linha do seletor de idioma (borda do container) */
.hx__title--gov { font-size: clamp(1.95rem, min(3.15vw, 6.1vh), 3.1rem); }
.hx--gov .hx__text { font-size: clamp(.9rem, min(1vw, 1.85vh), 1rem); }
.hx--gov .hx__copy { gap: clamp(12px, 1.9vh, 20px); }
.hx-proof--gov .hx-big__num { font-size: clamp(1.75rem, min(2.7vw, 4.8vh), 2.55rem); }
.hx-proof--gov .hx-big__num .stars svg { width: clamp(13px, 1.1vw, 17px); height: clamp(13px, 1.1vw, 17px); }
.hx-proof--gov .hx-big__label { font-size: .8rem; }
.hx-proof--gov { row-gap: clamp(12px, 1.9vh, 20px); column-gap: clamp(20px, 2.4vw, 36px); }
.hx-proof--gov .hx-seals--gov img { width: clamp(56px, min(4.5vw, 8vh), 74px); }
.hx-proof--gov .hx-seals--gov figcaption { font-size: .62rem; }
.hx-proof--gov .store-badge { min-height: 34px; padding: 4px 12px 4px 9px; gap: 7px; border-radius: 10px; }
.hx-proof--gov .store-badge svg { width: 16px; height: 16px; }
.hx-proof--gov .store-badge > span:not(.visually-hidden) { font-size: .78rem; }
.hx-proof--gov .store-badge small { font-size: .56rem; }
.hx-proof__row .store-badge { min-width: 124px; }
.hx-proof--gov .hx-stores { gap: 7px; padding-left: 15px; }
.hx-case__tag { height: 42px; padding: 0 18px 0 14px; gap: 9px; font-size: .88rem; top: calc(86% - 21px); right: 20px; }
.hx-case__tag i { width: 9px; height: 9px; }
.hx-cases--gov .hx-cases__next { width: 44px; height: 44px; }
@media (min-width: 1024px) {
  .hx-cases--gov { --stage-h: clamp(310px, calc((100svh - var(--header-h) - 120px) * .8), 480px); margin-right: 0 !important; }
  .hx-cases--gov .hx-cases__next { right: 14px; }
}
@media (max-width: 1023px) { .hx-cases--gov { --stage-h: 380px; } }
@media (max-width: 559px) { .hx-cases--gov { --stage-h: 330px; } .hx-case__tag { height: 36px; font-size: .8rem; top: calc(78% + 10px); right: 0; } }
.cta-band--apps { overflow: hidden; }
/* V6.5 · cases sem seta (só troca automática); pausa visível apenas pelo teclado */
.hx-cases__pause { position: absolute; z-index: 4; right: 12px; bottom: 12px; font: inherit; font-size: .8rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sasi-line); background: #fff; color: var(--sasi-ink); }
.hx-cases__pause:not(:focus-visible) { width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* Assistente: botão do robô no cabeçalho, mesmo estilo do WhatsApp */
.bot-icon { padding: 0; overflow: hidden; cursor: pointer; background: #eaf0ff; }
.bot-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.bot-icon:hover { background: #dfe7ff; border-color: var(--sasi-blue); transform: translateY(-1px); }
.bot-icon[aria-expanded="true"] { display: grid; box-shadow: 0 0 0 3px rgba(40, 72, 201, .25); }
.main-nav .bot-icon { margin-left: -6px; }
@media (min-width: 480px) { .assistant { top: calc(var(--header-h) + 12px); bottom: auto; height: min(600px, calc(100dvh - var(--header-h) - 32px)); } }
.flagship.section, .cta-final.section { overflow-x: clip; }
/* Celular/tablet: WhatsApp e robô ficam na barra do cabeçalho, ao lado do menu */
.header-quick { display: none; }
@media (max-width: 1023px) {
  .header-quick { display: flex; align-items: center; gap: 8px; margin-left: auto; margin-right: 10px; }
  .main-nav .wa-icon { display: none; }
}
@media (max-width: 1023px) { .site-header__inner { justify-content: flex-start; } .header-quick { margin-left: auto; } }
@media (max-width: 1023px) { .header-quick + .nav-toggle { margin-left: 0; } .header-quick { margin-right: 0; } }
/* V6.6 · SASI na Mídia: todas as publicações numa página só, 4 por linha, cards menores e mais leves */
.nx-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.nx { border-radius: 14px; }
.nx__media { aspect-ratio: 16 / 10; }
.nx__body { padding: 12px 14px 14px; }
.nx__meta { font-size: .72rem; }
.nx-item .nx__ed { font-weight: 800; font-size: .66rem; }
.nx__title { margin-top: 6px; font-family: var(--font-body, inherit); font-weight: 400; font-size: .92rem; line-height: 1.42; letter-spacing: 0; }
.nx__title a { color: #26314f; }
.nx__foot { padding-top: 10px; font-size: .72rem; }
.nx__more { font-size: .8rem; font-weight: 600; }
.nx__more svg { width: 13px; height: 13px; }
.nx-cover__ico { max-width: 48px; }
.nx-cover__src { font-size: .72rem; left: 11px; bottom: 9px; }
.nx__play { width: 38px; height: 38px; } .nx__play svg { width: 16px; height: 16px; }
@media (max-width: 1199px) { .nx-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .nx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479px) { .nx-grid { grid-template-columns: 1fr; } }
/* V6.8 · Comprovado na prática: cards ~15% menores (um pouco do 4º card aparece, indicando que dá para rolar) */
#cases .carousel__track { grid-auto-columns: calc((100% - var(--space-5) * 3) / 3.55); }
#cases img.case-photo { height: 136px; }
#cases .case-card .card__body { padding: 16px 18px 18px; gap: 6px; }
#cases .case-card .tag { font-size: .62rem; padding: 3px 9px; }
#cases .case-card .card__title { font-size: 1.08rem; line-height: 1.25; }
#cases .case-card .org { font-size: .74rem; }
#cases .case-card .card__text { font-size: .88rem; line-height: 1.5; }
#cases .kpis { padding-top: 12px; margin-top: auto; }
#cases .kpi__num { font-size: 1.5rem; }
#cases .kpi__label { font-size: .74rem; }
@media (max-width: 1023px) { #cases .carousel__track { grid-auto-columns: calc((100% - var(--space-5)) / 2.3); } }
@media (max-width: 619px) { #cases .carousel__track { grid-auto-columns: 78%; } }
/* V6.9 · seções abaixo do topo ~15% menores e coerentes entre si (desktop):
   textos, ícones, balões e mockups diminuem; as larguras continuam ocupando o container */
@media (min-width: 1024px) {
  #solucoes-governo > .container, .pilot-strip > .container, #cidade-na-mao > .container,
  .cta-final > .container, #noticias > .container, #cases .section-head { zoom: .85; }
  #solucoes-governo.section, #cidade-na-mao.section, #cases.section, .cta-final.section, #noticias.section { padding-block: clamp(36px, 5.6vh, 64px); }
}
/* V6.10 · Sobre nós: "Equipe SASI" centralizado como "Diretoria" */
.section-head:has(#team-title) { display: block; text-align: center; }
#team-title { display: block; text-align: center; }
.team-grid--all { justify-content: center; grid-template-columns: repeat(auto-fill, 118px); }
@media (max-width: 479px) { .team-grid--all { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.section-head:has(#team-title) .section-head__text { max-width: none; width: 100%; margin-inline: auto; text-align: center; }

/* =========================================================
   V7 · LGPD (abas + documento com índice lateral)
   ========================================================= */
.lg-tabsbar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255,255,255,.92); backdrop-filter: blur(10px); border-bottom: 1px solid #e3e8f1; }
.lg-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 12px 0; }
.lg-tabs::-webkit-scrollbar { display: none; }
.lg-tab { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: #4a5675; border: 1px solid #e3e8f1; background: #fff; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.lg-tab:hover { color: var(--sasi-blue); border-color: #c9d3ee; }
.lg-tab[aria-selected="true"] { color: #fff; background: var(--sasi-blue); border-color: var(--sasi-blue); box-shadow: 0 8px 18px -10px rgba(40, 72, 201, .7); }
.lg-wrap { padding-block: clamp(28px, 5vh, 56px) clamp(48px, 8vh, 88px); }
.lg-panel[hidden] { display: none; }
.lg-panel:focus { outline: none; }
.lg-head { position: relative; overflow: hidden; border-radius: 22px; padding: clamp(24px, 4vw, 44px); color: #fff; margin-bottom: clamp(24px, 4vh, 40px);
  background: radial-gradient(60% 120% at 90% 0%, rgba(64, 120, 255, .45), transparent 60%), linear-gradient(135deg, #0b1433, #16245a); }
.lg-head::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.12) 1px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000); mask-image: linear-gradient(90deg, transparent 30%, #000); pointer-events: none; }
.lg-eyebrow { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #9fb4ff; }
.lg-title { margin-top: 8px; font-size: clamp(1.7rem, 1.1rem + 2vw, 2.6rem); line-height: 1.12; letter-spacing: -.02em; color: #fff; max-width: 24ch; }
.lg-meta { margin-top: 10px; font-size: .9rem; color: #c3cff5; }
.lg-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.lg-layout:not(:has(.lg-toc)) { grid-template-columns: minmax(0, 1fr); }
.lg-toc { position: sticky; top: calc(var(--header-h) + 84px); max-height: calc(100vh - var(--header-h) - 110px); overflow-y: auto; padding: 16px; border-radius: 16px; background: #f5f7fb; border: 1px solid #e6eaf2; }
.lg-toc__title { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #5b6582; margin-bottom: 8px; }
.lg-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lg-toc a { display: block; padding: 6px 10px; border-radius: 8px; font-size: .84rem; line-height: 1.35; color: #4a5675; text-decoration: none; }
.lg-toc a:hover { background: #fff; color: var(--sasi-blue); }
.lg-toc a.is-current { background: #fff; color: var(--sasi-blue); font-weight: 600; box-shadow: inset 3px 0 0 var(--sasi-blue); }
.lg-doc { max-width: 76ch; font-size: 1rem; line-height: 1.75; color: #2f3a55; }
.lg-doc > * + * { margin-top: 14px; }
.lg-doc h3 { scroll-margin-top: calc(var(--header-h) + 80px); margin-top: 40px; padding-top: 20px; border-top: 1px solid #e6eaf2; font-size: 1.3rem; line-height: 1.3; color: var(--sasi-ink); }
.lg-doc h3:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.lg-doc h4 { margin-top: 28px; font-size: 1.05rem; color: var(--sasi-ink); }
.lg-doc strong { color: var(--sasi-ink); }
.lg-doc a { color: var(--sasi-blue); text-underline-offset: 3px; word-break: break-word; }
.lg-doc ul, .lg-doc ol { padding-left: 1.2rem; display: grid; gap: 8px; }
.lg-doc li::marker { color: var(--sasi-blue); }
.lg-doc > div { padding: 18px 20px; border-radius: 14px; background: #f5f7fb; border: 1px solid #e6eaf2; }
.lg-doc > div > :first-child { margin-top: 0; }
.lg-doc > div > * + * { margin-top: 10px; }
.lg-label { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--sasi-blue); margin-top: 28px !important; }
.lg-table { overflow-x: auto; border-radius: 14px; border: 1px solid #e3e8f1; background: #fff; padding: 0 !important; }
.lg-doc > .lg-table, .lg-doc > div:has(> .lg-table) { padding: 0; background: none; border: 0; }
.lg-table table { width: 100%; border-collapse: collapse; font-size: .88rem; line-height: 1.5; min-width: 560px; }
.lg-table th { text-align: left; font-family: var(--font-display); font-size: .78rem; letter-spacing: .04em; color: #fff; background: #16245a; padding: 12px 14px; }
.lg-table td { padding: 12px 14px; border-top: 1px solid #edf0f6; vertical-align: top; }
.lg-table tr:nth-child(even) td { background: #fafbfd; }
@media (max-width: 1023px) { .lg-layout { grid-template-columns: 1fr; } .lg-toc { position: static; max-height: none; } .lg-toc ol { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); } }
@media (max-width: 599px) { .lg-toc { display: none; } .lg-doc { font-size: .95rem; } }
/* V7.1 · explorador: ícone centralizado com o nome da solução */
.segx-section .segx__feat-head { align-items: center; }
.segx-section .segx__feat-head h3 { line-height: 1.15; }
/* LGPD no celular: nada passa da largura da tela */
.lg-doc, .lg-layout > * { min-width: 0; }
@media (max-width: 1023px) { .lg-layout { grid-template-columns: minmax(0, 1fr); } }
.lg-panel { scroll-margin-top: calc(var(--header-h) + 90px); }

/* V7.2 · Botão "Baixe o Catálogo" (cinza suave 3D, abaixo de Quero piloto, mesma largura) */
.segx__actions { display: inline-grid; grid-auto-flow: row; grid-auto-columns: max-content; justify-items: stretch; gap: 10px; align-self: flex-start; }
.segx__actions .btn { justify-content: center; }
.btn--catalog {
  color: #2b3348;
  background: linear-gradient(180deg, #fbfcfe 0%, #e9edf3 100%);
  border: 1px solid #d3d9e3;
  box-shadow: inset 0 1px 0 #fff, 0 1px 0 #c3cad6, 0 4px 10px -4px rgba(20, 30, 60, .25);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease);
}
.btn--catalog svg { color: #5a6680; }
.btn--catalog:hover { background: linear-gradient(180deg, #ffffff 0%, #eef1f6 100%); transform: translateY(-1px); box-shadow: inset 0 1px 0 #fff, 0 2px 0 #c3cad6, 0 8px 16px -6px rgba(20, 30, 60, .3); color: #1c2234; }
.btn--catalog:active { transform: translateY(1px); box-shadow: inset 0 1px 2px rgba(20, 30, 60, .15), 0 0 0 #c3cad6; }
.btn--catalog:focus-visible { outline: 3px solid #8fb1ff; outline-offset: 2px; }
@media (max-width: 767px) { .segx__actions { display: grid; grid-auto-columns: 1fr; width: 100%; } }
@media (prefers-reduced-motion: reduce) { .btn--catalog, .btn--catalog:hover, .btn--catalog:active { transform: none; transition: none; } }

/* V7.3 · LGPD: selos ISO 3D no cabeçalho + índice "Neste documento" responsivo */
.lg-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: clamp(20px, 4vw, 48px); }
.lg-head__text { position: relative; z-index: 2; min-width: 0; }
.lg-seals { position: relative; z-index: 2; display: flex; align-items: center; gap: clamp(14px, 2.4vw, 30px); margin: 0; perspective: 900px; }
.lg-seals figcaption { position: absolute; left: 0; right: 0; bottom: -26px; text-align: center; font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #9fb4ff; white-space: nowrap; }
.lg-seal { position: relative; width: clamp(118px, 13vw, 176px); aspect-ratio: 1; border-radius: 50%; transform-style: preserve-3d;
  transform: rotateY(-16deg) rotateX(8deg); animation: lg-seal-float 6s ease-in-out infinite; transition: transform .5s var(--ease); }
.lg-seal--2 { transform: rotateY(16deg) rotateX(8deg); animation-delay: -3s; }
/* espessura da moeda */
.lg-seal::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(160deg, #c9d6f3, #5d74b3 55%, #26386e); transform: translateZ(-10px); box-shadow: 0 0 0 2px rgba(255,255,255,.08); }
/* brilho */
.lg-seal::after { content: ""; position: absolute; inset: 3%; border-radius: 50%; background: linear-gradient(125deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 38%, rgba(255,255,255,0) 70%, rgba(255,255,255,.18) 100%); mix-blend-mode: screen; pointer-events: none; transform: translateZ(1px); }
.lg-seal img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; border-radius: 50%; transform: translateZ(0);
  filter: drop-shadow(0 2px 0 #b7c4e6) drop-shadow(0 4px 0 #7f93c9) drop-shadow(0 18px 22px rgba(0, 6, 30, .55)) drop-shadow(0 0 26px rgba(90, 140, 255, .35)); }
.lg-seals:hover .lg-seal { transform: rotateY(0) rotateX(0) scale(1.04); }
@keyframes lg-seal-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (prefers-reduced-motion: reduce) { .lg-seal { animation: none; transition: none; } }
@media (max-width: 767px) {
  .lg-head { grid-template-columns: 1fr; }
  .lg-seals { justify-content: center; padding-bottom: 30px; }
  .lg-seal { width: clamp(108px, 34vw, 140px); }
}

/* índice: em telas médias e pequenas vira faixa de "pílulas" que quebra linha */
@media (max-width: 1023px) {
  .lg-toc { display: block; position: static; max-height: none; overflow: visible; padding: 14px; }
  .lg-toc ol { display: flex; flex-wrap: wrap; gap: 8px; grid-template-columns: none; }
  .lg-toc li { min-width: 0; }
  .lg-toc a { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid #dfe4ee; font-size: .82rem; line-height: 1.25; }
  .lg-toc a.is-current { box-shadow: none; border-color: var(--sasi-blue); }
}
@media (max-width: 599px) {
  .lg-toc ol { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 4px; margin: 0 -4px; -webkit-overflow-scrolling: touch; }
  .lg-toc li { flex: 0 0 auto; scroll-snap-align: start; }
  .lg-toc a { white-space: nowrap; }
}
.lg-doc h3:focus { outline: none; }

/* V7.4 · CTA final: subtítulo em 2 linhas equilibradas, sem passar da margem direita do título */
.cta-band--apps .cta-band__lead { text-wrap: balance; font-size: clamp(1rem, .9rem + .4vw, 1.2rem); line-height: 1.5; }

/* V7.5 · subtítulos ajustados à largura do título (JS define max-width) */
.sub-fit { text-wrap: balance; }

/* V7.6 · Empresas: hub EVAIH centralizado, cabendo em uma tela */
.hubc { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hubc__head { margin-bottom: clamp(8px, 2vh, 20px); }
.hubc__head .section-head__text { display: flex; flex-direction: column; align-items: center; }
.hubc .hub__brand { justify-content: center; margin-top: clamp(10px, 1.6vh, 16px); }
.hubc .hub { margin: 0 auto; width: min(100%, 780px); }
.hubc .hub__pill { padding: 10px 14px; }
.hubc .hub__pill img { height: 22px; }
.hubc .hub__pill--grok img { height: 29px; }
.hubc .hub__pill--claude img { height: 19px; }
@media (min-width: 620px) {
  .hub-section { padding-block: clamp(32px, 5vh, 64px); }
  .hubc .hub { width: min(100%, 780px, calc((100svh - 440px) * 1.95)); min-width: 520px; }
}
/* pingo do "I" do EVAIH = ícone da SASI */
.hub__core .hub__i { position: relative; display: inline; padding: 0; letter-spacing: inherit; }
.hub__i img { position: absolute; left: -.08em; top: -.62em; width: .78em; height: auto; max-width: none; filter: drop-shadow(0 0 6px rgba(110, 225, 255, .75)); pointer-events: none; }
.hub__core > span { padding-top: .35em; }

/* V7.7 · Empresas: primeira seção mais fina + carrossel de clientes privados (mesma tela) */
.mock-phone--in { display: flex; flex-direction: column; padding: 15% 7% 0; }
.mock-phone--in ul { flex: 1; grid-auto-rows: minmax(0, 1fr); align-content: start; }
.mock-phone--in li { min-height: 0; }
.mock-phone__tabs { display: flex; justify-content: space-around; align-items: center; margin: 8px -8% 0; padding: 9px 6% 13%; border-top: 1px solid #e6e8ee; background: #fafbfd; }
.mock-phone__tabs svg { width: 15px; height: 15px; color: #8a93a8; }
.mock-phone__tabs svg.is-on { color: var(--sasi-blue); }
.clients--emp { padding-block: clamp(10px, 2vh, 22px) clamp(14px, 2.4vh, 26px); border-bottom: 1px solid var(--sasi-line); background: #fff; }
.clients--emp .marquee { margin-top: 0; }
.clients--emp .marquee__viewport { padding-block: 14px; }
.clients--emp .marquee__track { animation-duration: 34s; }
@media (min-width: 1024px) {
  .emp-hero { min-height: calc(100svh - var(--header-h) - var(--emp-logos-h, 150px)); padding-block: clamp(20px, 3vh, 40px); }
  .emp-hero__visual { min-height: calc(100svh - var(--header-h) - var(--emp-logos-h, 150px) - 2 * clamp(20px, 3vh, 40px)); max-height: 600px; }
  .emp-phone { --phx-w: clamp(170px, calc((100svh - var(--header-h) - var(--emp-logos-h, 150px) - 90px) * .44), 236px); right: 16%; }
  .emp-hero .mock-alert { top: 10%; right: 0; }
  .emp-hero .mock-agent { bottom: 6%; left: 4%; }
  .emp-hero__title { font-size: clamp(2.6rem, 1.6rem + 2.6vw, 4.2rem); }
}
.clients--emp .marquee__item { height: 88px; width: 176px; padding: 10px 18px; }
.clients--emp .marquee__item img { max-height: 58px; }
.emp-hero { --emp-logos-h: 158px; }
/* V7.7b · conteúdo da tela do celular proporcional ao tamanho do aparelho */
.emp-phone .mock-phone--in { font-size: calc(var(--phx-w, 240px) * .043); }
.emp-phone .mock-phone--in .mock-phone__top { font-size: .78em; }
.emp-phone .mock-phone--in .mock-phone__brand { font-size: 1.05em; padding: .3em 0 .9em; gap: .5em; }
.emp-phone .mock-phone--in .mock-phone__brand svg { width: 2.2em; height: 2.2em; }
.emp-phone .mock-phone--in ul { gap: .45em; }
.emp-phone .mock-phone--in li { font-size: .88em; padding: 0 .8em; gap: .6em; white-space: nowrap; overflow: hidden; }
.emp-phone .mock-phone--in li svg { width: 1.15em; height: 1.15em; flex: none; }
.emp-phone .mock-phone__tabs svg { width: 1.2em; height: 1.2em; }
.emp-phone .mock-phone__tabs { padding: .7em 6% 12%; margin-top: .6em; }
@media (min-width: 1024px) {
  .emp-hero__visual { --emp-phx: clamp(170px, calc((100svh - var(--header-h) - var(--emp-logos-h, 158px) - 90px) * .44), 236px); }
  .emp-phone { --phx-w: var(--emp-phx); }
  .emp-hero .mock-agent { left: auto; right: calc(16% + var(--emp-phx) - 36px); width: 210px; bottom: 8%; }
  .emp-hero .mock-alert { right: calc(16% - 150px); top: 12%; }
}
/* V7.7c · lista do app com altura natural + barra inferior; balões sem cobrir a tela */
.emp-phone .mock-phone--in ul { flex: none; grid-auto-rows: auto; }
.emp-phone .mock-phone--in li { padding: .95em .8em; }
.emp-phone .mock-phone__tabs { margin-top: auto; }
@media (min-width: 1024px) {
  .emp-hero .mock-agent { right: calc(16% + var(--emp-phx) + 18px); width: 200px; bottom: 10%; }
  .emp-hero .mock-alert { right: max(0px, calc(16% - 150px)); top: 6%; }
}
@media (min-width: 1024px) {
  .emp-phone { left: 60%; right: auto; translate: -50% -50%; top: 50%; }
  .emp-hero .mock-agent { left: auto; right: calc(40% + var(--emp-phx) / 2 + 14px); width: 200px; bottom: 10%; }
  .emp-hero .mock-alert { right: auto; left: calc(60% + var(--emp-phx) / 2 - 34px); top: 8%; }
}
.emp-hero .mock-alert { white-space: nowrap; width: max-content; }

/* V7.8 · Hub EVAIH em fundo azul-escuro com brilho e grade de pontos (combina com a esfera) */
.hub-section { position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(55% 60% at 50% 62%, rgba(64, 140, 255, .32), rgba(10, 20, 60, 0) 70%),
              radial-gradient(40% 50% at 15% 10%, rgba(120, 90, 255, .22), rgba(10, 20, 60, 0) 70%),
              radial-gradient(40% 50% at 88% 90%, rgba(40, 200, 255, .18), rgba(10, 20, 60, 0) 70%),
              linear-gradient(180deg, #071033 0%, #0b1846 55%, #081236 100%); }
.hub-section::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(circle at 1px 1px, rgba(150, 200, 255, .28) 1px, transparent 1.6px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(60% 65% at 50% 60%, #000 0%, rgba(0,0,0,.35) 55%, transparent 80%); mask-image: radial-gradient(60% 65% at 50% 60%, #000 0%, rgba(0,0,0,.35) 55%, transparent 80%); }
.hub-section::after { content: ""; position: absolute; left: 50%; top: 62%; width: 140vmax; height: 140vmax; translate: -50% -50%; z-index: -1; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(79, 216, 255, 0) 0deg, rgba(79, 216, 255, .10) 40deg, rgba(79, 216, 255, 0) 90deg, rgba(150, 120, 255, .09) 200deg, rgba(150, 120, 255, 0) 260deg, rgba(79, 216, 255, 0) 360deg);
  -webkit-mask-image: radial-gradient(circle, #000 0%, transparent 45%); mask-image: radial-gradient(circle, #000 0%, transparent 45%);
  animation: hub-spin 26s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hub-section::after { animation: none; } }
.hub-section .section-title { color: #fff; }
.hub-section .section-sub { color: #c3cff5; }
.hub-section .hub__brand { color: #aebde8; }
.hub-section .hub__brand b { color: #fff; border-right-color: rgba(255, 255, 255, .22); text-shadow: 0 0 14px rgba(110, 225, 255, .55); }
.hub-section .hub__brand strong { color: #7fe3ff; }
.hub-section .hub__line { stroke-opacity: .55; }
.hub-section .hub__pill { background: rgba(255, 255, 255, .97); border-color: rgba(160, 220, 255, .55); box-shadow: 0 10px 30px rgba(0, 8, 40, .45), 0 0 0 1px rgba(255,255,255,.06); }
.hub-section .hub__halo { background: radial-gradient(circle, rgba(95, 210, 255, .55) 0%, rgba(95, 210, 255, .2) 40%, rgba(95, 210, 255, 0) 68%); }
/* animação maior, ainda cabendo na tela */
.hubc .hub { width: min(100%, 900px); }
@media (min-width: 620px) {
  .hubc .hub { width: min(100%, 900px, calc((100svh - 440px) * 2.05)); }
  .hubc__head { margin-bottom: clamp(4px, 1.2vh, 14px); }
}

/* V7.9 · Home: subtítulo em uma linha dentro da largura do título; espaçamento proporcional */
@media (min-width: 1024px) {
  .hx--gov { --hx-t: clamp(2.3rem, 4.2vw, 3.25rem); }
  .hx--gov .hx__title--gov { font-size: var(--hx-t); }
  .hx--gov .hx__text { font-size: calc(var(--hx-t) * .295); white-space: nowrap; max-width: none !important; }
  .hx--gov .hx__copy { gap: 0; }
  .hx--gov .hx__title--gov + .hx__text { margin-top: calc(var(--hx-t) * .42); }
  .hx--gov .hx-proof--gov { margin-top: calc(var(--hx-t) * .78); }
}

/* V7.10 · seções com zoom .85 continuam alinhadas às margens do cabeçalho (logo SASI ↔ bandeira) */
@media (min-width: 1024px) {
  #solucoes-governo > .container, .pilot-strip > .container, #cidade-na-mao > .container,
  .cta-final > .container, #noticias > .container {
    width: auto; max-width: calc((var(--container) + 48px) / .85);
    padding-left: calc(24px / .85); padding-right: calc(24px / .85);
  }
}

/* V7.11 · CTA final: título em 2 linhas e subtítulo justificado na mesma largura */
.cta-band--apps h2.cta-band__title2 { max-width: none; width: fit-content; font-size: clamp(1.7rem, 1rem + 2.1vw, 2.75rem); }
.cta-band__title2 > span { display: block; }
@media (min-width: 720px) { .cta-band__title2 > span { white-space: nowrap; } }
@media (min-width: 720px) {
  .cta-band--apps .cta-band__lead[data-fit-title] { max-width: none !important; width: fit-content; }
  .cta-band__lead[data-fit-title] > span { display: block; white-space: nowrap; text-align: justify; text-align-last: justify; }
}

/* V7.12 · subtítulos "data-fit-title" (linhas fixas, largura exata do título) — regra geral */
@media (min-width: 720px) {
  [data-fit-title] { max-width: none !important; width: fit-content; }
  [data-fit-title] > span { display: block; white-space: nowrap; text-align: justify; text-align-last: justify; }
}
/* Empresas · Hub: título em uma linha */
@media (min-width: 720px) { .hub-title1 { white-space: nowrap; font-size: clamp(1.7rem, .9rem + 2.3vw, 3rem); } }
.hubc__head .section-sub[data-fit-title] { margin-top: clamp(12px, 1.8vh, 20px); line-height: 1.6; }
.hubc__head, .hubc__head .section-head__text { max-width: none; width: 100%; }

/* V7.13 · Home: seção "Da Amazônia. Para o mundo!" entre os logos e as Soluções, nas margens e escala das demais seções */
@media (min-width: 1024px) {
  #video > .container { zoom: .85; width: auto; max-width: calc((var(--container) + 48px) / .85); padding-left: calc(24px / .85); padding-right: calc(24px / .85); }
  #video.section { padding-block: clamp(36px, 5.6vh, 64px); }
  #video .vx__video { max-height: none; }
}
#video .vx__grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
#video .video { border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 9; box-shadow: 0 30px 60px -28px rgba(14, 26, 61, .45); }
#video .video video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* V7.14 · Explorador: sem barra de rolagem interna (conteúdo compactado para caber no painel) */
@media (min-width: 900px) {
  .segx__feat-text { overflow: hidden; gap: clamp(8px, 1.5vh, 16px); padding-block: clamp(18px, 2.4vh, 32px); }
  .segx__bullets { gap: clamp(4px, .8vh, 10px); }
  .segx__actions { gap: 8px; }
}

/* V7.15 · Assistente SASI v1: listas, notícias e botões dentro das respostas */
.assistant__dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 3px rgba(61, 220, 132, .25); flex: none; }
.msg p + p, .msg p + .msg__label, .msg__list + p, .msg__news + p { margin-top: .5rem; }
.msg__label { margin-top: .55rem; font-weight: 700; font-size: .78rem; color: var(--sasi-ink); }
.msg__list { margin: .3rem 0 0; padding-left: 1.05rem; display: grid; gap: .2rem; }
.msg__list li::marker { color: var(--sasi-blue); }
.msg__news { list-style: none; margin: .45rem 0 0; padding: 0; display: grid; gap: .45rem; }
.msg__news li { padding: .5rem .6rem; border-radius: 10px; background: #f4f6fb; border: 1px solid var(--sasi-line); display: grid; gap: .15rem; }
.msg__news a { font-weight: 600; line-height: 1.35; color: var(--sasi-blue-deep); text-decoration: none; }
.msg__news a:hover { text-decoration: underline; }
.msg__news small { font-size: .7rem; color: var(--sasi-muted); }
.msg__btn { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .75rem; border-radius: 999px; border: 0; background: #25d366; color: #0b2b16; font-weight: 700; font-size: .78rem; cursor: pointer; }
.msg__btn:hover { filter: brightness(1.05); }
.msg__btn:focus-visible { outline: 3px solid var(--sasi-blue); outline-offset: 2px; }
/* chips em uma linha rolável para sobrar espaço para a conversa */
.assistant__quick { flex-wrap: nowrap; overflow-x: auto; gap: .4rem; padding: .55rem .8rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.assistant__quick .chip { flex: none; min-height: 34px; padding: .3rem .75rem; font-size: .76rem; white-space: nowrap; }
.assistant__note { font-size: .68rem; padding-top: 0; }
.assistant__form { padding-block: .55rem .65rem; }

/* V7.16 · SASI na Mídia: subtítulo justificado na largura do título */
@media (min-width: 720px) { .nxhero__text[data-fit-title] { text-align: justify; } }

/* V7.17 · Sobre nós: mapa 3D (pontos em perspectiva, rotas em arco com hover) */
.about-hero__map { perspective: 1400px; }
.geo { overflow: visible; transform-style: preserve-3d; transform: rotateX(var(--geo-rx, 0deg)) rotateY(var(--geo-ry, 0deg)); transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.geo__d { stroke: #6f86e8; stroke-opacity: calc(.38 + var(--l) * .1); }
.geo__d--hot { stroke: #2b45c8; stroke-opacity: calc(.7 + var(--l) * .05); }
.geo__hit { fill: none; stroke: transparent; stroke-width: 22; pointer-events: stroke; cursor: default; }
.geo__arc { fill: none; stroke: #3e5bd9; stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 7 6; animation: geo-flow 2.6s linear infinite; animation-delay: calc(var(--i) * -.8s); pointer-events: none; transition: stroke .25s, stroke-width .25s; }
.geo__glow { fill: none; stroke: #5a74e6; stroke-width: 9; stroke-linecap: round; opacity: .1; pointer-events: none; transition: opacity .25s, stroke-width .25s; }
@keyframes geo-flow { to { stroke-dashoffset: -26; } }
.geo__tip { opacity: 0; transform-box: fill-box; pointer-events: none; transition: opacity .25s; }
.geo__tip rect { fill: #13204f; }
.geo__tip text { fill: #fff; font-family: var(--font-display, inherit); font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.geo__route:hover .geo__arc { stroke: #2236b5; stroke-width: 3.4; stroke-dasharray: none; }
.geo__route:hover .geo__glow { opacity: .32; stroke-width: 16; }
.geo:has(.geo__route--0:hover) .geo__tip--r0, .geo:has(.geo__route--1:hover) .geo__tip--r1, .geo:has(.geo__route--2:hover) .geo__tip--r2,
.geo:has(.geo__pin--br:hover) .geo__tip--p-br, .geo:has(.geo__pin--ae:hover) .geo__tip--p-ae, .geo:has(.geo__pin--za:hover) .geo__tip--p-za { opacity: 1; }
.geo__badge { cursor: default; transition: transform .25s; }
.geo__pin:hover .geo__ring { fill: rgba(90, 116, 230, .28); }
.geo__routes:hover .geo__route:not(:hover) { opacity: .35; }
.geo__route { transition: opacity .25s; }
.geo__spark { fill: #fff; stroke: #3e5bd9; stroke-width: 1.4; filter: drop-shadow(0 0 4px rgba(62, 91, 217, .9)); pointer-events: none; }
.geo__ring { fill: rgba(90, 116, 230, .14); stroke: #3e5bd9; stroke-width: 1.2; }
.geo__ring--pulse { fill: none; stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: geo-pulse 2.6s ease-out infinite; }
.geo__pin--ae .geo__ring--pulse { animation-delay: .9s; } .geo__pin--za .geo__ring--pulse { animation-delay: 1.8s; }
@keyframes geo-pulse { 0% { opacity: .9; transform: scale(.6); } 100% { opacity: 0; transform: scale(2.2); } }
.geo__beam { stroke: #3e5bd9; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 2 3; opacity: .8; }
.geo__pin > g { filter: drop-shadow(0 6px 10px rgba(19, 32, 79, .25)); }
@media (prefers-reduced-motion: reduce) { .geo__arc, .geo__ring--pulse { animation: none; } .geo__travel { display: none; } .geo { transition: none; transform: none; } }
.geo__grid { fill: none; stroke: #5a74e6; stroke-width: .8; stroke-opacity: .16; }
.geo__dots, .geo__grid { pointer-events: none; }

/* V7.18 · Diretoria e equipe: foto "salta" e cresce no hover */
.director, .member { position: relative; }
.director__photo, .member__photo { position: relative; z-index: 0; transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), box-shadow .35s ease, outline-color .35s ease; outline: 3px solid transparent; outline-offset: 4px; will-change: transform; }
.director__photo img, .member__photo img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.director__name, .member__name { transition: color .25s ease, transform .35s ease; }
@media (hover: hover) {
  .director:hover, .member:hover { z-index: 2; }
  .director:hover .director__photo, .member:hover .member__photo {
    transform: translateY(-8px) scale(1.14);
    box-shadow: 0 22px 34px -14px rgba(34, 54, 181, .45), 0 0 0 6px rgba(90, 116, 230, .14);
    outline-color: rgba(62, 91, 217, .55);
  }
  .director:hover .director__photo img, .member:hover .member__photo img { transform: scale(1.06); }
  .director:hover .director__name, .member:hover .member__name { color: var(--sasi-blue, #2b45c8); transform: translateY(4px); }
}
@media (prefers-reduced-motion: reduce) {
  .director__photo, .member__photo, .director__photo img, .member__photo img, .director__name, .member__name { transition: none; }
  .director:hover .director__photo, .member:hover .member__photo, .director:hover .director__photo img, .member:hover .member__photo img, .director:hover .director__name, .member:hover .member__name { transform: none; }
}

/* V7.19 · Notícias: editorias em pílulas azul-claro, numa linha só */
.nx-filters { display: flex; flex-wrap: nowrap !important; overflow-x: auto !important; gap: 8px; border-bottom: 0; padding: 4px 2px 6px; margin-bottom: var(--space-6); scroll-behavior: smooth; scroll-snap-type: x proximity; }
.nx-filters.is-fade-r { -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 56px), transparent); }
.nx-filters.is-fade-l { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px); mask-image: linear-gradient(90deg, transparent, #000 56px); }
.nx-filters.is-fade-l.is-fade-r { -webkit-mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); mask-image: linear-gradient(90deg, transparent, #000 56px, #000 calc(100% - 56px), transparent); }
.nx-filters .filter { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 7px; min-height: 38px; margin: 0; padding: 0 14px; border: 1px solid #dfe6fb; border-radius: 999px; background: #eef2fd; color: #2a3a78; font-size: .86rem; font-weight: 600; white-space: nowrap; transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.nx-filters .filter:hover { background: #e2e9fc; border-color: #c9d5f7; color: #1c2b66; transform: translateY(-1px); }
.nx-filters .filter[aria-pressed="true"] { background: var(--sasi-blue); border-color: var(--sasi-blue); color: #fff; font-weight: 600; box-shadow: 0 6px 14px -6px rgba(40, 72, 201, .55); }
.nx-filters .filter--video svg { width: 12px; height: 12px; color: #e0352b; }
.nx-filters .filter--video[aria-pressed="true"] svg { color: #fff; }
@media (min-width: 1280px) { .nx-filters { justify-content: space-between; gap: 6px; } .nx-filters .filter { padding: 0 11px; font-size: .82rem; } }
@media (prefers-reduced-motion: reduce) { .nx-filters { scroll-behavior: auto; } .nx-filters .filter:hover { transform: none; } }

/* V7.20 · Sobre nós: prédio da SASI recortado, "saltando" da tela */
.about-hero__building { position: relative; perspective: 1400px; }
.about-hero__building::after { content: ""; position: absolute; left: 12%; right: 10%; bottom: 2%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(19, 32, 79, .22), transparent); filter: blur(6px); z-index: -1; }
.about-hero__img { display: block; width: 100%; height: auto; transform-origin: 50% 70%;
  transform: rotateX(var(--geo-rx, 0deg)) rotateY(var(--geo-ry, 0deg));
  filter: drop-shadow(0 26px 30px rgba(19, 32, 79, .22)) drop-shadow(0 6px 10px rgba(19, 32, 79, .12)) saturate(1.06);
  transition: transform .6s cubic-bezier(.2, .7, .2, 1); animation: building-in .9s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes building-in { from { opacity: 0; transform: translateY(24px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .about-hero__img { animation: none; transition: none; transform: none; } }

/* V7.21 · Sobre nós: subtítulo justificado na largura do título */
@media (min-width: 720px) { .about-hero__copy .page-hero__text { text-align: justify; hyphens: manual; text-wrap: pretty; } }

/* V7.23 · Cidade na Mão: big numbers (padrão da LP, seção "Gerencie e monitore"), detalhes no verde da marca */
.cnm-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 460px; margin-block: var(--space-5) var(--space-2); }
.cnm-stat { display: grid; gap: 4px; margin: 0; padding-top: 14px; border-top: 2px solid #7cc53f; }
.cnm-stat__num { font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 1.6vw, 2.5rem); font-weight: 800; line-height: 1; letter-spacing: -.02em; color: #fff; }
.cnm-stat__num span { color: #7cc53f; }
.cnm-stat__label { font-size: .86rem; line-height: 1.35; color: #b9c6ef; }
/* V7.24 · big numbers: sem linha verde, tudo em branco, legenda maior em duas linhas */
.cnm-stat { padding-top: 0; border-top: 0; gap: 6px; }
.cnm-stat__num span { color: inherit; }
.cnm-stat__label { font-size: 1.02rem; line-height: 1.4; color: #c9d4f5; white-space: nowrap; }

/* V7.26 · CTA "Comece com uma solução": tamanhos alinhados à seção Cidade na Mão */
.cta-band--apps h2.cta-band__title2 { font-size: clamp(1.5rem, 1rem + 1.25vw, 2.25rem); line-height: 1.12; }
.cta-band--apps .cta-band__lead { font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.55; text-wrap: pretty; margin-top: 10px; }
@media (min-width: 720px) { .cta-band--apps .cta-band__lead { text-align: justify; } }

/* V7.27 · Sobre nós: bandeiras dos países abaixo do subtítulo (lado a lado) */
.about-hero__copy .about-flags { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: clamp(16px, 1.6vw, 22px) 0 0; padding: 0; }
.about-flags li { display: block; width: 38px; height: 38px; padding: 3px; border-radius: 50%; background: #fff; box-shadow: 0 6px 14px -8px rgba(19, 32, 79, .45); transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.about-flags__flag { width: 32px; height: 32px; display: block; }
@media (hover: hover) { .about-flags li:hover { transform: translateY(-3px) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .about-flags li { transition: none; } .about-flags li:hover { transform: none; } }

/* V7.28 · Empresas: mesma escala da Home nas seções abaixo do topo (zoom .85, alinhado às margens do cabeçalho) */
@media (min-width: 1024px) {
  .emp-setores > .container, .apb-section > .container, .emp-flow > .container, .hub-section > .container, .emp-cta > .container {
    zoom: .85; width: auto; max-width: calc((var(--container) + 48px) / .85);
    padding-left: calc(24px / .85); padding-right: calc(24px / .85);
  }
  .emp-setores.section, .apb-section.section, .emp-flow.section, .hub-section.section, .emp-cta.section { padding-block: clamp(36px, 5.6vh, 64px); }
}
@media (min-width: 720px) { .hub-title1 { font-size: clamp(1.7rem, .9rem + 2.1vw, 2.75rem); } }
.hubc__head .section-sub { margin-top: clamp(12px, 1.8vh, 20px); font-size: var(--fs-md); line-height: 1.6; text-align: center; margin-inline: auto; }

/* V7.29 · Rodapé: selos das certificações ISO (maiores que os ícones das redes sociais) */
.footer-brand .footer-isos { display: flex; align-items: center; gap: 14px; list-style: none; margin: var(--space-4) 0 0; padding: 0; }
.footer-isos li { width: 64px; height: 64px; flex: none; }
.footer-isos img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .3)); }

/* V7.30 · Empresas: CTA final com mockup (painel web + app) em 3D */
.cta-band--emp { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--space-6); align-items: center; overflow: visible; padding-block: clamp(32px, 4vw, 48px); }
.cta-band--emp::before, .cta-band--emp::after { display: none; }
.cta-band--emp .cta-band__actions { margin-top: var(--space-5); }
.cta-band__mock { position: relative; perspective: 1600px; margin-block: calc(clamp(32px, 4vw, 48px) * -1 - 40px) calc(clamp(32px, 4vw, 48px) * -1 + 8px); }
.cta-band__mock img { display: block; width: 104%; max-width: none; height: auto; margin-left: -6%;
  transform: rotateY(calc(-10deg + var(--geo-ry, 0deg))) rotateX(calc(4deg + var(--geo-rx, 0deg)));
  transform-origin: 50% 60%; transition: transform .6s cubic-bezier(.2, .7, .2, 1);
  filter: drop-shadow(0 24px 30px rgba(8, 16, 60, .35)); animation: mock-float 7s ease-in-out infinite; }
@keyframes mock-float { 50% { translate: 0 -8px; } }
@media (max-width: 860px) {
  .cta-band--emp { grid-template-columns: 1fr; }
  .cta-band__mock { margin-block: 8px calc(clamp(32px, 4vw, 48px) * -1 + 8px); }
  .cta-band__mock img { width: 100%; margin-left: 0; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .cta-band__mock img { animation: none; transition: none; } }
/* V7.31 · Empresas CTA: mesma proporção do CTA da Home (título em 2 linhas, subtítulo justificado) */
.cta-band--emp h2.cta-band__title2 { max-width: none; width: fit-content; font-size: clamp(1.5rem, 1rem + 1.25vw, 2.25rem); line-height: 1.12; letter-spacing: -.02em; }
.cta-band--emp .cta-band__lead { font-size: clamp(.95rem, .9rem + .2vw, 1.05rem); line-height: 1.55; margin-top: 10px; text-wrap: pretty; }
@media (min-width: 720px) { .cta-band--emp .cta-band__lead { text-align: justify; } }

/* V7.32 · Empresas "Tudo acontece em um fluxo conectado": título em uma linha, subtítulo em duas */
.emp-flow .section-head__text { max-width: none; }
@media (min-width: 720px) {
  #fluxo-title { white-space: nowrap; max-width: none; }
  #fluxo-title + .section-sub { text-wrap: balance; margin-inline: auto; }
}

/* =========================================================
   V8 · Página Empresas: paleta setor privado (cinza chumbo, vermelho SASI, branco)
   ========================================================= */
.page-emp, body:has(.page-emp) {
  --sasi-blue: #231f20; --sasi-blue-deep: #14181f; --sasi-blue-light: #4a4446;
  --sasi-navy: #1b1819; --sasi-ink: #14181f; --sasi-muted: #575d69; --sasi-line: #e4e5e8;
  --sasi-bg-soft: #f4f4f5; --sasi-tint: #eeeff1; --sasi-on-dark-muted: #b9bcc3;
  --emp-red: #eb2127; --emp-red-text: #c8161d; --emp-chumbo: #231f20; --emp-chumbo-2: #2e2a2b;
}
.page-emp .eyebrow { color: var(--emp-red-text); }
.page-emp .btn--primary { background: var(--emp-chumbo); }
.page-emp .btn--primary:hover { background: #000; }
.page-emp .link-underline, .page-emp .link-arrow { color: var(--emp-chumbo); }

/* ---------- Topo ---------- */
.hx--emp { background: radial-gradient(55% 70% at 100% 10%, rgba(35, 31, 32, .10), rgba(35, 31, 32, 0) 70%), linear-gradient(100deg, #fbfbfb 0%, #f2f3f4 48%, #dedfe3 100%) !important; }
.hx--emp .hx__title--gov > span:first-child { color: var(--sasi-ink); }
.hx--emp .hx__title-2 { color: var(--emp-red); }
.hx--emp .hx__text { color: #4a4f5a; }
.hx--emp .hx-big li::before { background: linear-gradient(180deg, var(--emp-red), #ff6a5e); }
.hx--emp .hx-big__num { background: none; color: var(--sasi-ink); -webkit-background-clip: border-box; background-clip: border-box; }
.hx--emp .hx-big__label { color: #575d69; }
.hx--emp .hx-seals--gov { border-left-color: #d9dade; }
.hx--emp .hx-seals figcaption { color: #575d69; }

.emv { position: relative; height: clamp(360px, calc(100svh - var(--header-h) - 150px), 540px); }
.emv-dash { position: absolute; right: 0; top: 2%; width: 90%; aspect-ratio: 1.5; container-type: inline-size;
  display: grid; grid-template-columns: 19% 1fr; border-radius: 16px; overflow: hidden; background: #fff;
  border: 1px solid #e2e3e6; box-shadow: 0 40px 80px -30px rgba(20, 24, 31, .45), 0 10px 24px -12px rgba(20, 24, 31, .18); }
.emv-side, .emv-main { font-size: 1.5cqw; color: #14181f; }
.emv-side { background: #f6f6f7; border-right: 1px solid #e8e9ec; padding: 1.4em .9em; }
.emv-brand { display: flex; gap: .6em; align-items: center; margin: 0 0 1.4em; }
.emv-brand__ic { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: .6em; background: var(--emp-chumbo); color: #fff; flex: none; }
.emv-brand__ic .ei { width: 1.3em; height: 1.3em; }
.emv-brand b { display: block; font-size: .95em; }
.emv-brand small { display: block; font-size: .7em; color: #5f6571; line-height: 1.2; }
.emv-side ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25em; }
.emv-side li { display: flex; align-items: center; gap: .6em; padding: .55em .6em; border-radius: .5em; font-size: .85em; color: #4b5260; }
.emv-side li .ei { width: 1.2em; height: 1.2em; flex: none; }
.emv-side li.is-on { background: #fff; color: #14181f; font-weight: 700; box-shadow: 0 1px 2px rgba(0,0,0,.06), inset 3px 0 0 var(--emp-red); }
.emv-main { padding: 1.3em 1.4em; display: grid; gap: .9em; align-content: start; background: #fbfbfb; }
.emv-head { display: flex; align-items: center; gap: .6em; }
.emv-head p { margin: 0 auto 0 0; }
.emv-head b { display: block; font-size: 1.25em; letter-spacing: -.01em; }
.emv-head small { font-size: .75em; color: #5f6571; }
.emv-pill { display: inline-flex; align-items: center; gap: .4em; padding: .45em .8em; border-radius: 999px; border: 1px solid #e2e3e6; background: #fff; font-size: .72em; font-weight: 600; white-space: nowrap; }
.emv-pill--red { background: #e01f26; border-color: #e01f26; color: #fff; }
.emv-pill .ei { width: 1.1em; height: 1.1em; }
.emv-k { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .6em; }
.emv-k li { background: #fff; border: 1px solid #ececef; border-radius: .7em; padding: .7em .8em; border-top: 2px solid #2b2728; }
.emv-k li.is-red { border-top-color: var(--emp-red); }
.emv-k__l { display: block; font-size: .68em; color: #5f6571; }
.emv-k b { display: inline-block; font-size: 1.55em; letter-spacing: -.02em; margin-top: .15em; font-variant-numeric: tabular-nums; transition: color .3s; }
.emv-k b.is-tick { color: var(--emp-red); }
.emv-k small { font-size: .62em; color: #646a75; margin-left: .35em; }
.emv-k li.is-red small { color: var(--emp-red-text); font-weight: 600; }
.emv-row { display: grid; grid-template-columns: 1fr 1fr; gap: .6em; }
.emv-card { background: #fff; border: 1px solid #ececef; border-radius: .7em; padding: .75em .85em; min-width: 0; overflow: hidden; }
.emv-card__h { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 .5em; }
.emv-card__h b { font-size: .8em; }
.emv-card__h small { font-size: .62em; color: #646a75; display: inline-flex; align-items: center; gap: .35em; }
.emv-live { width: .55em; height: .55em; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); animation: emv-live 1.8s infinite; }
@keyframes emv-live { 70% { box-shadow: 0 0 0 .5em rgba(34, 197, 94, 0); } }
.emv-act ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45em; height: 9.6em; overflow: hidden; }
.emv-act li { display: grid; grid-template-columns: 1.7em 1fr auto; align-items: center; gap: .5em; font-size: .7em; }
.emv-act li.is-new { animation: emv-in .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes emv-in { from { opacity: 0; transform: translateY(-60%); } }
.emv-act li > .ei { width: 1.7em; height: 1.7em; padding: .35em; border-radius: .5em; background: #f1f2f4; color: #2b2728; }
.emv-act li b { display: block; font-size: 1em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.emv-act li small { display: block; font-size: .85em; color: #646a75; }
.emv-act em { font-style: normal; font-size: .82em; font-weight: 700; padding: .2em .6em; border-radius: 999px; }
.t-red { background: #fde8e8; color: #b4141a; } .t-amber { background: #fff3dc; color: #8a5a00; } .t-green { background: #e3f6ea; color: #157a3c; } .t-gray { background: #eeeff1; color: #4b5260; }
.emv-map svg { display: block; width: 100%; height: 9.6em; border-radius: .5em; background: #f4f5f6; }
.emv-map__grid path { stroke: #e3e4e7; stroke-width: 1; fill: none; }
.emv-map__road { stroke: #d6d8dc; stroke-width: 6; fill: none; stroke-linecap: round; }
.emv-map__route { fill: none; stroke: var(--emp-chumbo); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 260; animation: emv-route 6s ease-in-out infinite; }
@keyframes emv-route { 0% { stroke-dashoffset: 260; } 55%, 100% { stroke-dashoffset: 0; } }
.emv-map__car { fill: #fff; stroke: var(--emp-chumbo); stroke-width: 2; }
.emv-map__pins circle { fill: var(--emp-chumbo); stroke: #fff; stroke-width: 1.6; }
.emv-map__pins circle.is-alert { fill: var(--emp-red); }
.emv-map__ping { fill: none; stroke: var(--emp-red); stroke-width: 1.6; transform-box: fill-box; transform-origin: center; animation: emv-ping 1.8s ease-out infinite; }
@keyframes emv-ping { from { opacity: .9; transform: scale(1); } to { opacity: 0; transform: scale(3.2); } }
.emv-cov ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55em; }
.emv-cov li { display: grid; grid-template-columns: 6.5em 1fr 2.6em; align-items: center; gap: .5em; font-size: .68em; color: #4b5260; }
.emv-cov li b { text-align: right; color: #14181f; }
.emv-cov i { display: block; height: .5em; border-radius: 999px; background: #eeeff1; overflow: hidden; }
.emv-cov s { display: block; height: 100%; width: var(--v); border-radius: inherit; background: var(--emp-chumbo); transform-origin: left; animation: emv-cov 5s ease-in-out infinite alternate; }
.emv-cov li:last-child s { background: #f0a51c; }
@keyframes emv-cov { 0% { transform: scaleX(.86); } 100% { transform: scaleX(1); } }
.emv-bars__g { height: 6.2em; display: flex; align-items: flex-end; gap: .45em; padding-top: .3em; }
.emv-bars__g i { flex: 1; height: var(--h); border-radius: .3em .3em 0 0; background: #d9dbe0; transform-origin: bottom; animation: emv-bar 3.2s ease-in-out infinite alternate; animation-delay: var(--d); }
.emv-bars__g i:last-child { background: var(--emp-red); }
@keyframes emv-bar { 0% { transform: scaleY(.55); } 100% { transform: scaleY(1); } }
.emv-phone { --phx-w: auto; position: absolute; left: 0; bottom: 0; height: 86%; width: auto; z-index: 2; filter: drop-shadow(0 28px 36px rgba(20, 24, 31, .35)); animation: emv-float 7s ease-in-out infinite; }
@keyframes emv-float { 50% { translate: 0 -8px; } }
@media (min-width: 1280px) { .hx--emp .emv { margin-right: calc(clamp(0px, (100vw - 1200px) / 2 - 40px, 64px) * -1); } }
@media (max-width: 1023px) { .emv { height: 440px; max-width: 680px; margin-inline: auto; width: 100%; } }
@media (max-width: 559px) { .emv { height: 330px; } .emv-dash { width: 94%; } .emv-phone { height: 80%; } }
@media (max-width: 1023px) { .hx--emp { background: linear-gradient(180deg, #ffffff 0%, #f6f6f7 45%, #e2e3e6 100%) !important; } }
@media (prefers-reduced-motion: reduce) {
  .emv *, .emv-phone { animation: none !important; }
  .emv-map__route { stroke-dashoffset: 0; } .emv-map__car { display: none; }
}

/* ---------- Seção interativa: Personalize seu aplicativo ---------- */
.apb-section { background: #fff; }
.apb { --brand: #e01f26; --brand-on: #fff; display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 48px); align-items: center; margin-top: var(--space-6); }
.apb-form { display: grid; gap: 14px; }
.apb-step { position: relative; margin: 0; padding: 18px 20px; border: 1px solid #e4e5e8; border-radius: 18px; background: #f7f7f8; min-width: 0; }
.apb-step--1 { background: #fff; border: 1.5px solid color-mix(in srgb, var(--brand) 55%, #fff); box-shadow: 0 10px 30px -18px color-mix(in srgb, var(--brand) 60%, transparent); padding-top: 22px; }
.apb-start { position: absolute; top: -12px; left: 18px; padding: 3px 12px; border-radius: 999px; background: var(--brand); color: var(--brand-on); font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.apb-step__h { float: left; display: flex; align-items: center; gap: 10px; padding: 0; margin: 0 0 12px; font-family: var(--font-display); font-weight: 700; font-size: .98rem; color: var(--sasi-ink); }
.apb-step__h small { font-family: var(--font-body); font-weight: 500; font-size: .8rem; color: #5f6571; }
.apb-step__h + * { clear: both; }
.apb-n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--emp-chumbo); color: #fff; font-size: .78rem; flex: none; }
.apb-step--1 .apb-n { background: var(--brand); color: var(--brand-on); }
.apb-step__tools { position: absolute; top: 18px; right: 18px; display: flex; gap: 14px; }
.apb-link { background: none; border: 0; padding: 4px 0; font: inherit; font-size: .85rem; font-weight: 600; color: var(--emp-chumbo); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: #c9cbd0; }
.apb-link:hover { text-decoration-color: currentColor; }
.apb-chips { clear: both; list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.apb-chip { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; padding: 0 12px; border-radius: 999px; border: 1px solid #dcdee2; background: #fff; font: inherit; font-size: .85rem; font-weight: 600; color: #3a3f4a; cursor: pointer; transition: border-color .2s, background .2s, color .2s, transform .15s; }
.apb-chip .ei { width: 15px; height: 15px; flex: none; }
.apb-chip__st::before { content: "+"; font-weight: 700; color: #646a75; }
.apb-chip[aria-pressed="true"] { border-color: color-mix(in srgb, var(--brand) 70%, #fff); background: color-mix(in srgb, var(--brand) 9%, #fff); color: var(--sasi-ink); }
.apb-chip[aria-pressed="true"] .ei { color: var(--brand); }
.apb-chip[aria-pressed="true"] .apb-chip__st::before { content: "✓"; color: var(--brand); }
.apb-chip:hover { transform: translateY(-1px); border-color: #b9bcc3; }
.apb-chip:active { transform: scale(.97); }
.apb-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.apb-input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid #d6d8dc; border-radius: 12px; background: #fff; font: inherit; font-size: .95rem; color: var(--sasi-ink); }
.apb-input:focus { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 1px; border-color: var(--brand); }
.apb-logo-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.apb-btn-ghost { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 1px solid #d6d8dc; border-radius: 12px; background: #fff; font: inherit; font-size: .88rem; font-weight: 600; color: var(--emp-chumbo); cursor: pointer; }
.apb-btn-ghost .ei { width: 16px; height: 16px; }
.apb-btn-ghost:hover, .apb-btn-ghost[aria-pressed="true"] { border-color: var(--emp-chumbo); background: #f1f2f4; }
#apb-file:focus-visible + .apb-btn-ghost, .apb-logo-btns label:has(+ #apb-file:focus-visible) { outline: 3px solid var(--sasi-blue); outline-offset: 2px; }
.apb-sws { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.apb-sw { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--c); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .15s; }
.apb-sw:hover { transform: scale(1.08); }
.apb-sw[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--c); }
.apb-custom { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 6px; border: 1px solid #d6d8dc; border-radius: 999px; background: #fff; font-size: .8rem; font-weight: 600; color: #3a3f4a; cursor: pointer; }
.apb-custom input { width: 22px; height: 22px; padding: 0; border: 0; border-radius: 6px; background: none; cursor: pointer; }
.apb-custom.is-on { border-color: var(--brand); box-shadow: 0 0 0 2px color-mix(in srgb, var(--brand) 25%, transparent); }
.apb-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.apb-hint { margin: 0; font-size: .78rem; color: #5f6571; }
.apb-preview { display: grid; justify-items: center; gap: 14px; }
.apb-live { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: 999px; background: #f4f4f5; border: 1px solid #e4e5e8; font-size: .78rem; color: #4b5260; }
.apb-live i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; animation: emv-live 1.8s infinite; }
.apb-phone { --phx-w: min(320px, 100%); container-type: inline-size; }
.apb-screen { background: #fff; display: flex; flex-direction: column; font-size: 5.4cqw; }
.apb-status { display: flex; justify-content: space-between; padding: 5.5% 9% 0; font-size: .78em; font-weight: 700; color: #14181f; }
.apb-top { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .6em; padding: 1.4em 1.1em 1em; }
.apb-menu { width: 1.4em; height: 1.4em; color: #4b5260; }
.apb-brand { display: flex; align-items: center; justify-content: center; gap: .55em; margin-right: 1.4em; min-width: 0; }
.apb-logo { display: grid; place-items: center; width: 2.6em; height: 2.6em; flex: none; border-radius: .6em; border: 1.5px dashed #b9bcc3; font-size: .62em; font-weight: 800; letter-spacing: .04em; color: #646a75; overflow: hidden; background: #fff; }
.apb-logo.is-img { border: 0; background: transparent; }
.apb-logo.is-img img { width: 100%; height: 100%; object-fit: contain; }
.apb-logo.is-ini { border: 0; border-radius: 50%; background: var(--brand); color: var(--brand-on); font-size: .95em; width: 2.6em; height: 2.6em; }
.apb-bname { font-family: var(--font-display); font-size: 1.05em; line-height: 1.05; text-transform: uppercase; color: #2b2f38; word-break: break-word; min-width: 0; }
.apb-bname b { display: block; font-weight: 800; }
.apb-list { list-style: none; margin: 0; padding: 0 .9em; display: grid; gap: .55em; overflow: hidden; flex: 1; align-content: start; }
.apb-list li { display: flex; align-items: center; gap: .75em; min-height: 3.1em; padding: .4em 1em; border-radius: .6em; background: #eceef2; color: #3a4150; font-size: .82em; font-weight: 600; line-height: 1.2; }
.apb-list li .ei { width: 1.45em; height: 1.45em; flex: none; color: var(--brand); }
.apb-list li.is-sos { background: var(--brand); color: var(--brand-on); }
.apb-list li.is-sos .ei { color: var(--brand-on); }
.apb-list li.is-new { animation: apb-pop .45s cubic-bezier(.2,.8,.2,1) both; }
@keyframes apb-pop { from { opacity: 0; transform: translateX(-12%) scale(.96); } }
.apb-empty { padding: 1em; text-align: center; color: #646a75; font-size: .8em; }
.apb-home { width: 36%; height: 1.2%; min-height: 4px; margin: .8em auto 4.5%; border-radius: 999px; background: #1b1b1f; }
@media (max-width: 1023px) { .apb { grid-template-columns: 1fr; } .apb-preview { order: -1; } }
@media (max-width: 619px) {
  .apb-grid2 { grid-template-columns: 1fr; }
  .apb-step__tools { position: static; margin: -4px 0 10px; clear: both; }
  .apb-sws { margin-left: 0; }
  .apb-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) { .apb-list li.is-new, .apb-chip { animation: none; transition: none; } }

/* ---------- Demais seções em chumbo ---------- */
.page-emp .hub-section { background: radial-gradient(55% 60% at 50% 62%, rgba(235, 33, 39, .14), rgba(20, 18, 19, 0) 70%), radial-gradient(40% 50% at 12% 10%, rgba(255, 255, 255, .06), rgba(20, 18, 19, 0) 70%), linear-gradient(180deg, #1b1819 0%, #231f20 55%, #171415 100%); }
.page-emp .hub-section::before { background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .16) 1px, transparent 1.6px); }
.page-emp .hub-section::after { background: conic-gradient(from 0deg, rgba(235, 33, 39, 0) 0deg, rgba(235, 33, 39, .08) 40deg, rgba(235, 33, 39, 0) 90deg, rgba(255, 255, 255, .05) 200deg, rgba(255, 255, 255, 0) 260deg, rgba(235, 33, 39, 0) 360deg); }
.page-emp .hub-section .section-sub, .page-emp .hub-section .hub__brand { color: #c9ccd2; }
.page-emp .hub-section .hub__brand b { text-shadow: 0 0 14px rgba(235, 33, 39, .45); }
.page-emp .hub-section .hub__brand strong { color: #ff8a84; }
.page-emp .hub-section .hub__halo { background: radial-gradient(circle, rgba(235, 33, 39, .35) 0%, rgba(235, 33, 39, .12) 40%, rgba(235, 33, 39, 0) 68%); }
.page-emp .cta-band { background: radial-gradient(70% 120% at 100% 0%, rgba(235, 33, 39, .22), rgba(35, 31, 32, 0) 60%), linear-gradient(120deg, #171415, #231f20 55%, #2e2a2b); }
.page-emp .cta-band .btn--white { color: var(--emp-chumbo); }
.page-emp .trust .icon-tile { background: #f1f2f4; color: var(--emp-chumbo); }
.page-emp .setor .card__title { color: var(--sasi-ink); }
/* V8.1 · ajustes do topo Empresas */
@media (min-width: 1024px) {
  .hx--emp { --hx-t: clamp(1.84rem, 3.37vw, 2.61rem); }
}
.hx--emp .hx__title--gov > span { text-align: left; text-align-last: auto; letter-spacing: -.02em !important; }
.hx--emp .emv-dash { width: 94%; top: 4%; }
@media (min-width: 1280px) { .hx--emp .emv { margin-right: 0; } }
.hx--emp .emv-dash { width: 84%; }
@media (max-width: 559px) {
  .hx--emp .hx__title--gov { font-size: clamp(1.4rem, 6.4vw, 2.1rem) !important; }
  .hx--emp .emv-dash { width: 88%; }
}
@media (min-width: 720px) { #apb-title { white-space: nowrap; } .apb-section .section-head__text { max-width: none; } #apb-title + .section-sub { margin-inline: auto; text-wrap: balance; } }
/* V8.2 · celular realista (mockup com a tela do app) */
.emv-phone--img { display: block; height: 90%; width: auto; max-width: none; bottom: -1%; filter: drop-shadow(0 30px 34px rgba(20, 24, 31, .38)) drop-shadow(0 6px 10px rgba(20, 24, 31, .18)); }
/* V8.3 · prévia do construtor: celular mais curto, cabeçalho da marca maior, botões no padrão das telas das soluções */
.apb-phone { --phx-w: min(300px, 100%); aspect-ratio: 9 / 17.2; }
.apb-top { padding: 1.5em 1em 1.3em; gap: .5em; border-bottom: 1px solid #eef0f3; margin-bottom: .9em; }
.apb-brand { gap: .7em; }
.apb-logo { width: 4.2em; height: 4.2em; border-radius: .9em; font-size: .62em; }
.apb-logo.is-ini { width: 3.4em; height: 3.4em; font-size: 1.05em; }
.apb-logo.is-img { width: 3.6em; height: 3.6em; font-size: 1em; }
.apb-bname { font-size: 1.25em; }
.apb-list { gap: .65em; padding: 0 1em; }
.apb-list li { min-height: 4.3em; padding: .6em 1.1em; border-radius: .7em; font-size: .86em; gap: 1em; }
.apb-list li .ei { width: 1.7em; height: 1.7em; }

/* V8.4 · topo Empresas com o mesmo tamanho e proporção do palco da Home (foto 74% x 86% à direita, celular à esquerda) */
.hx--emp .emv { height: 480px; margin-right: 0 !important; }
@media (min-width: 1024px) { .hx--emp .emv { height: clamp(310px, calc((100svh - var(--header-h) - 120px) * .8), 480px); } }
@media (max-width: 1023px) { .hx--emp .emv { height: 380px; max-width: 640px; } }
@media (max-width: 559px) { .hx--emp .emv { height: 330px; } }
.hx--emp .emv-dash { top: 0; right: 0; width: 74% !important; height: 86%; aspect-ratio: auto; grid-template-columns: 13% 1fr; border-radius: 28px; box-shadow: 0 30px 60px -24px rgba(20, 24, 31, .45); }
.hx--emp .emv-side { padding: 1.3em .55em; display: grid; justify-items: center; align-content: start; }
.hx--emp .emv-brand { justify-content: center; }
.hx--emp .emv-brand > span:last-child, .hx--emp .emv-side li span { display: none; }
.hx--emp .emv-side li { justify-content: center; padding: .6em; }
.hx--emp .emv-side li.is-on { box-shadow: 0 1px 2px rgba(0,0,0,.06), inset 0 -2px 0 var(--emp-red); }
.hx--emp .emv-side, .hx--emp .emv-main { font-size: 2.05cqw; }
.hx--emp .emv-main { padding: 1.4em 1.2em 1.2em; gap: .8em; }
.hx--emp .emv-head .emv-pill:not(.emv-pill--red) { display: none; }
.hx--emp .emv-k { grid-template-columns: repeat(2, 1fr); }
.hx--emp .emv-k b { font-size: 1.45em; }
.hx--emp .emv-act ul, .hx--emp .emv-map svg { height: 9.2em; }
.hx--emp .emv-phone--img { left: 0; bottom: 0; height: 90%; }
/* V8.5 · Empresas: etiqueta que troca automaticamente (como os setores da Home), em vermelho, chumbo e branco */
.emv-tag { position: absolute; z-index: 3; right: 26px; top: calc(86% - 26px); margin: 0; display: inline-flex; align-items: center; gap: 11px; height: 52px; padding: 0 22px 0 17px; border-radius: 999px;
  font-family: var(--font-display); font-size: 1.08rem; font-weight: 700; white-space: nowrap;
  background: var(--tag-bg, #fff); color: var(--tag-fg, #14181f); border: 1px solid var(--tag-bd, #e4e5e8);
  box-shadow: 0 18px 34px -12px rgba(20, 24, 31, .5), 0 2px 6px rgba(20, 24, 31, .12); transition: background .45s, color .45s, border-color .45s; }
.emv-tag i { width: 11px; height: 11px; border-radius: 50%; background: var(--tag-dot, #e01f26); box-shadow: 0 0 0 4px color-mix(in srgb, var(--tag-dot, #e01f26) 22%, transparent); transition: background .45s; }
.emv-tag span { display: inline-block; transition: opacity .3s, transform .3s; }
.emv-tag.is-out span { opacity: 0; transform: translateY(6px); }
.emv-tag[data-tone="red"] { --tag-bg: #e01f26; --tag-fg: #fff; --tag-bd: #e01f26; --tag-dot: #fff; }
.emv-tag[data-tone="dark"] { --tag-bg: #231f20; --tag-fg: #fff; --tag-bd: #231f20; --tag-dot: #e01f26; }
.emv-tag[data-tone="light"] { --tag-bg: #fff; --tag-fg: #14181f; --tag-bd: #e4e5e8; --tag-dot: #e01f26; }
.emv-tag[data-tone="gray"] { --tag-bg: #eeeff1; --tag-fg: #231f20; --tag-bd: #dcdee2; --tag-dot: #575d69; }
@media (max-width: 1279px) { .emv-tag { height: 44px; font-size: .95rem; padding: 0 18px 0 14px; right: 18px; top: calc(86% - 22px); } }
@media (max-width: 559px) { .emv-tag { height: 38px; font-size: .84rem; top: calc(86% + 8px); right: 0; } }
@media (prefers-reduced-motion: reduce) { .emv-tag, .emv-tag span, .emv-tag i { transition: none; } }
/* V8.6 · painel "Visão geral das operações" dentro do mockup de monitor */
.hx--emp .emv-mon { position: absolute; right: 0; top: 2%; width: 82%; filter: drop-shadow(0 30px 40px rgba(20, 24, 31, .28)); }
.emv-mon__img { display: block; width: 100%; height: auto; }
.hx--emp .emv-mon .emv-dash { position: absolute; left: .78%; top: 1.05%; width: 98.5% !important; height: 77.95%; right: auto; aspect-ratio: auto;
  border: 0; border-radius: 3px; box-shadow: none; grid-template-columns: 17% 1fr; }
.hx--emp .emv-mon .emv-side, .hx--emp .emv-mon .emv-main { font-size: 1.62cqw; }
.hx--emp .emv-mon .emv-side { padding: 1.2em .7em; display: block; }
.hx--emp .emv-mon .emv-brand { justify-content: flex-start; margin-bottom: 1.1em; }
.hx--emp .emv-mon .emv-brand > span:last-child, .hx--emp .emv-mon .emv-side li span { display: block; }
.hx--emp .emv-mon .emv-side li { justify-content: flex-start; padding: .5em .55em; }
.hx--emp .emv-mon .emv-side li.is-on { box-shadow: 0 1px 2px rgba(0,0,0,.06), inset 3px 0 0 var(--emp-red); }
.hx--emp .emv-mon .emv-main { padding: 1em 1.1em; gap: .7em; }
.hx--emp .emv-mon .emv-head .emv-pill:not(.emv-pill--red) { display: inline-flex; }
.hx--emp .emv-mon .emv-k { grid-template-columns: repeat(4, 1fr); }
.hx--emp .emv-mon .emv-act ul, .hx--emp .emv-mon .emv-map svg { height: 8.2em; }
.hx--emp .emv-mon .emv-bars__g { height: 5em; }
.hx--emp .emv-tag { top: calc(62% - 26px); }
@media (max-width: 1279px) { .hx--emp .emv-tag { top: calc(62% - 22px); } }
@media (max-width: 559px) { .hx--emp .emv-mon { width: 86%; } .hx--emp .emv-tag { top: calc(64% + 4px); } }
.hx--emp .emv-mon { width: 90%; top: 7%; }
.hx--emp .emv-phone--img { height: 84%; }
.hx--emp .emv-mon .emv-tag { top: calc(79% - 26px); right: 14px; }
@media (max-width: 1279px) { .hx--emp .emv-mon .emv-tag { top: calc(79% - 22px); } }
@media (max-width: 559px) { .hx--emp .emv-mon .emv-tag { top: calc(79% - 19px); right: 6px; } }
/* V8.7 · celular menor e levemente inclinado para a esquerda, cobrindo menos o monitor */
.hx--emp .emv-phone--img { height: 72%; left: -3%; bottom: 1%; rotate: -7deg; transform-origin: 50% 100%; }
@media (max-width: 1023px) { .hx--emp .emv-phone--img { left: 0; } }
@media (prefers-reduced-motion: reduce) { .hx--emp .emv-phone--img { rotate: -7deg; } }
@media (max-width: 559px) { .hx--emp .emv-phone--img { left: 4%; height: 70%; } }
/* V8.8 · "Crie o seu próprio aplicativo": título dentro da grade; topo do celular na linha do título */
.apb { margin-top: 0; }
.apb-head { margin: 0; }
@media (min-width: 1024px) {
  .apb { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); grid-template-areas: "head preview" "form preview"; align-items: start; row-gap: var(--space-5); }
  .apb-head { grid-area: head; }
  .apb-form { grid-area: form; }
  .apb-preview { grid-area: preview; align-self: start; margin-top: var(--apb-title-y, 31px); }
}
@media (max-width: 1023px) { .apb-head { order: -2; margin-bottom: var(--space-2); } .apb-preview { order: -1; } }
/* V8.9 · Em construção: "Retornar" como link simples, sem balão */
.wip__badge { padding: 0; min-height: 44px; border: 0; border-radius: 0; background: none; font-size: var(--fs-sm); color: var(--sasi-ink); }
.wip__badge svg { width: 18px; height: 18px; color: var(--sasi-blue); }
.wip__badge:hover { color: var(--sasi-blue); }

/* V9 · Ajustes mobile (revisão geral) */
@media (max-width: 767px) {
  /* Home · "Da Amazônia. Para o mundo!": uma coluna, vídeo largo abaixo do texto */
  #video .vx__grid { grid-template-columns: 1fr !important; gap: var(--space-5); }
  #video .video { border-radius: 16px; }
  /* Empresas · construtor de app: prévia do celular mais compacta */
  .apb-phone { --phx-w: min(250px, 72vw); }
  .apb-live { font-size: .74rem; text-align: center; }
  .apb-step { padding: 16px 14px; }
  .apb-step--1 { padding-top: 22px; }
  .apb-chip { font-size: .82rem; min-height: 38px; }
  .apb-sws { gap: 8px; }
  .apb-sw { width: 34px; height: 34px; }
  .apb-actions .btn { width: 100%; }
  /* Empresas · CTA final com mockup: um pouco mais de respiro */
  .cta-band--emp { padding-bottom: 0; }
}
@media (max-width: 380px) {
  .hx--emp .hx__title--gov { font-size: 1.32rem !important; }
}

/* Departamento com muitas soluções (8 ou mais): balões um pouco menores para a lista caber sem barra de rolagem */
@media (min-width: 1024px) {
  .segx__col--sol:has(.segx__sols > li:nth-child(8)) { padding-block: 8px; }
  .segx__sols:has(> li:nth-child(8)) { gap: 4px; }
  .segx__sols:has(> li:nth-child(8)) .segx__sol { padding: 5px 10px; }
  .segx__sols:has(> li:nth-child(8)) .segx__ico { width: 30px; height: 30px; border-radius: 9px; }
  .segx__sols:has(> li:nth-child(8)) .segx__ico svg { width: 16px; height: 16px; }
  .segx__sols:has(> li:nth-child(8)) .segx__sol-text strong { font-size: .84rem; line-height: 1.15; }
}
