/* =========================================================
   Base visual do site da Associação PanAmazônia.
   Derivada do design system do site SASI (mesma estrutura de
   componentes), com a paleta trocada do azul SASI para o verde
   da identidade PanAmazônia (#477d05). Ajustes específicos do
   site ficam em panamazonia.css — evite editar este arquivo.
   ========================================================= */

/* =========================================================
   SASI Brasil — Design tokens (Home V1)
   Layout: faixas horizontais de largura total, conteúdo em
   container de 1200px; cards arredondados como no sasi.io.
   Paleta amostrada dos prints oficiais do sasi.io.
   Tema único claro (como o site internacional), por decisão.
   ========================================================= */
:root {
  /* Cor */
  --sasi-blue: #477d05;        /* botões e links (CONTACT US do sasi.io) */
  --sasi-blue-deep: #376104;   /* hover / títulos em degradê */
  --sasi-blue-light: #6fa82a;  /* fim do degradê dos títulos */
  --sasi-navy: #0f2a14;        /* rodapé e cards escuros */
  --sasi-ink: #14251a;         /* texto principal */
  --sasi-muted: #56604f;       /* texto secundário (contraste AA em branco) */
  --sasi-line: #e3e9dc;        /* bordas e divisórias */
  --sasi-surface: #ffffff;     /* fundo de cards */
  --sasi-bg: #ffffff;          /* fundo da página */
  --sasi-bg-soft: #f6f8f2;     /* faixas alternadas */
  --sasi-tint: #eef5e3;        /* fundos de ícones e placeholders */
  --sasi-red: #da3832;         /* acento pontual (marcador de endereço) */
  --sasi-star: #f5a623;        /* estrela da avaliação */
  --sasi-on-dark: #ffffff;
  --sasi-on-dark-muted: #c4ccbb;

  /* Tipografia */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --fs-xs: .8125rem;   /* 13 */
  --fs-sm: .9375rem;   /* 15 */
  --fs-md: 1.0625rem;  /* 17 */
  --fs-lg: 1.25rem;    /* 20 */
  --fs-xl: clamp(1.5rem, 1.1rem + 1.4vw, 2rem);
  --fs-2xl: clamp(1.875rem, 1.2rem + 2.4vw, 2.75rem);
  --fs-hero: clamp(2.25rem, 1.3rem + 3.6vw, 3.75rem);

  /* Espaço, raio, sombra */
  --space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem;
  --space-5: 1.5rem; --space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; --space-9: 6rem;
  --radius-sm: 8px; --radius-md: 14px; --radius-lg: 22px; --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(40, 61, 14, .06), 0 2px 8px rgba(40, 61, 14, .05);
  --shadow-md: 0 8px 28px rgba(40, 61, 14, .10);
  --shadow-btn: 0 6px 18px rgba(129, 201, 40, .28);

  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* =========================================================
   Base: reset leve, tipografia, utilitários, acessibilidade
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--sasi-bg);
  color: var(--sasi-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--sasi-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--sasi-ink); line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }

/* Foco visível em todos os elementos interativos (WCAG 2.4.7 / 2.4.11) */
:focus-visible { outline: 3px solid var(--sasi-blue); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: #ffffff; }

/* Link "pular para o conteúdo" */
.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--sasi-navy); color: #fff; padding: 12px 18px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Container com gutter seguro */
.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .container { padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
}

.section { padding-block: var(--space-8); }
.section--soft { background: var(--sasi-bg-soft); }
@media (max-width: 719px) { .section { padding-block: var(--space-7); } }

/* Faixa acima do cabeçalho sticky em telas com notch */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 110; background: var(--sasi-surface);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* =========================================================
   Componentes reutilizáveis (Home + Governo)
   ========================================================= */

/* ---------- Botões ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 0 1.5rem; border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  letter-spacing: .02em; text-decoration: none; cursor: pointer; border: 2px solid transparent;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }
.btn--primary { background: var(--sasi-blue); color: #fff; box-shadow: var(--shadow-btn); }
.btn--primary:hover { background: var(--sasi-blue-deep); transform: translateY(-1px); }
.btn--outline { background: transparent; color: var(--sasi-blue); border-color: var(--sasi-blue); }
.btn--outline:hover { background: var(--sasi-tint); }
.btn--white { background: #fff; color: var(--sasi-blue); }
.btn--white:hover { background: var(--sasi-tint); }
.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }
.btn--caps { text-transform: uppercase; letter-spacing: .06em; font-size: var(--fs-xs); }
.btn--sm { min-height: 42px; padding: 0 1.1rem; }

/* Link com seta (Explore Government →, Learn more →) */
.link-arrow {
  display: inline-flex; align-items: center; gap: .45em; font-family: var(--font-display);
  font-weight: 700; font-size: var(--fs-sm); text-decoration: none; color: var(--sasi-blue);
}
.link-arrow svg { width: 1em; height: 1em; transition: transform .2s var(--ease); }
.link-arrow:hover svg, a:hover > .link-arrow svg, .card-link:hover .link-arrow svg { transform: translateX(4px); }
.link-arrow--caps { text-transform: uppercase; letter-spacing: .07em; font-size: .75rem; }
.link-underline {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--sasi-ink);
  text-decoration: none; border-bottom: 2px solid var(--sasi-ink); padding-bottom: 4px;
  display: inline-flex; gap: .5em; align-items: center; white-space: nowrap;
}
.link-underline svg { width: 1em; height: 1em; }
.link-underline:hover { color: var(--sasi-blue); border-color: var(--sasi-blue); }

/* ---------- Cabeçalho ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(40, 61, 14,.08); border-color: var(--sasi-line); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; flex: none; }
.brand img { height: 34px; width: auto; }
.brand__section {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); color: var(--sasi-ink);
  padding-left: .9rem; border-left: 1px solid var(--sasi-line); line-height: 1.6;
}
.main-nav { margin-left: auto; display: flex; align-items: center; gap: var(--space-5); }
.main-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.main-nav__link, .main-nav__trigger {
  display: inline-flex; align-items: center; gap: .35em; min-height: 44px; padding: 0 .8rem;
  font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 500; color: var(--sasi-ink);
  text-decoration: none; background: none; border: 0; border-radius: var(--radius-sm); cursor: pointer;
  position: relative;
}
.main-nav__link:hover, .main-nav__trigger:hover { color: var(--sasi-blue); }
.main-nav__link[aria-current="page"], .main-nav__trigger[aria-expanded="true"] { color: var(--sasi-blue); }
.main-nav__link[aria-current="page"]::after, .main-nav__trigger[aria-expanded="true"]::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 6px; height: 2px; background: currentColor; border-radius: 2px;
}
.main-nav__trigger svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.main-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav-toggle { display: none; }

/* Mega menu (Soluções na página Governo) */
.has-mega { position: static; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--sasi-surface);
  border-top: 1px solid var(--sasi-line); box-shadow: 0 24px 40px rgba(40, 61, 14,.10);
}
.mega__inner { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: var(--space-6); padding-block: var(--space-6); }
.mega__title { font-family: var(--font-display); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sasi-muted); margin-bottom: var(--space-3); }
.mega__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.mega__list a { display: flex; align-items: center; gap: .65rem; padding: .5rem .5rem; border-radius: var(--radius-sm); color: var(--sasi-ink); text-decoration: none; font-weight: 500; font-size: var(--fs-sm); }
.mega__list a:hover { background: var(--sasi-tint); color: var(--sasi-blue); }
.mega__list svg { width: 18px; height: 18px; color: var(--sasi-blue); flex: none; }

/* Seletor de idioma */
.lang { position: relative; }
.lang__button {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .5rem;
  background: none; border: 1px solid transparent; border-radius: var(--radius-sm); cursor: pointer;
}
.lang__button:hover { border-color: var(--sasi-line); }
.lang__button .chev { width: 12px; height: 12px; color: var(--sasi-muted); }
.flag { width: 24px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(40, 61, 14,.12); flex: none; }
.lang__menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; padding: .4rem;
  background: var(--sasi-surface); border: 1px solid var(--sasi-line); border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  list-style: none; margin: 0;
}
.lang__menu a { display: flex; align-items: center; gap: .7rem; padding: .65rem .7rem; border-radius: var(--radius-sm); color: var(--sasi-ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 500; }
.lang__menu a:hover, .lang__menu a:focus-visible { background: var(--sasi-tint); }
.lang__menu a[aria-current="true"] { font-weight: 700; color: var(--sasi-blue); }
.lang__menu .check { margin-left: auto; width: 16px; height: 16px; }

/* Header mobile */
@media (max-width: 1023px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto;
    background: none; border: 1px solid var(--sasi-line); border-radius: var(--radius-sm); cursor: pointer;
  }
  .nav-toggle svg { width: 24px; height: 24px; }
  .main-nav {
    position: fixed; inset: calc(var(--header-h) + env(safe-area-inset-top, 0px)) 0 0 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: var(--space-4);
    padding: var(--space-5) max(16px, env(safe-area-inset-right, 0px)) calc(var(--space-6) + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
    background: var(--sasi-surface); overflow-y: auto; border-top: 1px solid var(--sasi-line);
  }
  .main-nav[data-open="false"] { display: none; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav__list > li { border-bottom: 1px solid var(--sasi-line); }
  .main-nav__link, .main-nav__trigger { width: 100%; justify-content: space-between; min-height: 56px; font-size: var(--fs-md); padding: 0 .25rem; }
  .main-nav__link[aria-current="page"]::after, .main-nav__trigger[aria-expanded="true"]::after { display: none; }
  .mega { position: static; box-shadow: none; border: 0; }
  .mega__inner { grid-template-columns: 1fr; gap: var(--space-4); padding: 0 0 var(--space-4); }
  .main-nav .btn { width: 100%; }
  .lang__menu { position: static; box-shadow: none; margin-top: .4rem; }
  .lang__button { border-color: var(--sasi-line); width: 100%; justify-content: flex-start; padding: 0 .75rem; }
  .brand__section { display: none; }
}
@media (min-width: 1024px) {
  .main-nav__mobile-label { display: none; }
}

/* ---------- Cabeçalho de seção ---------- */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4) var(--space-6); margin-bottom: var(--space-6); }
.section-head__text { max-width: 680px; display: grid; gap: var(--space-3); }
.section-head--center { justify-content: center; text-align: center; }
.section-head--center .section-head__text { margin-inline: auto; }
.eyebrow { font-family: var(--font-display); font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sasi-blue); }
.section-title { font-size: var(--fs-2xl); font-weight: 700; }
.section-sub { color: var(--sasi-muted); font-size: var(--fs-md); max-width: 62ch; }

/* ---------- Placeholders (imagens ainda não definidas) ---------- */
.ph {
  position: relative; display: grid; place-items: center; overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(129, 201, 40,.06) 0 12px, rgba(129, 201, 40,0) 12px 24px),
    var(--sasi-tint);
  color: var(--sasi-blue-deep); text-align: center;
}
.ph__label {
  display: inline-flex; align-items: center; gap: .45rem; max-width: 90%;
  font-family: var(--font-display); font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: rgba(255,255,255,.92); color: var(--sasi-blue-deep); padding: .35rem .65rem; border-radius: var(--radius-pill);
  border: 1px dashed rgba(129, 201, 40,.45);
}
.ph__label svg { width: 14px; height: 14px; flex: none; }
.ph--dark { background: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 12px, rgba(255,255,255,0) 12px 24px), #4c6e22; }

/* Moldura de smartphone (placeholder de mockup) */
.phone {
  position: relative; aspect-ratio: 9 / 19; width: 100%; max-width: 100%;
  border-radius: 34px; padding: 10px; background: #1f300b; box-shadow: 0 24px 50px rgba(40, 61, 14,.25);
}
.phone::before { content: ""; position: absolute; top: 18px; left: 50%; translate: -50% 0; width: 32%; height: 18px; border-radius: 12px; background: #1f300b; z-index: 2; }
.phone__screen { height: 100%; border-radius: 26px; }

/* ---------- Faixa de indicadores (como a barra de números do sasi.io) ---------- */
.stats-bar {
  display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr));
  background: rgba(255,255,255,.88); backdrop-filter: blur(8px);
  border: 1px solid var(--sasi-line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  list-style: none; margin: 0; padding: 0;
}
.stat { display: flex; align-items: center; gap: var(--space-4); padding: var(--space-5) var(--space-5); min-width: 0; }
.stat + .stat { border-left: 1px solid var(--sasi-line); }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + .9vw, 1.75rem); color: var(--sasi-ink); line-height: 1.1; font-variant-numeric: tabular-nums; display: flex; align-items: center; gap: .3rem; }
.stat__num .star { width: 18px; height: 18px; color: var(--sasi-star); }
.stat__label { font-size: var(--fs-xs); color: var(--sasi-muted); line-height: 1.4; margin-top: .2rem; }
.stat__seal { width: 64px; height: 64px; flex: none; object-fit: contain; }
.stat__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); line-height: 1.25; color: var(--sasi-ink); }
@media (max-width: 860px) {
  .stats-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--sasi-line); }
  .stat--wide { grid-column: 1 / -1; }
  .stat--wide + .stat { border-left: 0; }
}
@media (max-width: 479px) {
  .stats-bar { grid-template-columns: 1fr; }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--sasi-line); }
}

/* ---------- Faixa de logotipos ---------- */
.logos { display: grid; gap: var(--space-5); }
.logos__title { text-align: center; font-family: var(--font-display); font-size: var(--fs-sm); font-weight: 600; color: var(--sasi-muted); }
.logos__track {
  display: flex; align-items: center; justify-content: center; gap: var(--space-7);
  list-style: none; margin: 0; padding: var(--space-2) 0;
}
.logos__item { flex: none; display: grid; place-items: center; height: 64px; }
.logos__item img { max-height: 56px; width: auto; max-width: 200px; object-fit: contain; }
@media (max-width: 860px) {
  .logos__track {
    justify-content: flex-start; gap: var(--space-6); overflow-x: auto; scroll-snap-type: x mandatory;
    padding-inline: 4px; scrollbar-width: thin; -webkit-overflow-scrolling: touch;
  }
  .logos__item { scroll-snap-align: start; }
  .logos__item img { max-height: 48px; max-width: 160px; }
}
.logos__hint { display: none; text-align: center; font-size: var(--fs-xs); color: var(--sasi-muted); }
@media (max-width: 860px) { .logos__hint { display: block; } }

/* ---------- Cards de público (Governo / Empresas) ---------- */
.audience-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-5); }
@media (max-width: 760px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  position: relative; isolation: isolate; overflow: hidden; border-radius: var(--radius-lg);
  min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: var(--space-3);
  padding: var(--space-6); color: #fff; text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.audience-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(40, 61, 14,.22); }
.audience-card__bg { position: absolute; inset: 0; z-index: -2; }
.audience-card::after { content: ""; position: absolute; inset: 0; z-index: -1; }
.audience-card--gov::after { background: linear-gradient(90deg, rgba(114, 181, 32,.94) 0%, rgba(129, 201, 40,.78) 55%, rgba(129, 201, 40,.35) 100%); }
.audience-card--biz::after { background: linear-gradient(90deg, rgba(40, 61, 14,.95) 0%, rgba(40, 61, 14,.78) 55%, rgba(40, 61, 14,.35) 100%); }
.audience-card__bg .ph__label { position: absolute; top: 16px; right: 16px; }
.audience-card h3 { color: #fff; font-size: var(--fs-xl); font-weight: 700; }
.audience-card p { color: rgba(255,255,255,.9); max-width: 46ch; font-size: var(--fs-sm); }
.audience-card .link-arrow { color: #fff; margin-top: var(--space-2); }

/* ---------- Vídeo (lite embed do YouTube) ---------- */
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; background: var(--sasi-navy); box-shadow: var(--shadow-md); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__poster {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #0f2a14, #73b720); color: #fff;
}
.video__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(40, 61, 14,0) 40%, rgba(40, 61, 14,.65) 100%); }
.video__play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 1;
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: var(--sasi-blue); box-shadow: 0 0 0 10px rgba(255,255,255,.22); transition: transform .25s var(--ease);
}
.video__play svg { width: 30px; height: 30px; margin-left: 4px; }
.video__poster:hover .video__play, .video__poster:focus-visible .video__play { transform: scale(1.06); }
.video__caption { position: absolute; left: 24px; bottom: 20px; z-index: 1; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); text-align: left; }
.video-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3); margin-top: var(--space-4); font-size: var(--fs-xs); color: var(--sasi-muted); }

/* ---------- Cards genéricos ---------- */
.card {
  background: var(--sasi-surface); border: 1px solid var(--sasi-line); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.card__title { font-size: var(--fs-lg); font-weight: 700; }
.card__title a { color: inherit; text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; } /* área clicável do card */
.card--link { position: relative; }
.card--link .link-arrow { position: relative; z-index: 1; }
.card__text { color: var(--sasi-muted); font-size: var(--fs-sm); }
.card__foot { margin-top: auto; padding-top: var(--space-2); }

.tag {
  display: inline-flex; align-items: center; width: fit-content; padding: .3rem .75rem; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  background: var(--sasi-tint); color: var(--sasi-blue-deep);
}
.tag--green { background: #e2f4ee; color: #0d6b4f; }
.tag--red { background: #fde9e8; color: #a8241f; }
.tag--amber { background: #fdf1de; color: #8a5300; }

.meta { font-family: var(--font-display); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; display: flex; gap: .8rem; align-items: center; color: var(--sasi-muted); }
.meta__cat { color: var(--sasi-blue); }

/* Grade de cards */
.grid { display: grid; gap: var(--space-5); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
@media (max-width: 1023px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 619px) { .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Indicadores dentro dos cards de case */
.kpis { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--sasi-line); margin-top: var(--space-3); padding-top: var(--space-4); list-style: none; margin-bottom: 0; padding-left: 0; }
.kpi { min-width: 0; padding-right: var(--space-3); }
.kpi + .kpi { border-left: 1px solid var(--sasi-line); padding-left: var(--space-4); }
.kpi__num { font-family: var(--font-display); font-size: var(--fs-xl); font-weight: 700; color: var(--sasi-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi__label { font-size: var(--fs-xs); color: var(--sasi-muted); line-height: 1.35; margin-top: .25rem; }
.kpi--pending .kpi__num { color: var(--sasi-muted); font-size: var(--fs-md); border: 1px dashed var(--sasi-line); border-radius: 6px; padding: .2rem .45rem; display: inline-block; }

/* Ícone em quadrado arredondado */
.icon-tile { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--sasi-tint); color: var(--sasi-blue); flex: none; }
.icon-tile svg { width: 24px; height: 24px; }

/* ---------- Abas / filtros ---------- */
.filters { display: flex; gap: var(--space-2) var(--space-5); flex-wrap: wrap; border-bottom: 1px solid var(--sasi-line); margin-bottom: var(--space-6); list-style: none; padding: 0; }
.filter {
  min-height: 44px; padding: 0 .1rem; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  font-family: var(--font-display); font-weight: 500; font-size: var(--fs-sm); color: var(--sasi-muted); cursor: pointer;
}
.filter:hover { color: var(--sasi-ink); }
.filter[aria-pressed="true"] { color: var(--sasi-blue); border-bottom-color: var(--sasi-blue); font-weight: 700; }
@media (max-width: 619px) {
  .filters { flex-wrap: nowrap; overflow-x: auto; gap: var(--space-5); scrollbar-width: none; }
  .filter { white-space: nowrap; flex: none; }
}
.filter-status { font-size: var(--fs-xs); color: var(--sasi-muted); margin: calc(var(--space-5) * -1) 0 var(--space-5); }

/* ---------- Carrossel (cases) ---------- */
.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * var(--space-5)) / 3); gap: var(--space-5);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px 4px var(--space-4); margin: -4px;
  list-style: none; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
@media (max-width: 1023px) { .carousel__track { grid-auto-columns: calc((100% - var(--space-5)) / 2); } }
@media (max-width: 619px) { .carousel__track { grid-auto-columns: 86%; } }
.carousel__nav { display: flex; gap: var(--space-3); }
.round-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--sasi-surface); border: 1px solid var(--sasi-line); color: var(--sasi-ink); box-shadow: var(--shadow-sm);
}
.round-btn:hover:not(:disabled) { border-color: var(--sasi-blue); color: var(--sasi-blue); }
.round-btn:disabled { opacity: .4; cursor: default; }
.round-btn svg { width: 20px; height: 20px; }

/* ---------- Faixa de CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-lg);
  background: linear-gradient(120deg, var(--sasi-blue-deep), var(--sasi-blue) 60%, #97e03d);
  color: #fff; padding: var(--space-7) var(--space-7);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5);
}
.cta-band::before { content: ""; position: absolute; right: -80px; top: -120px; width: 360px; height: 360px; border-radius: 50%; background: rgba(255,255,255,.08); z-index: -1; }
.cta-band::after { content: ""; position: absolute; right: 120px; bottom: -180px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.06); z-index: -1; }
.cta-band h2 { color: #fff; font-size: var(--fs-2xl); max-width: 18ch; }
.cta-band p { color: rgba(255,255,255,.9); margin-top: var(--space-3); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
@media (max-width: 619px) { .cta-band { padding: var(--space-6) var(--space-5); } .cta-band__actions .btn { width: 100%; } }

/* ---------- Rodapé ---------- */
.site-footer { background: var(--sasi-navy); color: var(--sasi-on-dark-muted); font-size: var(--fs-sm); }
.site-footer a { color: var(--sasi-on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: var(--space-6); padding-block: var(--space-8) var(--space-6); }
.footer-brand img { height: 40px; width: auto; }
.footer-brand p { margin-top: var(--space-4); max-width: 34ch; line-height: 1.6; }
.footer-title { font-family: var(--font-display); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: var(--space-4); }
.footer-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.socials { display: flex; gap: .6rem; margin-top: var(--space-5); list-style: none; padding: 0; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); color: #fff; }
.socials a:hover { background: rgba(255,255,255,.1); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-contact { display: grid; gap: .7rem; }
.footer-contact .btn { margin-top: var(--space-3); width: fit-content; }
.pending { font-size: .72rem; color: #ffd27a; border: 1px dashed rgba(255,210,122,.6); border-radius: 4px; padding: 0 .35rem; margin-left: .25rem; white-space: nowrap; }
.footer-offices { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--space-6); }
.offices { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: var(--space-6); list-style: none; margin: 0; padding: 0; }
.office h3 { color: #fff; font-size: var(--fs-sm); font-weight: 700; display: flex; align-items: center; gap: .5rem; margin-bottom: var(--space-3); letter-spacing: 0; }
.office h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--sasi-red); box-shadow: 0 0 0 3px rgba(218,56,50,.25); }
.office address { font-style: normal; line-height: 1.65; }
.office .tel { margin-top: var(--space-3); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: var(--space-5) calc(var(--space-5) + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-5); justify-content: space-between; font-size: var(--fs-xs); }
.footer-legal { display: flex; flex-wrap: wrap; gap: var(--space-4); list-style: none; margin: 0; padding: 0; }
@media (max-width: 1023px) { .footer-top { grid-template-columns: repeat(2, minmax(0,1fr)); } .offices { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 559px) { .footer-top, .offices { grid-template-columns: 1fr; } }

/* ---------- Assistente virtual ---------- */
.assistant-fab {
  position: fixed; z-index: 90;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: .6rem; min-height: 56px; padding: 0 1.25rem 0 1rem;
  border-radius: var(--radius-pill); border: 0; cursor: pointer;
  background: var(--sasi-blue); color: #fff; box-shadow: 0 12px 30px rgba(129, 201, 40,.38);
  font-family: var(--font-display); font-weight: 700; font-size: var(--fs-sm);
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.assistant-fab:hover { background: var(--sasi-blue-deep); transform: translateY(-2px); }
.assistant-fab svg { width: 24px; height: 24px; }
.assistant-fab[aria-expanded="true"] { display: none; }
@media (max-width: 479px) { .assistant-fab__text { display: none; } .assistant-fab { padding: 0; width: 56px; justify-content: center; } }

.assistant {
  position: fixed; z-index: 95;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: min(400px, calc(100vw - 32px)); height: min(600px, calc(100dvh - 120px));
  display: flex; flex-direction: column; background: var(--sasi-surface);
  border: 1px solid var(--sasi-line); border-radius: var(--radius-lg); box-shadow: 0 24px 60px rgba(40, 61, 14,.28); overflow: hidden;
}
@media (max-width: 479px) {
  .assistant { right: 0; left: 0; bottom: 0; width: 100%; height: min(88dvh, 640px); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding-bottom: env(safe-area-inset-bottom, 0px); }
}
.assistant__head { display: flex; align-items: center; gap: .75rem; padding: 1rem 1rem 1rem 1.15rem; background: var(--sasi-navy); color: #fff; }
.assistant__avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sasi-blue); flex: none; }
.assistant__avatar svg { width: 22px; height: 22px; }
.assistant__title { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); color: #fff; letter-spacing: 0; }
.assistant__status { font-size: .75rem; color: var(--sasi-on-dark-muted); display: flex; align-items: center; gap: .4rem; }
.badge-demo { font-family: var(--font-display); font-size: .65rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #ffd27a; color: #3a2a00; padding: .15rem .45rem; border-radius: 4px; }
.assistant__close { margin-left: auto; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.08); color: #fff; display: grid; place-items: center; cursor: pointer; }
.assistant__close:hover { background: rgba(255,255,255,.18); }
.assistant__close svg { width: 20px; height: 20px; }
.assistant__log { flex: 1; overflow-y: auto; padding: 1.1rem; display: flex; flex-direction: column; gap: .75rem; background: var(--sasi-bg-soft); }
.msg { max-width: 88%; padding: .7rem .95rem; border-radius: 16px; font-size: var(--fs-sm); line-height: 1.5; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: var(--sasi-surface); border: 1px solid var(--sasi-line); border-bottom-left-radius: 4px; }
.msg--user { align-self: flex-end; background: var(--sasi-blue); color: #fff; border-bottom-right-radius: 4px; }
.msg a { font-weight: 700; }
.msg__actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .6rem; }
.msg__actions a { display: inline-flex; align-items: center; gap: .3rem; padding: .35rem .7rem; border-radius: var(--radius-pill); background: var(--sasi-tint); text-decoration: none; font-size: .8rem; }
.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--sasi-muted); animation: blink 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; } .typing span:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.assistant__quick { display: flex; flex-wrap: wrap; gap: .45rem; padding: .75rem 1rem; border-top: 1px solid var(--sasi-line); background: var(--sasi-surface); }
.chip {
  min-height: 40px; padding: 0 .9rem; border-radius: var(--radius-pill); border: 1px solid var(--sasi-blue);
  background: var(--sasi-surface); color: var(--sasi-blue); font-size: .82rem; font-weight: 600; cursor: pointer;
}
.chip:hover { background: var(--sasi-tint); }
.assistant__form { display: flex; gap: .5rem; padding: .75rem 1rem 1rem; background: var(--sasi-surface); }
.assistant__input { flex: 1; min-width: 0; min-height: 46px; padding: 0 .9rem; border: 1px solid #c7cdbf; border-radius: var(--radius-pill); font: inherit; font-size: var(--fs-sm); color: var(--sasi-ink); background: var(--sasi-surface); }
.assistant__input:focus-visible { outline-offset: 0; border-color: var(--sasi-blue); }
.assistant__send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--sasi-blue); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.assistant__send svg { width: 20px; height: 20px; }
.assistant__note { padding: 0 1rem .8rem; font-size: .72rem; color: var(--sasi-muted); background: var(--sasi-surface); }
.site-footer .btn--white, .site-footer .btn--white:hover { color: var(--sasi-blue); text-decoration: none; }

/* Botão WhatsApp (verde da marca; texto escuro para contraste AA) */
.btn--whatsapp { background: #25D366; color: #08311a; gap: .55rem; box-shadow: 0 8px 22px rgba(37, 211, 102, .28); }
.btn--whatsapp:hover { background: #2fe072; color: #08311a; }
.btn--whatsapp svg { width: 20px; height: 20px; flex: none; }
.btn--whatsapp:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* =========================================================
   Seções específicas de página (Home e Governo)
   ========================================================= */

/* ---------- HOME · Hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(60% 70% at 85% 10%, rgba(167, 230, 90,.16), rgba(167, 230, 90,0) 70%),
    radial-gradient(40% 50% at 0% 100%, rgba(129, 201, 40,.08), rgba(129, 201, 40,0) 70%),
    linear-gradient(180deg, #fbfef7 0%, #ffffff 100%);
  padding-block: var(--space-8) var(--space-6);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--space-7); align-items: center; }
.hero__copy { display: grid; gap: var(--space-5); align-content: start; }
.hero__title { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.grad-text {
  background: linear-gradient(90deg, var(--sasi-blue-deep), var(--sasi-blue) 50%, var(--sasi-blue-light));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__text { font-size: var(--fs-md); color: var(--sasi-muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.hero__stats { margin-top: var(--space-7); }

/* Composição visual (placeholders) */
.hero-visual { position: relative; min-height: 460px; }
.hero-visual__photo { position: absolute; inset: 0 0 60px 60px; border-radius: var(--radius-lg); }
.hero-visual__phone { position: absolute; left: 0; bottom: 0; width: 190px; }
.hero-visual__chip {
  position: absolute; right: 18px; bottom: 18px; display: flex; gap: .75rem; align-items: center;
  background: var(--sasi-surface); border: 1px solid var(--sasi-line); border-radius: var(--radius-md);
  padding: .85rem 1rem; box-shadow: var(--shadow-md); max-width: 250px;
}
.hero-visual__chip strong { font-family: var(--font-display); font-size: var(--fs-sm); display: block; }
.hero-visual__chip span { font-size: var(--fs-xs); color: var(--sasi-muted); }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 380px; }
}
@media (max-width: 559px) {
  .hero { padding-block: var(--space-6) var(--space-5); }
  .hero-visual { min-height: 320px; }
  .hero-visual__photo { inset: 0 0 50px 40px; }
  .hero-visual__phone { width: 130px; }
  .hero-visual__chip { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* Logos logo abaixo da hero */
.clients { padding-block: var(--space-6) var(--space-7); border-bottom: 1px solid var(--sasi-line); }

/* ---------- HOME · Cases ---------- */
.case-media { display: grid; grid-template-columns: 38% 1fr; gap: 10px; padding: 12px 12px 0; height: 230px; }
.case-media .phone { border-radius: 22px; padding: 6px; aspect-ratio: auto; height: 100%; }
.case-media .phone::before { top: 11px; height: 10px; }
.case-media .phone__screen { border-radius: 17px; }
.case-media__photo { border-radius: var(--radius-sm); }
.case-client { display: flex; align-items: center; gap: .6rem; font-size: var(--fs-xs); color: var(--sasi-muted); }
.case-client img { height: 30px; width: auto; }

/* ---------- HOME · Soluções ---------- */
.solution .card__body { gap: var(--space-4); }
.solution__head { display: flex; align-items: center; gap: var(--space-4); }
.solution__media { height: 150px; margin: 12px 12px 0; border-radius: var(--radius-sm); }
.solutions-cta { display: flex; justify-content: center; margin-top: var(--space-6); }

/* ---------- HOME · Notícias ---------- */
.news__media { aspect-ratio: 16 / 9; width: 100%; max-width: 100%; border-radius: var(--radius-md); }
.news { background: transparent; border: 0; }
.news:hover { transform: none; box-shadow: none; }
.news .card__body { padding: var(--space-4) 0 0; }
.news .card__title { font-size: var(--fs-md); line-height: 1.35; }
.news .card__title a:hover { color: var(--sasi-blue); }
.news .card__title a:focus-visible { outline: none; }
.news:focus-within .news__media { outline: 3px solid var(--sasi-blue); outline-offset: 3px; }

/* ---------- GOVERNO · Hero com grade de serviços ---------- */
.gov-hero { padding-block: var(--space-7); background: linear-gradient(180deg, #fbfef7, #fff); }
.gov-hero__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--space-7); align-items: center; }
.gov-hero__copy { display: grid; gap: var(--space-5); }
.gov-hero__title { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -.03em; line-height: 1.05; }
.gov-hero__title .accent { color: var(--sasi-blue); display: block; }
.gov-hero__stats { display: flex; flex-wrap: wrap; gap: var(--space-4) var(--space-5); list-style: none; padding: 0; margin: var(--space-3) 0 0; }
.gov-hero__stats li { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.gov-hero__stats li + li { border-left: 1px solid var(--sasi-line); padding-left: var(--space-5); }
.gov-hero__stats img { width: 44px; height: 44px; object-fit: contain; }

.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 104px; gap: 12px; list-style: none; margin: 0; padding: 0; }
.bento__tile {
  background: var(--sasi-surface); border: 1px solid var(--sasi-line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
  padding: 14px; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-width: 0;
  color: var(--sasi-ink); text-decoration: none; transition: transform .2s var(--ease), border-color .2s var(--ease);
}
.bento__tile:hover { transform: translateY(-2px); border-color: var(--sasi-blue); }
.bento__tile .icon-tile { width: 34px; height: 34px; border-radius: 9px; }
.bento__tile .icon-tile svg { width: 18px; height: 18px; }
.bento__tile span:last-child { font-family: var(--font-display); font-weight: 600; font-size: .84rem; line-height: 1.25; }
.bento__feature {
  grid-column: 2 / 4; grid-row: 2 / 4; position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius-lg); padding: 22px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, var(--sasi-blue-deep), var(--sasi-blue) 70%, #9de347);
  display: flex; flex-direction: column; justify-content: flex-end; gap: 6px;
}
.bento__feature::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.1); z-index: -1; }
.bento__feature strong { font-family: var(--font-display); font-size: var(--fs-lg); max-width: 11ch; line-height: 1.15; }
.bento__feature span { font-size: var(--fs-xs); color: rgba(255,255,255,.88); max-width: 22ch; }
.bento__feature .phone { position: absolute; right: 18px; top: 18px; width: 120px; padding: 6px; border-radius: 22px; box-shadow: 0 16px 30px rgba(0,0,0,.3); }
.bento__feature .phone::before { top: 11px; height: 9px; }
.bento__feature .phone__screen { border-radius: 17px; }
.bento__feature .icon-tile { position: absolute; left: 22px; top: 22px; background: rgba(255,255,255,.14); color: #fff; }
.t-green { background: #e2f4ee !important; color: #0d6b4f !important; }
.t-amber { background: #fdf1de !important; color: #8a5300 !important; }
.t-violet { background: #f4fdea !important; color: #87c43c !important; }
.t-red { background: #fde9e8 !important; color: #b3261e !important; }
.t-slate { background: #eef1eb !important; color: #454d3b !important; }
@media (max-width: 1023px) { .gov-hero__grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 96px; }
  .bento__feature { grid-column: 1 / -1; grid-row: auto / span 2; }
  .bento__feature .phone { width: 96px; }
  .gov-hero__stats li + li { border-left: 0; padding-left: 0; }
  .gov-hero .btn { width: 100%; }
}

/* ---------- GOVERNO · Soluções com imagem ---------- */
.solution-img { height: 150px; }
.solution-card .card__body { gap: var(--space-2); }
.solution-card .card__title { font-size: var(--fs-md); color: var(--sasi-blue-deep); }
.solution-card .card__foot { padding-top: var(--space-3); }

/* ---------- GOVERNO · Produto principal (Cidade na Mão) ---------- */
.flagship { background: radial-gradient(70% 90% at 85% 40%, #5d8f1f 0%, var(--sasi-navy) 60%); color: #fff; }
.flagship__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: var(--space-7); align-items: center; }
.flagship .eyebrow { color: #d8fcac; }
.flagship__title { font-size: var(--fs-2xl); color: #fff; font-weight: 700; }
.flagship__title .soft { color: #d8fcac; display: block; }
.flagship__text { color: var(--sasi-on-dark-muted); font-size: var(--fs-md); max-width: 52ch; }
.features { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: var(--space-4) var(--space-5); list-style: none; padding: 0; margin: var(--space-2) 0 0; }
.features li { display: flex; align-items: center; gap: .8rem; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-sm); min-width: 0; }
.features .icon-tile { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.14); }
.features .icon-tile svg { width: 18px; height: 18px; }
.flagship__stats { display: flex; gap: var(--space-5); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,.14); list-style: none; margin: var(--space-2) 0 0; padding-left: 0; }
.flagship__stats li + li { border-left: 1px solid rgba(255,255,255,.14); padding-left: var(--space-5); }
.flagship__stats .stat__num { color: #fff; }
.flagship__stats .stat__label { color: var(--sasi-on-dark-muted); }
.flagship__copy { display: grid; gap: var(--space-5); }
.flagship__visual { position: relative; min-height: 460px; display: grid; place-items: center; }
.flagship__visual .phone { width: 230px; }
.float-card {
  position: absolute; background: #fff; color: var(--sasi-ink); border-radius: var(--radius-md); box-shadow: 0 18px 40px rgba(0,0,0,.28);
  padding: .9rem 1rem; font-size: var(--fs-xs);
}
.float-card strong { font-family: var(--font-display); font-size: .84rem; display: block; }
.float-card--top { top: 40px; right: 0; display: flex; gap: .7rem; align-items: center; max-width: 230px; }
.float-card--top .icon-tile { width: 34px; height: 34px; background: var(--sasi-blue); color: #fff; }
.float-card--top .icon-tile svg { width: 16px; height: 16px; }
.float-card--top span { color: var(--sasi-muted); }
.float-card--list { left: 0; bottom: 30px; width: 230px; }
.float-card--list > span { color: var(--sasi-muted); display: block; margin: .15rem 0 .6rem; }
.toggle-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.toggle-list li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; font-weight: 600; }
.switch { width: 32px; height: 18px; border-radius: 10px; background: #daded3; position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: left .2s; }
.switch.on { background: var(--sasi-blue); }
.switch.on::after { left: 16px; }
.add-sol { margin-top: .7rem; border: 1px dashed #c7cdbf; border-radius: 8px; text-align: center; padding: .35rem; color: var(--sasi-blue); font-weight: 600; }
@media (max-width: 1023px) { .flagship__grid { grid-template-columns: 1fr; } }
@media (max-width: 559px) {
  .features { grid-template-columns: 1fr; }
  .flagship__visual { min-height: 420px; }
  .flagship__visual .phone { width: 180px; }
  .float-card--top { right: 0; top: 10px; max-width: 190px; }
  .float-card--list { width: 190px; bottom: 10px; }
}

/* ---------- GOVERNO · Cases (carrossel) ---------- */
.case-photo { height: 180px; }
.case-card .card__body { gap: var(--space-2); }
.case-card .card__title { font-size: var(--fs-lg); }
.case-card .org { font-size: var(--fs-xs); color: var(--sasi-muted); }
.case-card .kpis { margin-top: auto; }
.bento > li { display: flex; min-width: 0; }
.bento > li > .bento__tile { flex: 1; }
.bento__feature > :not(a) { pointer-events: none; }
.gov-hero__stats { gap: var(--space-3) var(--space-4); }
.gov-hero__stats li + li { padding-left: var(--space-4); }
.gov-hero__stats .stat__num { font-size: 1.35rem; }
@media (min-width: 1024px) { .gov-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* =========================================================
   HOME · ajustes da revisão 1
   ========================================================= */
.stat__seals { height: 80px; width: auto; border-radius: 10px; flex: none; }
@media (min-width: 900px) {
  .section-head__text:has(.one-line) { max-width: none; }
  .one-line { white-space: nowrap; }
}
.section--video { padding-bottom: var(--space-5); }
.section--video .section-head { margin-bottom: var(--space-5); }

/* Faixa de clientes em movimento */
.clients { padding-block: var(--space-6) var(--space-5); border-bottom: 1px solid var(--sasi-line); }
.logos__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--space-2) var(--space-4); }
.marquee__toggle {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 36px; padding: 0 .75rem;
  border: 1px solid var(--sasi-line); border-radius: var(--radius-pill); background: var(--sasi-surface);
  color: var(--sasi-muted); font-size: .75rem; font-weight: 600; cursor: pointer;
}
.marquee__toggle:hover { color: var(--sasi-blue); border-color: var(--sasi-blue); }
.marquee__toggle svg { width: 12px; height: 12px; }
.marquee { position: relative; margin-top: var(--space-3); }
.marquee__viewport {
  overflow: hidden; padding-block: 22px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  display: flex; width: max-content; list-style: none; margin: 0; padding: 0;
  animation: marquee-scroll 55s linear infinite;
}
.marquee:hover .marquee__track, .marquee:focus-within .marquee__track, .marquee.is-paused .marquee__track { animation-play-state: paused; }
.marquee__item {
  flex: none; width: 196px; height: 108px; margin-right: 20px; padding: 14px 20px;
  display: grid; place-items: center; position: relative;
  background: var(--sasi-surface); border: 1px solid var(--sasi-line); border-radius: var(--radius-md);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), opacity .4s var(--ease), border-color .4s var(--ease);
}
.marquee__item img { max-width: 100%; max-height: 72px; width: auto; height: auto; object-fit: contain; mix-blend-mode: multiply; }
/* Efeito "holofote": o logo sob o mouse cresce e os demais recuam */
.marquee__track:hover .marquee__item { opacity: .5; }
.marquee__track .marquee__item:hover {
  opacity: 1; transform: scale(1.2) translateY(-4px); z-index: 2;
  border-color: rgba(129, 201, 40, .35); box-shadow: 0 18px 36px rgba(40, 61, 14, .16);
}
@keyframes marquee-scroll { to { transform: translateX(-50%); } }
@media (max-width: 619px) {
  .marquee__item { width: 150px; height: 90px; margin-right: 14px; padding: 10px 14px; }
  .marquee__item img { max-height: 60px; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__item[aria-hidden="true"] { display: none; }
  .marquee__viewport { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__toggle { display: none; }
}

/* Soluções com logotipo oficial */
.solution__head, .solution__logo { min-height: 64px; }
.solution__logo { display: flex; align-items: center; }
.solution__logo img { height: 60px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
.solution__logo--tile { background: var(--sasi-bg-soft); border: 1px solid var(--sasi-line); border-radius: var(--radius-sm); padding: 10px 14px; width: fit-content; max-width: 100%; }
.solution__logo--tile img { height: 42px; max-width: none; width: auto; }
@media (max-width: 359px) { .solution__logo--tile img { height: 34px; } }

/* =========================================================
   HOME · ajustes da revisão 2
   ========================================================= */
/* Selos ISO lado a lado, à direita da faixa */
.stat--seals { justify-content: center; gap: var(--space-4); }
.stat--seals .stat__seal { width: 76px; height: 76px; object-fit: contain; }
@media (max-width: 860px) { .stat--seals { grid-column: 1 / -1; border-left: 0 !important; border-top: 1px solid var(--sasi-line); } }

/* Clientes sem título visível */
.clients { padding-block: var(--space-5); }
.marquee { margin-top: 0; }
.marquee__viewport:focus-visible { outline-offset: -3px; }
.marquee:focus-within .marquee__track { animation-play-state: paused; }

/* Cards Governos / Empresas com foto e degradê (referência sasi.io) */
.audience-card { min-height: 300px; justify-content: center; padding: var(--space-7) var(--space-6); gap: var(--space-3); box-shadow: 0 18px 40px rgba(40, 61, 14, .14); }
.audience-card__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.audience-card--gov .audience-card__bg { object-position: 62% 40%; }
.audience-card--biz .audience-card__bg { object-position: 70% 35%; }
.audience-card:hover .audience-card__bg { transform: scale(1.04); }
.audience-card--gov::after {
  background:
    linear-gradient(90deg, rgba(124, 196, 37, .97) 0%, rgba(129, 201, 40, .90) 34%, rgba(141, 214, 52, .62) 62%, rgba(156, 226, 70, .28) 100%),
    linear-gradient(0deg, rgba(86, 140, 20, .35), rgba(86, 140, 20, 0) 55%);
}
.audience-card--biz::after {
  background:
    linear-gradient(90deg, rgba(40, 61, 14, .97) 0%, rgba(40, 61, 14, .90) 34%, rgba(49, 74, 18, .66) 62%, rgba(59, 88, 24, .30) 100%),
    linear-gradient(0deg, rgba(26, 40, 8, .35), rgba(26, 40, 8, 0) 55%);
}
.audience-card h3 { font-size: clamp(1.75rem, 1.3rem + 1.4vw, 2.25rem); }
.audience-card p { max-width: 40ch; font-size: var(--fs-md); }
.audience-card__link { width: fit-content; padding-bottom: 4px; border-bottom: 2px solid rgba(255,255,255,.55); }
.audience-card__link:hover { border-color: #fff; }

/* Título do vídeo menor, em uma linha */
.section-title--md { font-size: clamp(1.05rem, 4.4vw, 2rem); white-space: nowrap; }

/* =========================================================
   HOME · ajustes da revisão 4
   ========================================================= */
/* Hero: degradê do branco para um azul vivo (sem imagem por enquanto) */
.hero--blue {
  background:
    radial-gradient(55% 80% at 100% 0%, rgba(129, 201, 40, .55), rgba(129, 201, 40, 0) 70%),
    radial-gradient(45% 60% at 92% 95%, rgba(167, 230, 90, .45), rgba(167, 230, 90, 0) 70%),
    linear-gradient(100deg, #ffffff 0%, #ffffff 34%, #f4fee7 52%, #d3f5a9 72%, #6fa82a 90%, #93db3b 100%);
}
@media (max-width: 1023px) {
  .hero--blue { background: linear-gradient(180deg, #ffffff 0%, #ffffff 30%, #f0fee0 55%, #c4f08e 80%, #9ee04d 100%); }
}

/* Estrelas da avaliação */
.stars { display: inline-flex; gap: 2px; margin-left: .35rem; color: var(--sasi-star); }
.stars svg { width: 17px; height: 17px; }

/* Soluções: grade compacta de 4 colunas */
.solutions-grid .card__body { padding: var(--space-4) var(--space-4) var(--space-4); gap: var(--space-3); }
.solutions-grid .solution__logo, .solutions-grid .solution__head { min-height: 56px; }
.solutions-grid .solution__logo img { height: 52px; }
.solutions-grid .solution__logo--tile img { height: 34px; }
.solutions-grid .card__title { font-size: var(--fs-md); }
.solutions-grid .card__text { font-size: .875rem; line-height: 1.5; }
.solutions-grid .icon-tile { width: 44px; height: 44px; }

/* Vídeo: só o link para o YouTube, à direita */
.video-meta--end { justify-content: flex-end; }

/* Notícias em carrossel com setas nas laterais */
.news-carousel { position: relative; }
.news-carousel .carousel__track { padding-inline: 4px; }
.news-carousel .news { height: 100%; }
img.news__media { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius-md); background: var(--sasi-tint); }
.news .ph.news__media { aspect-ratio: 16 / 10; }
.news .card__title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.news .card__text { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news .card__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); }
.news__source { font-size: .75rem; color: var(--sasi-muted); }
.news:hover img.news__media { filter: brightness(1.04); }
.carousel__arrow {
  position: absolute; top: calc(var(--news-img-h, 140px)); z-index: 3; translate: 0 -50%;
  width: 52px; height: 52px; background: var(--sasi-surface); box-shadow: var(--shadow-md);
}
.carousel__arrow--prev { left: -18px; }
.carousel__arrow--next { right: -18px; }
.carousel__arrow:disabled { opacity: 0; pointer-events: none; }
@media (max-width: 1279px) { .carousel__arrow--prev { left: 6px; } .carousel__arrow--next { right: 6px; } }

/* =========================================================
   HOME · ajustes da revisão 5
   ========================================================= */
/* Hero: carrossel de cases (foto ao fundo + tela do app + balão) */
.hero-cases { position: relative; min-width: 0; }
.hero-cases__stage { position: relative; height: 470px; }
.hero-case { position: absolute; inset: 0; margin: 0; visibility: hidden; opacity: 0; transition: opacity .7s var(--ease), visibility 0s linear .7s; }
.hero-case.is-active { visibility: visible; opacity: 1; transition: opacity .7s var(--ease), visibility 0s; }
.hero-case__photo {
  position: absolute; top: 0; right: 0; bottom: 56px; left: 70px; width: calc(100% - 70px); height: calc(100% - 56px);
  object-fit: cover; border-radius: var(--radius-lg); box-shadow: 0 24px 50px rgba(40, 61, 14, .22);
  transform: scale(1.04); transition: transform 6s ease-out;
}
.hero-case.is-active .hero-case__photo { transform: scale(1); }
.hero-case__phone {
  position: absolute; left: 0; bottom: 0; width: auto; height: 400px; max-width: 48%; object-fit: contain;
  filter: drop-shadow(0 22px 30px rgba(40, 61, 14, .35));
  transform: translateY(24px); opacity: 0; transition: transform .8s var(--ease) .15s, opacity .8s var(--ease) .15s;
}
.hero-case.is-active .hero-case__phone { transform: none; opacity: 1; }
.hero-case__chip {
  position: absolute; right: 20px; bottom: 20px; width: min(300px, 52%);
  display: grid; gap: .2rem; padding: 1rem 1.15rem; border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .97); border: 1px solid var(--sasi-line); box-shadow: var(--shadow-md);
  transform: translateY(14px); opacity: 0; transition: transform .7s var(--ease) .3s, opacity .7s var(--ease) .3s;
}
.hero-case.is-active .hero-case__chip { transform: none; opacity: 1; }
.hero-case__eyebrow { font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sasi-blue); }
.hero-case__chip strong { font-family: var(--font-display); font-size: var(--fs-lg); color: var(--sasi-ink); line-height: 1.2; }
.hero-case__chip span:last-child { font-size: var(--fs-xs); color: var(--sasi-muted); line-height: 1.45; }
.hero-cases__controls { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; margin-top: var(--space-4); padding-right: 20px; }
.hero-cases__dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-cases__dot::before { content: ""; width: 10px; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .65); box-shadow: 0 0 0 1px rgba(40, 61, 14, .25); transition: width .3s var(--ease), background-color .3s var(--ease); }
.hero-cases__dot[aria-current="true"]::before { width: 26px; background: #fff; }
.hero-cases__toggle { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.7); background: rgba(40, 61, 14, .25); color: #fff; display: grid; place-items: center; cursor: pointer; }
.hero-cases__toggle svg { width: 12px; height: 12px; }
@media (max-width: 1023px) {
  .hero-cases__stage { height: 420px; }
  .hero-cases__dot::before { background: rgba(129, 201, 40, .35); box-shadow: none; }
  .hero-cases__dot[aria-current="true"]::before { background: var(--sasi-blue); }
  .hero-cases__toggle { background: var(--sasi-blue); }
}
@media (max-width: 559px) {
  .hero-cases__stage { height: 380px; }
  .hero-case__photo { left: 34px; width: calc(100% - 34px); bottom: 70px; height: calc(100% - 70px); }
  .hero-case__phone { height: 280px; }
  .hero-case__chip { right: 0; bottom: 0; width: 60%; padding: .75rem .85rem; }
  .hero-case__chip strong { font-size: var(--fs-md); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-case__photo, .hero-case.is-active .hero-case__photo { transform: none; }
}

/* Selos ISO + legenda */
.stat--seals { flex-direction: column; gap: .35rem; }
.stat__seals-row { display: flex; gap: var(--space-4); justify-content: center; }
.stat--seals .stat__label { margin-top: 0; text-align: center; }

/* Faixa de clientes depois dos cards (sem borda inferior) */
.clients { border-bottom: 0; padding-block: 0 var(--space-7); }

/* Assistente: botão vermelho com o mascote */
.assistant-launcher {
  position: fixed; z-index: 90;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.assistant-launcher .assistant-fab { position: relative; right: auto; bottom: auto; }
.assistant-fab {
  background: #d32f2f; padding: 0 1.3rem 0 6px; min-height: 64px; gap: .7rem; font-size: var(--fs-md);
  box-shadow: 0 14px 34px rgba(211, 47, 47, .42);
}
.assistant-fab:hover { background: #b71c1c; }
.assistant-fab__avatar {
  position: relative; width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex: none;
  background: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .9);
}
.assistant-fab__avatar img { width: 100%; height: 100%; object-fit: cover; }
.assistant-fab::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: 0 0 0 0 rgba(211, 47, 47, .55); animation: fab-pulse 2.4s ease-out infinite;
}
.assistant-fab { position: relative; }
@keyframes fab-pulse { 0% { box-shadow: 0 0 0 0 rgba(211, 47, 47, .5); } 70% { box-shadow: 0 0 0 16px rgba(211, 47, 47, 0); } 100% { box-shadow: 0 0 0 0 rgba(211, 47, 47, 0); } }
.assistant-hello {
  max-width: 240px; padding: .7rem .9rem; border-radius: 14px 14px 4px 14px; background: var(--sasi-surface);
  border: 1px solid var(--sasi-line); box-shadow: var(--shadow-md); font-size: .85rem; line-height: 1.4; color: var(--sasi-ink);
  animation: hello-in .4s var(--ease);
}
@keyframes hello-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
body.assistant-open .assistant-launcher { display: none; }
.assistant__avatar { background: #fff; overflow: hidden; width: 44px; height: 44px; }
.assistant__avatar img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 479px) {
  .assistant-fab__text { display: none; }
  .assistant-fab { padding: 0; width: 64px; justify-content: center; }
  .assistant-fab__avatar { width: 54px; height: 54px; }
}
@media (max-width: 619px) { .assistant-hello { display: none; } }

/* =========================================================
   HOME · ajustes da revisão 6 — foto do case mais larga (formato 3:2)
   ========================================================= */
@media (min-width: 1024px) {
  .hero--blue .hero__grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: var(--space-6); }
  .hero-cases__stage { height: 500px; }
  .hero-case__photo { left: 96px; width: calc(100% - 96px); bottom: 58px; height: calc(100% - 58px); }
  .hero-case__phone { left: -28px; height: 400px; max-width: none; }
  .hero-case__chip { right: 16px; bottom: 16px; width: min(300px, 46%); }
}

/* =========================================================
   HOME · ajustes da revisão 7 — case agrupado e menor, degradê na página toda
   ========================================================= */
.hero--blue {
  background:
    radial-gradient(60% 90% at 100% 0%, rgba(129, 201, 40, .45), rgba(129, 201, 40, 0) 70%),
    linear-gradient(100deg, #fafff3 0%, #f0fddf 22%, #ddf8bc 48%, #c4f08e 72%, #6fa82a 90%, #95dc3f 100%);
}
@media (max-width: 1023px) {
  .hero--blue { background: linear-gradient(180deg, #fafff3 0%, #ecfcd9 35%, #cdf29f 70%, #6fa82a 100%); }
}
@media (min-width: 1024px) {
  .hero--blue .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-6); }
  .hero-cases { width: 100%; max-width: 600px; justify-self: end; }
  .hero-cases__stage { height: 420px; }
  .hero-case__photo { left: 70px; width: calc(100% - 70px); bottom: 54px; height: calc(100% - 54px); }
  .hero-case__phone { left: 0; height: 330px; }
  .hero-case__chip { left: 184px; right: auto; bottom: 14px; width: 270px; }
}
.hero-case__chip { padding: .85rem 1rem; }
.hero-case__chip strong { font-size: var(--fs-md); }
@media (max-width: 1023px) {
  .hero-cases { max-width: 560px; margin-inline: auto; width: 100%; }
  .hero-cases__stage { height: 380px; }
  .hero-case__phone { height: 300px; }
  .hero-case__chip { left: 170px; right: auto; bottom: 10px; width: min(270px, calc(100% - 175px)); }
}
@media (max-width: 559px) {
  .hero-cases__stage { height: 340px; }
  .hero-case__photo { left: 40px; width: calc(100% - 40px); bottom: 64px; height: calc(100% - 64px); }
  .hero-case__phone { height: 240px; }
  .hero-case__chip { left: 124px; bottom: 0; width: calc(100% - 124px); }
  .hero-case__chip span:last-child { font-size: .75rem; }
}

/* =========================================================
   GOVERNO · revisão 1
   ========================================================= */
.gov-hero__stats li + li { border-left: 1px solid var(--sasi-line); padding-left: var(--space-5); }
.gov-hero__stats .stat__num { font-size: 1.5rem; }

/* Destaque Cidade na Mão com logo e mockup */
.bento__feature { padding: 20px; justify-content: space-between; }
.bento__feature-link { position: absolute; inset: 0; border-radius: inherit; z-index: 2; }
.bento__feature-link:focus-visible { outline-offset: -4px; outline-color: #fff; }
.bento__logo { background: #fff; border-radius: 12px; padding: 8px 12px; width: fit-content; box-shadow: 0 6px 16px rgba(40, 61, 14, .2); position: relative; z-index: 1; }
.bento__logo img { height: 40px; width: auto; display: block; }
.bento__phone { position: absolute; right: 14px; top: 14px; bottom: -40px; height: calc(100% + 26px); width: auto; filter: drop-shadow(0 14px 22px rgba(0, 0, 0, .3)); }
.bento__text { position: relative; z-index: 1; max-width: 52%; font-family: var(--font-display); font-weight: 600; font-size: var(--fs-md); line-height: 1.3; color: #fff; }
@media (max-width: 559px) {
  .bento__logo img { height: 32px; }
  .bento__text { font-size: .9rem; max-width: 58%; }
  .bento__phone { right: 8px; }
}

/* Soluções em uma linha com setas */
.sol-carousel { position: relative; }
.sol-track { grid-auto-columns: calc((100% - 3 * var(--space-5)) / 4); }
@media (max-width: 1023px) { .sol-track { grid-auto-columns: calc((100% - var(--space-5)) / 2); } }
@media (max-width: 619px) { .sol-track { grid-auto-columns: 82%; } }
.sol-carousel .carousel__arrow { top: 50%; }
.sol-track > li[hidden] { display: none; }
@media (max-width: 559px) { .gov-hero__stats li + li { border-left: 0; padding-left: 0; } }

/* Vídeo institucional nativo (MP4) */
.video--native video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--sasi-navy); }
.video__sound {
  position: absolute; top: 16px; right: 16px; z-index: 2; display: inline-flex; align-items: center; gap: .45rem;
  min-height: 40px; padding: 0 .9rem; border: 0; border-radius: var(--radius-pill); cursor: pointer;
  background: rgba(40, 61, 14, .72); color: #fff; font-size: .8rem; font-weight: 600; backdrop-filter: blur(6px);
}
.video__sound:hover { background: rgba(40, 61, 14, .9); }
.video__sound svg { width: 18px; height: 18px; }

/* =========================================================
   Ajustes de celular (revisão mobile)
   ========================================================= */
@media (max-width: 619px) {
  /* Soluções da Home em 2 colunas compactas */
  .solutions-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .solutions-grid .card__body { padding: 12px; gap: 8px; }
  .solutions-grid .solution__logo, .solutions-grid .solution__head { min-height: 44px; }
  .solutions-grid .solution__logo img { height: 38px; }
  .solutions-grid .solution__logo--tile { padding: 6px 8px; }
  .solutions-grid .solution__logo--tile img { height: 24px; }
  .solutions-grid .solution__head { gap: 8px; }
  .solutions-grid .icon-tile { width: 34px; height: 34px; border-radius: 9px; }
  .solutions-grid .icon-tile svg { width: 18px; height: 18px; }
  .solutions-grid .card__title { font-size: .9rem; }
  .solutions-grid .card__text { font-size: .8rem; line-height: 1.4; }
  .solutions-grid .link-arrow--caps { font-size: .68rem; }
  .solutions-cta .btn { width: 100%; }

  /* Rodapé: navegação e soluções lado a lado; links com área de toque maior */
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-6) var(--space-4); padding-block: var(--space-7) var(--space-5); }
  .footer-top > .footer-brand, .footer-top > div:last-child { grid-column: 1 / -1; }
  .footer-list { gap: 0; }
  .footer-list a { display: inline-block; padding-block: 8px; }
  .footer-legal a { display: inline-block; padding-block: 8px; }

  /* Governo: cards flutuantes do Cidade na Mão menores */
  .float-card { font-size: .7rem; padding: .7rem .8rem; }
}

/* =========================================================
   HOME · revisão 8 — Hero cabe na tela + grafismos de cidades
   ========================================================= */
.hero--blue { position: relative; isolation: isolate; overflow: hidden; }
.hero__inner { position: relative; z-index: 1; }

/* Grafismos (linhas finas) atrás do conteúdo, entre o texto e os cases */
.hero-skylines {
  position: absolute; z-index: 0; pointer-events: none;
  left: 24%; right: -2%; top: 6%; bottom: 120px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%), linear-gradient(0deg, transparent 0%, #000 30%);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 78%, transparent 100%); 
}
.hero-skyline {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center bottom;
  opacity: 0; transform: translateY(8px) scale(1.01);
  transition: opacity 1.4s var(--ease), transform 6s ease-out;
}
.hero-skyline.is-active { opacity: .34; transform: none; }
.hero-skyline[src$=".png"].is-active { opacity: .3; }
@media (prefers-reduced-motion: reduce) { .hero-skyline { transition: none; transform: none; } }

/* Indicadores em 4 colunas (selos à direita) */
.hero__stats .stat { padding: 16px 22px; }
.hero__stats .stat__num { font-size: clamp(1.35rem, 1rem + 1vw, 1.7rem); }
.hero__stats .stat--seals .stat__seal { width: 52px; height: 52px; }
.hero__stats .stat__seals-row { gap: 10px; }
@media (max-width: 860px) {
  .hero__stats .stat--seals { grid-column: auto; border-top: 1px solid var(--sasi-line); }
  .hero__stats .stat:nth-child(even) { border-left: 1px solid var(--sasi-line) !important; }
  .hero__stats .stat:nth-child(odd) { border-left: 0 !important; }
}
@media (max-width: 479px) {
  .hero__stats .stat:nth-child(even) { border-left: 0 !important; }
}

/* Controles do carrossel por cima da foto (economiza altura) */
.hero-cases__controls {
  position: absolute; z-index: 3; top: 12px; right: 12px; margin: 0; padding: 2px 6px;
  border-radius: var(--radius-pill); background: rgba(40, 61, 14, .38); backdrop-filter: blur(6px);
}
.hero-cases__dot { width: 22px; height: 28px; }
.hero-cases__dot::before { background: rgba(255,255,255,.6); box-shadow: none; }
.hero-cases__dot[aria-current="true"]::before { background: #fff; width: 20px; }
.hero-cases__toggle { width: 28px; height: 28px; background: transparent; border-color: rgba(255,255,255,.6); }
.hero-cases { position: relative; }

/* Desktop: toda a seção 1 visível sem rolar */
@media (min-width: 1024px) {
  .hero--blue {
    --stage-h: clamp(270px, calc(100vh - var(--header-h) - 250px), 440px);
    padding-block: clamp(16px, 3vh, 32px) clamp(16px, 2.6vh, 28px);
  }
  .hero__title { font-size: clamp(2.2rem, 6.2vh, 3.4rem); }
  .hero__copy { gap: var(--space-4); }
  .hero__text { font-size: clamp(.95rem, 1.9vh, 1.0625rem); }
  .hero--blue .hero__grid { gap: var(--space-6); }
  .hero-cases { max-width: calc(var(--stage-h) * 1.5); }
  .hero-cases__stage { height: var(--stage-h); }
  .hero-case__photo { left: calc(var(--stage-h) * .17); width: calc(100% - var(--stage-h) * .17); bottom: calc(var(--stage-h) * .12); height: calc(var(--stage-h) * .88); }
  .hero-case__phone { height: calc(var(--stage-h) * .8); }
  .hero-case__chip { left: calc(var(--stage-h) * .44); bottom: 6px; width: min(270px, calc(100% - var(--stage-h) * .46)); padding: .7rem .9rem; }
  .hero-case__chip strong { font-size: clamp(.95rem, 2vh, 1.0625rem); }
  .hero-case__chip span:last-child { font-size: .75rem; }
  .hero__stats { margin-top: clamp(14px, 2.6vh, 28px); }
}
@media (max-width: 1023px) {
  .hero-skylines { left: -10%; right: -10%; top: 0; bottom: auto; height: 300px; }
}
@media (min-width: 1024px) {
  .hero-skylines { left: 16%; right: 18%; top: 4%; bottom: 110px; }
}
.hero-skyline[src$=".png"].is-active { opacity: .26; }
@media (max-width: 1023px) {
  .hero-skyline.is-active, .hero-skyline[src$=".png"].is-active { opacity: .16; }
}
@media (max-width: 479px) {
  .hero__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__stats .stat { padding: 14px 14px; }
  .hero__stats .stat:nth-child(even) { border-left: 1px solid var(--sasi-line) !important; }
  .hero__stats .stat:nth-child(n+3) { border-top: 1px solid var(--sasi-line); }
  .hero__stats .stat__label { font-size: .75rem; }
  .hero__stats .stat--seals .stat__seal { width: 44px; height: 44px; }
  .hero__stats .stars svg { width: 13px; height: 13px; }
}
@media (max-width: 479px) { .hero__stats .stat__num { font-size: 1.2rem; white-space: nowrap; } }

/* =========================================================
   Revisão 9 (PDF de correções) — Home e Governo
   ========================================================= */
.nowrap { white-space: nowrap; }
@media (max-width: 1023px) { .br-desk { display: none; } }

/* Governo · indicadores num balão só, alinhado à base do bento */
@media (min-width: 1024px) {
  .gov-hero__grid { align-items: stretch; }
  .gov-hero__copy { align-content: center; grid-template-rows: auto auto auto auto 1fr; }
  .gov-kpis { align-self: end; }
}
.gov-hero .gov-kpis {
  display: flex; align-items: center; gap: var(--space-5); width: fit-content; max-width: 100%;
  list-style: none; margin: var(--space-2) 0 0; padding: 16px 26px;
  background: var(--sasi-surface); border: 1px solid var(--sasi-line); border-radius: var(--radius-md); box-shadow: var(--shadow-sm);
}
.gov-kpis li { min-width: 0; }
.gov-kpis li + li { border-left: 1px solid var(--sasi-line); padding-left: var(--space-5); }
.gov-kpis__num { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.1; color: var(--sasi-ink); display: flex; align-items: center; gap: .4rem; font-variant-numeric: tabular-nums; }
.gov-kpis__num .stars { margin-left: 0; }
.gov-kpis__num .stars svg { width: 15px; height: 15px; }
.gov-kpis__label { font-size: var(--fs-xs); color: var(--sasi-muted); margin-top: .2rem; }
@media (max-width: 400px) { .gov-hero .gov-kpis { gap: var(--space-4); padding: 12px 14px; } .gov-kpis li + li { padding-left: var(--space-4); } .gov-kpis__num { font-size: 1.25rem; } }

/* Mega menu em 5 categorias */
@media (min-width: 1024px) { .mega__inner--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); } }

/* Tela real do app no Cidade na Mão */
.phone__screen--img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Cases com foto real */
img.case-photo { display: block; width: 100%; height: 190px; object-fit: cover; }
.kpis--one { grid-template-columns: 1fr; }

/* Rodapé · Segurança e Privacidade + Baixe o App */
.footer-title--spaced { margin-top: var(--space-5); }
.store-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.site-footer .store-badge {
  display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 14px 6px 12px;
  background: #000; color: #fff; border: 1px solid rgba(255,255,255,.35); border-radius: 10px; text-decoration: none;
}
.site-footer .store-badge:hover { border-color: #fff; text-decoration: none; color: #fff; }
.store-badge svg { width: 20px; height: 20px; flex: none; }
.store-badge span { display: grid; line-height: 1.1; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.store-badge small { font-family: var(--font-body); font-weight: 400; font-size: .62rem; letter-spacing: .02em; opacity: .85; }
.footer-cta { margin-top: var(--space-5); width: fit-content; }
.office .tel { margin-top: var(--space-3); line-height: 1.65; }
.office .tel a { color: #fff; }
.gov-hero__title .line { display: block; }
.gov-hero__title .line--big { font-size: 1.22em; line-height: 1; }
.gov-hero__title .accent { margin-top: .12em; }
@media (min-width: 1024px) {
  .gov-hero__title { font-size: clamp(1.6rem, 2.3vw, 2.35rem); }
  .gov-hero__title .line { white-space: nowrap; }
  .gov-hero__title .line--big { font-size: clamp(2.3rem, 3.6vw, 3.6rem); letter-spacing: -.03em; line-height: 1.04; }
  .gov-hero__copy { gap: var(--space-4); }
  .gov-hero__copy .hero__text { margin-top: 4px; }
}
.clients { padding-bottom: var(--space-5); }
.section--video { padding-top: var(--space-5); }

/* =========================================================
   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(247, 254, 239,.78) 65%, rgba(247, 254, 239,.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(129, 201, 40,.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(129, 201, 40,.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(167, 230, 90, .28), rgba(167, 230, 90, 0) 70%),
    linear-gradient(100deg, #fbfff7 0%, #f7feef 45%, #eefddb 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), #9de347); }
.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, #eefadf, #dff3c7);
}
.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(40, 61, 14,.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, #fbfff7 0%, #f7feef 60%, #f1fde2 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(167, 230, 90,.28), rgba(167, 230, 90,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, #fbfff7 0%, #f7feef 60%, #f0fddf 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 #273a10; box-shadow: 0 30px 60px rgba(40, 61, 14,.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: #273a10; }
.mock-phone__brand { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 0 12px; color: #3f5a1d; font-size: .8rem; line-height: 1; }
.mock-phone__brand svg { width: 28px; height: 28px; color: #3f5a1d; }
.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: #eaece8; font-size: .62rem; font-weight: 600; color: #3f5a1d; }
.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: #f8fbf4; 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(40, 61, 14,.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 #d2d9ca; }
.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(29, 45, 10, .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(29, 45, 10, .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(29, 45, 10,.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: #f3f8ee; 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: #f3f8ee; font-size: .55rem; font-weight: 600; color: #3f5a1d; }
.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: #f7faf3; }
.mock-console__bar i { width: 8px; height: 8px; border-radius: 50%; background: #dee2d9; }
.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: #3f5a1d; color: #d9e8c7; 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: #626e54; padding: 4px 0; border-bottom: 1px solid #f3f8ee; }
.st { border-radius: 99px; padding: 2px 6px; font-size: .5rem; font-weight: 700; text-align: center; }
.st--new { background: #f4fee7; color: var(--sasi-blue-deep); } .st--ok { background: #e2f4ee; color: #0d6b4f; } .st--prog { background: #fdf1de; color: #8a5300; } .st--ack { background: #f4fdea; color: #87c43c; }
.mock-console__detail { border-left: 1px solid #f3f8ee; 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: #f3f8ee; }
.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 #d2d9ca; }
.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: #cdf29f; 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(194, 250, 125, .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 #edf6e3;
  box-shadow: 0 8px 24px rgba(40, 61, 14, .08); animation: hub-pill 3s ease-out infinite;
  font-family: var(--font-display); font-weight: 700; font-size: .95rem; color: #2d3f16; 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: #405c1e; }
@keyframes hub-pill {
  0%, 40% { box-shadow: 0 8px 24px rgba(40, 61, 14, .08); border-color: #edf6e3; }
  46% { box-shadow: 0 0 0 4px rgba(79, 216, 255, .22), 0 0 26px rgba(79, 216, 255, .55); border-color: #ccfb93; }
  70%, 100% { box-shadow: 0 8px 24px rgba(40, 61, 14, .08); border-color: #edf6e3; }
}
.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(182, 249, 101, .42) 0%, rgba(182, 249, 101, .16) 38%, rgba(182, 249, 101, 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(189, 249, 116, .6); transform-style: preserve-3d; animation: hub-ring-a 9s linear infinite; box-shadow: 0 0 14px rgba(182, 249, 101, .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(203, 250, 145, .45); animation: hub-ring-b 14s linear infinite; box-shadow: 0 0 14px rgba(203, 250, 145, .25); }
.hub__ring--b::before { background: #f0fede; box-shadow: 0 0 10px 3px rgba(203, 250, 145, .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(194, 250, 125, .35), rgba(194, 250, 125, 0) 40%),
    radial-gradient(circle at 42% 36%, #7c8572 0%, #3a4132 38%, #16200a 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(212, 251, 164, .5), 0 0 46px rgba(176, 248, 87, .5), 0 34px 60px rgba(40, 61, 14, .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(198, 250, 135, .26) 52%, rgba(198, 250, 135, 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: #1f300b; }
.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: #e6fdcb; 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: #3b5a16; 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(40, 61, 14, .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(40, 61, 14, .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: #717c64; 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: #deeacf; }
.dept__icon { width: 19px; height: 19px; flex: none; color: #919a85; 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(129, 201, 40, .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(129, 201, 40, .5), rgba(129, 201, 40, 0) 70%),
    radial-gradient(45% 60% at 92% 95%, rgba(167, 230, 90, .4), rgba(167, 230, 90, 0) 70%),
    linear-gradient(100deg, #ffffff 0%, #ffffff 30%, #f4fee7 50%, #d3f5a9 72%, #6fa82a 90%, #93db3b 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: #616b54; 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(40, 61, 14, .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(40, 61, 14, .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(40, 61, 14, .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(40, 61, 14, .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%, #f0fee0 55%, #c4f08e 80%, #9ee04d 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, #f5feeb 0%, #fafff4 45%, #e9fbf0 100%); border-block: 1px solid #ecf6df; }
.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(40, 61, 14, .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(216, 252, 172, .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: #17200b;
  box-shadow: 0 0 0 1.5px #4f5844, 0 24px 40px rgba(19, 30, 5, .5); transform-origin: 50% 100%; 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: #17200b; }
.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(29, 45, 10, .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(29, 45, 10, .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: #f6fbf1; 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: #f7fbf3; font-family: var(--font-display); font-weight: 600; font-size: .85rem; color: #727b66; }
.lead__steps b { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #eaf3df; color: #5a644e; 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 #e7f1db; 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: #424c35; }
.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 #e1ecd3; 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(129, 201, 40, .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, #53584e 0%, #171a14 22%, #0f100d 70%, #33372e 100%);
  box-shadow: 0 0 0 2px #b5baaf, 0 0 0 3.5px #32362d, inset 0 0 0 1px rgba(255,255,255,.18), 0 40px 70px -20px rgba(29, 45, 10, .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: #080906; box-shadow: inset 0 0 0 1px #242720; }
.phx::after { content: ""; position: absolute; left: -3.5px; top: 18%; width: 3.5px; height: 6%; border-radius: 3px 0 0 3px; background: #a6ac9f; box-shadow: 0 calc(var(--phx-w, 260px) * .16) 0 #a6ac9f, 0 calc(var(--phx-w, 260px) * .32) 0 #a6ac9f; }
.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(175, 248, 86, .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(129, 201, 40, .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(40, 61, 14, .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: #727b66; 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: #eff6e6; 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, #477d05, #aff856); 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: #f7feef; color: #477d05; font-weight: 700; font-size: .68rem; border: 1px solid #eafbd6; 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(129, 201, 40, .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: #424c35; }
.fw--check li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; border: 1.5px solid #cbd4c1; 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: #f3f8ee; border-bottom-left-radius: 4px; }
.fw__dots { display: inline-flex; gap: 3px; } .fw__dots i { width: 5px; height: 5px; border-radius: 50%; background: #919a85; 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: #f8fdf1; border: 1px solid #ebf5df; }
.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 #edf6e3; }
.fw__barcode { display: block; height: 16px; margin-top: 5px; background: repeating-linear-gradient(90deg, #273a0f 0 2px, transparent 2px 4px, #273a0f 4px 5px, transparent 5px 8px, #273a0f 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(168, 247, 72, .35), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgba(176, 248, 87, .25), transparent 60%), linear-gradient(180deg, #21330b 0%, #2f4a0e 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: #d7efb9; }
.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, #a6f743, #22d3ee); box-shadow: 0 6px 16px -4px rgba(166, 247, 67, .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: #c3fa7f; box-shadow: 0 0 0 3px rgba(195, 250, 127, .3); }
.segx__search svg { width: 18px; height: 18px; color: #d7efb9; 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: #d7efb9; }
.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(37, 58, 12, 0), #29400d); 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: #effedc; 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%, #21330b); 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: #d7efb9; 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(129, 201, 40, .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, #477d05, #a1f739); --ico-glow: rgba(161, 247, 57, .6); }
.segx__ico--g2 { background: linear-gradient(135deg, #9de546, #a855f7); --ico-glow: rgba(167, 240, 77, .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, #6ec108, #22d3ee); --ico-glow: rgba(134, 233, 14, .55); }
.segx__ico--g7 { background: linear-gradient(135deg, #9ced3a, #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, #84d81d, #c2f881); --ico-glow: rgba(168, 240, 80, .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: #e0f5c7; 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(76, 120, 22, .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(40, 61, 14, .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, #477d05), color-mix(in srgb, var(--seg, #477d05) 55%, #c5fa84)); box-shadow: 0 6px 14px -6px var(--seg, #477d05); 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: #3d4f26; 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, #f8fcf4, #fff); border-color: #ecf4e3; --seg: #477d05; }
.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%, #ecf4e3); 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, #477d05) 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, #477d05, #aff856); }
.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, #69a81d, #a1f737 70%, #aff856); -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: #616b54; 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(40, 61, 14, .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: #e0f5c7; 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(40, 61, 14, .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, #292e22 0%, #131a0b 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(40, 61, 14, .55), 0 2px 4px rgba(40, 61, 14, .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(40, 61, 14, .6), 0 2px 4px rgba(40, 61, 14, .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(40, 61, 14, .14)); }
.hx-seals--gov figcaption { font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #616b54; }
@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(40, 61, 14, .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(40, 61, 14, .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% 100%; }
.hx-trio__p--1 { transform: translateX(34%) scale(.8) rotate(7deg); transform-origin: 50% 100%; }
.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(40, 61, 14, .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: #f5f7f3; }
.segx-section::before { background-image: linear-gradient(rgba(40, 61, 14,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(40, 61, 14,.04) 1px, transparent 1px); }
.segx-section .section-title { color: var(--sasi-ink); }
.segx-section .section-sub { color: #616b54; }
.segx-section .segx { background: #fff; border-color: #e9ede4; box-shadow: 0 30px 70px -36px rgba(40, 61, 14, .35); backdrop-filter: none; }
.segx-section .segx__labels { border-bottom-color: #eef1ea; }
.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: #eef1ea; }
.segx-section .segx__col--seg { background: #fafcf8; }
.segx-section .segx__search { background: #fff; border-color: #e6eae1; }
.segx-section .segx__search svg, .segx-section .segx__search input::placeholder { color: #7f8874; }
.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(250, 252, 248,0), #fafcf8); }
.segx-section .segx__seg { color: var(--sasi-ink); background: #fff; border-color: #eaeee6; }
.segx-section .segx__seg:hover { background: #f6fbf1; 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: #616b54; background: #f3f7ee; }
.segx-section .segx__empty { color: #7f8874; }
.segx-section .segx__more { color: var(--sasi-ink); background: #fff; border-color: #e6eae1; }
.segx-section .segx__sol { color: var(--sasi-ink); background: #fff; border-color: #eaeee6; }
.segx-section .segx__sol:hover { background: #f9fcf5; }
.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: #aab1a1; }
.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, #fdfefb, #f6faf1); }
.segx-section .segx__feat-head h3 { color: var(--sasi-ink); }
.segx-section .segx__feat-head p { color: #616b54; }
.segx-section .segx__bullets li { color: var(--sasi-ink); }
.segx-section .segx__orb { box-shadow: 0 0 0 14px rgba(40, 61, 14,.04), 0 0 0 30px rgba(40, 61, 14,.025), 0 30px 60px -24px rgba(40, 61, 14,.35); }
@media (max-width: 1023px) { .segx-section .segx__col--seg, .segx-section .segx__col--sol { border-bottom-color: #eef1ea; } }

/* 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(230, 253, 203, .32); }
.orbit--dark .orbit__glow { background: radial-gradient(circle, rgba(175, 248, 86, .45), rgba(79, 216, 255, .14) 45%, transparent 70%); }
.orbit--dark .phx__screen { background: #1f300b; }
.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: #616b54; }
@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, #f9faf8 0%, #f1f3ee 100%); border: 1px solid #e6e9e2;
  box-shadow: 0 1px 0 #fff inset, 0 8px 18px -10px rgba(40, 61, 14, .35), 0 1px 2px rgba(40, 61, 14, .08); }
.store-badge:hover { background: linear-gradient(180deg, #fff 0%, #f5f6f3 100%); box-shadow: 0 1px 0 #fff inset, 0 14px 24px -12px rgba(40, 61, 14, .4), 0 1px 2px rgba(40, 61, 14, .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: #616b54; 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(40, 61, 14, .5), 0 2px 6px rgba(40, 61, 14, .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: #d7efb9; 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: #3b5a16; border-color: rgba(59, 90, 22, .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, #f9faf8 0%, #f1f3ee 100%); border: 1px solid #e6e9e2; 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%, #f5f6f3 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: #616b54; 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(40, 61, 14, .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(168, 247, 72, .35), transparent 60%), radial-gradient(50% 90% at 0% 100%, rgba(176, 248, 87, .22), transparent 60%), linear-gradient(180deg, #21330b, #2f4a0e); }
.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: #def5c3; }
.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: #21330b; background: #d3fba3; 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: #b9e87f; stroke-opacity: .42; stroke-width: .55; stroke-linecap: round; }
.nxmap__arc { fill: none; stroke: url(#nxgrad); stroke: #ccfb93; 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 #ccfb93); }
.nxmap__badge { fill: #fff; stroke: rgba(204, 251, 147, .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: #f0fee0; 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(40, 61, 14, .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: #616b54; 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: #d6ddce; 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: #707964; }
.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, #477d05) 82%, #000); }
.nx__meta time::before { content: "·"; margin-right: 8px; color: #b2b9aa; }
.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, #477d05), color-mix(in srgb, var(--ed, #477d05) 55%, #21330b)); }
.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 #e6eae1; }
.nx-search:focus-within { border-color: var(--sasi-blue); box-shadow: 0 0 0 3px rgba(129, 201, 40, .18); }
.nx-search svg { width: 18px; height: 18px; color: #7f8874; 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: #707964; }
.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 #eaeee6; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.nx:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -26px rgba(40, 61, 14, .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: #f3f7ee; }
.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: #707964; 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: #707964; }
.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: #707964; }
@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: #3b5a16; }
.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: #477d05; 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: #477d05; 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: #477d05; }
.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, #477d05), color-mix(in srgb, var(--ed, #477d05) 55%, #21330b)); }
@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: #f5feeb; }
.bot-icon img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); }
.bot-icon:hover { background: #f0fee0; border-color: var(--sasi-blue); transform: translateY(-1px); }
.bot-icon[aria-expanded="true"] { display: grid; box-shadow: 0 0 0 3px rgba(129, 201, 40, .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; } }

