/* =====================================================================
   ITAPREVI · Portal · Salazar DS
   Camadas: tokens → base → components → sections → utilities
   Regra da casa: neutros dominam, o azul tempera, o laranja é a pessoa.
   ===================================================================== */
@layer tokens, base, components, sections, utilities;


@layer tokens {
  :root {
    --brand: #0A6CC0; --brand-hover: #0B5CA6; --brand-deep: #123A8C; --brand-sky: #0E9BDD; --sky-on-dark: #5CC0F2;
    --sun: #F39A2C; --sun-ink: #1B1206; --sun-hover: #F7AE52; --orbit: #C3C8D0;
    --ink: #0D1726; --ink-2: #44526A; --ink-3: #6B778C;
    --paper: #FFFFFF; --paper-2: #F2F5F9; --paper-3: #E6ECF3;
    --night: #071327; --night-2: #0C1D3A; --night-3: #19304F;
    --line: #DFE6EE; --line-dark: rgba(255,255,255,.14);
    --ok: #12804F;
    --font-display: "Archivo", system-ui, sans-serif;
    --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
    --fw-display: 640; --wd-display: 112%; --tr-display: -.032em;
    --fs-body: clamp(1.0625rem, .3vw + 1rem, 1.1875rem);
    --fs-lead: clamp(1.1875rem, 1.3vw + .6rem, 1.375rem);
    --fs-small: 1rem; --fs-micro: .875rem;
    --fs-hero: clamp(2.9rem, 6.6vw, 6.4rem);
    --fs-h2: clamp(2.3rem, 4.4vw, 4.4rem);
    --r-sm: 14px; --r-md: 20px; --r-lg: 28px; --r-xl: 44px;
    --w: 1280px; --pad: clamp(20px, 4vw, 40px);
    --sh-card: 0 40px 80px -48px rgba(7,19,39,.5), 0 2px 6px rgba(7,19,39,.06);
    --sh-ui: 0 24px 50px -24px rgba(7,19,39,.45), 0 1px 2px rgba(7,19,39,.08);
    --ease: cubic-bezier(.22,.8,.24,1); --ease-in-out: cubic-bezier(.65,0,.35,1);
    --a11y-h: 40px; --hdr-h: 76px;
  }
  /* temas de seção: o header lê data-theme para trocar de pele */
  [data-theme="dark"] { --fg: #fff; --fg-2: rgba(255,255,255,.76); --fg-3: rgba(255,255,255,.56); --bg: var(--night); --em: var(--sky-on-dark); --hair: var(--line-dark); color: var(--fg); }
  [data-theme="light"], [data-theme="mist"] { --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3); --bg: var(--paper); --em: var(--brand); --hair: var(--line); color: var(--fg); }
  [data-theme="mist"] { --bg: var(--paper-2); }

  html[data-fs="-1"] { font-size: 93.75%; }
  html[data-fs="1"] { font-size: 112.5%; }
  html[data-fs="2"] { font-size: 125%; }

  :root[data-contrast="high"] {
    --ink: #000; --ink-2: #000; --ink-3: #1a1a1a; --paper-2: #fff; --paper-3: #fff; --line: #000;
    --brand: #003F8A; --night: #000; --night-2: #000; --night-3: #000; --sun: #FFB000; --sky-on-dark: #FFE14D;
  }
}

@layer base {
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
  body { margin: 0; font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
  img, video, canvas, svg { display: block; max-width: 100%; }
  img { height: auto; }
  a { color: inherit; }
  h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: var(--fw-display); font-stretch: var(--wd-display); letter-spacing: var(--tr-display); line-height: 1.04; text-wrap: balance; }
  p { margin: 0; text-wrap: pretty; }
  button, input, select { font: inherit; color: inherit; }
  button { cursor: pointer; }
  :focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 6px; }
  ::selection { background: var(--sun); color: var(--sun-ink); }
  main:focus { outline: none; }
  .sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
  .ic-s { fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  .ic-d { fill: var(--sun); }
  .ico { width: 1.25em; height: 1.25em; flex: none; }
  .sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .wrap { width: 100%; max-width: calc(var(--w) + var(--pad) * 2); margin-inline: auto; padding-inline: var(--pad); }
  kbd { font-family: var(--font-display); font-size: .75em; padding: 1px 6px; border-radius: 5px; border: 1px solid currentColor; opacity: .7; }
  :root[data-contrast="high"] a:not(.btn) { text-decoration: underline; }
  :root[data-contrast="high"] .card, :root[data-contrast="high"] .card-ui, :root[data-contrast="high"] .chip-ui { border: 2px solid #000 !important; }
}

@layer components {
  /* Tipo */
  .t-hero { font-size: var(--fs-hero); line-height: .98; letter-spacing: -.038em; }
  .t-hero .ln { display: block; }
  .t-h2 { font-size: var(--fs-h2); line-height: 1; }
  em { font-style: italic; }
  .t-hero em, .t-h2 em { font-weight: 560; color: var(--em); }
  .t-lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--fg-2); max-width: 36ch; }

  /* Botões */
  .btn { --bh: 56px; display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: var(--bh); padding: 0 1.5em; border-radius: 999px; border: 0; font-family: var(--font-display); font-weight: 620; font-stretch: 104%; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
  .btn .ico { width: 1.15em; height: 1.15em; transition: transform .3s var(--ease); }
  .btn:hover .ico { transform: translateX(3px); }
  .btn:active { transform: scale(.98); }
  .btn-sun { background: var(--sun); color: var(--sun-ink); box-shadow: 0 14px 30px -14px rgba(243,154,44,.8); }
  .btn-sun:hover { background: var(--sun-hover); }
  .btn-ink { background: var(--ink); color: #fff; }
  .btn-ink:hover { background: var(--brand-deep); }
  [data-theme="dark"] .btn-ink { background: #fff; color: var(--ink); }
  .btn-line { background: transparent; color: var(--fg, var(--ink)); box-shadow: inset 0 0 0 1.5px currentColor; }
  .btn-line:hover { background: color-mix(in srgb, currentColor 8%, transparent); }
  .btn-glass { background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
  .btn-glass:hover { background: rgba(255,255,255,.2); }
  .btn-sm { --bh: 44px; font-size: .9375rem; padding: 0 1.15em; }
  .ic-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: inherit; transition: background .2s; }
  .ic-btn:hover { background: color-mix(in srgb, currentColor 12%, transparent); }
  .ic-btn .ico { width: 22px; height: 22px; }

  /* Cartões e camadas de interface sobre foto (assinatura BScash) */
  .card { background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--sh-card); color: var(--ink); }
  .card-ui { background: #fff; color: var(--ink); border-radius: var(--r-md); box-shadow: var(--sh-ui); }
  .chip-ui { position: absolute; display: flex; align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); border-radius: 18px; box-shadow: var(--sh-ui); font-size: .9375rem; line-height: 1.25; white-space: nowrap; z-index: 3; }
  .chip-ui b { display: block; font-family: var(--font-display); font-weight: 640; font-stretch: 106%; letter-spacing: -.01em; }
  .chip-ui small { display: block; color: var(--ink-3); font-size: .8125rem; }
  .c { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; background: #E6F0FA; color: var(--brand); }
  .c .ico { width: 20px; height: 20px; }
  .c.sun { background: #FFF1DE; color: #A85F05; }
  .c.ok { background: #E3F4EA; color: var(--ok); }

  .chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-2); font-size: .9375rem; transition: background .2s, color .2s, border-color .2s; }
  .chip:hover { border-color: var(--ink-3); }
  .chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }

  /* Barra de progresso dos destaques que trocam sozinhos */
  .tab-bar { position: absolute; left: 18px; right: 18px; bottom: 0; height: 3px; border-radius: 3px; background: transparent; overflow: hidden; }
  .tab-bar i { display: block; height: 100%; width: 100%; background: var(--sun); transform: scaleX(0); transform-origin: left; }
  [aria-selected="true"] > .tab-bar { background: color-mix(in srgb, var(--ink) 10%, transparent); }

  .sec-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
  .sec-head > p { color: var(--fg-2); font-size: var(--fs-lead); max-width: 34ch; justify-self: end; }
  .section { padding-block: clamp(84px, 10vw, 150px); }
}

/* =====================================================================
   SEÇÕES
   ===================================================================== */
@layer sections {

/* ---------- Barra de acessibilidade ---------- */
.a11y { position: relative; z-index: 60; background: var(--night); color: rgba(255,255,255,.82); font-size: .875rem; height: var(--a11y-h); }
.a11y-in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.skips { display: flex; gap: 22px; }
.skips a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.skips a:hover { color: #fff; text-decoration: underline; }
.a11y-tools { display: flex; align-items: center; gap: 6px; }
.fs { display: inline-flex; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; overflow: hidden; margin-right: 6px; }
.fs button { border: 0; background: transparent; color: inherit; height: 30px; min-width: 38px; font-family: var(--font-display); font-weight: 620; }
.fs button + button { border-left: 1px solid rgba(255,255,255,.2); }
.fs button:hover { background: rgba(255,255,255,.1); }
.a11y-btn { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; height: 32px; padding: 0 10px; border-radius: 999px; }
.a11y-btn:hover, .a11y-btn[aria-pressed="true"], .a11y-btn[aria-expanded="true"] { background: rgba(255,255,255,.12); color: #fff; }
.a11y-btn .ico { width: 18px; height: 18px; }
.libras-pop { position: absolute; right: var(--pad); top: calc(var(--a11y-h) + 8px); width: min(360px, calc(100vw - 32px)); padding: 18px 20px; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: var(--sh-card); z-index: 80; display: grid; gap: 12px; font-size: 1rem; }
.libras-pop[hidden] { display: none; }

/* ---------- Header ---------- */
.hdr { position: fixed; z-index: 50; left: 0; right: 0; top: var(--a11y-h); height: var(--hdr-h); color: #fff; transition: top .35s var(--ease), background .35s, color .35s, box-shadow .35s, transform .45s var(--ease); }
.hdr.is-stuck { top: 0; }
.hdr.is-solid { background: rgba(7,19,39,.72); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.hdr.on-light { color: var(--ink); background: rgba(255,255,255,.86); box-shadow: 0 1px 0 var(--line); }
.hdr.is-hidden { transform: translateY(-110%); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { position: relative; display: block; height: 52px; flex: none; }
.brand img { height: 100%; width: auto; transition: opacity .3s; }
.brand .logo-pos { position: absolute; inset: 0; opacity: 0; }
.hdr.on-light .brand .logo-neg { opacity: 0; }
.hdr.on-light .brand .logo-pos { opacity: 1; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-family: var(--font-display); font-weight: 560; font-stretch: 104%; font-size: 1rem; padding: 10px 14px; border-radius: 999px; transition: background .2s; }
.nav a:hover, .nav a[aria-current="page"] { background: color-mix(in srgb, currentColor 11%, transparent); }
.hdr-tools { display: flex; align-items: center; gap: 4px; }
.hdr-cta { margin-left: 8px; }
.menu-btn { display: none; }

/* ---------- Drawer, busca ---------- */
.drawer { position: fixed; inset: 0; z-index: 90; background: rgba(7,19,39,.5); }
.drawer[hidden], .search-dlg[hidden] { display: none; }
.drawer-in { position: absolute; inset: 0 0 0 auto; width: min(420px, 100%); background: var(--night); padding: 20px 24px 32px; display: flex; flex-direction: column; gap: 24px; overflow: auto; animation: slideIn .4s var(--ease); }
.drawer-top { display: flex; justify-content: space-between; align-items: center; }
.drawer nav { display: grid; }
.drawer nav a { text-decoration: none; font-family: var(--font-display); font-weight: 600; font-stretch: 108%; font-size: 1.5rem; letter-spacing: -.02em; padding: 14px 0; border-bottom: 1px solid var(--line-dark); }
.drawer-foot { display: grid; gap: 10px; margin-top: auto; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } }
.search-dlg { position: fixed; inset: 0; z-index: 95; background: rgba(7,19,39,.62); backdrop-filter: blur(6px); display: grid; place-items: start center; padding: 12vh 16px 16px; }
.search-box { width: min(720px, 100%); background: #fff; border-radius: 28px; padding: 24px; box-shadow: var(--sh-card); animation: pop .35s var(--ease); }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } }
.search-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.search-head h2 { font-size: 1.6rem; }
.search-field { display: flex; align-items: center; gap: 12px; height: 64px; padding: 0 20px; border-radius: 18px; background: var(--paper-2); border: 1.5px solid var(--line); }
.search-field:focus-within { border-color: var(--brand); }
.search-field input { flex: 1; border: 0; background: transparent; outline: none; font-size: 1.15rem; }
.search-res { list-style: none; margin: 12px 0 0; padding: 0; max-height: 50vh; overflow: auto; }
.search-res a { display: flex; gap: 14px; align-items: center; padding: 14px 12px; border-radius: 14px; text-decoration: none; }
.search-res a:hover, .search-res a:focus-visible { background: var(--paper-2); }
.search-res b { display: block; font-family: var(--font-display); font-weight: 620; }
.search-res small { color: var(--ink-3); }
.search-res .empty { padding: 14px 12px; color: var(--ink-2); }

/* ---------- 1 · Hero com vídeo no scroll ---------- */
.hero { position: relative; height: 240vh; background: var(--night); margin-top: calc(var(--a11y-h) * -1); }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.hero-poster, .hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-canvas { opacity: 0; transition: opacity .6s; }
.hero.is-ready .hero-canvas { opacity: 1; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,19,39,.86) 0%, rgba(7,19,39,.55) 34%, rgba(7,19,39,0) 64%), linear-gradient(0deg, rgba(7,19,39,.75) 0%, rgba(7,19,39,0) 42%), linear-gradient(180deg, rgba(7,19,39,.55) 0%, rgba(7,19,39,0) 22%); }
.hero-orbit { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-in { position: absolute; left: 0; right: 0; bottom: clamp(110px, 17vh, 190px); }
.hero-in .t-hero { max-width: none; font-size: clamp(2.8rem, 6.1vw, 6rem); }
.hero-lead { margin-top: 26px; max-width: 46ch; font-size: var(--fs-lead); line-height: 1.5; color: rgba(255,255,255,.84); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-meta { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: space-between; align-items: center; font-size: .9375rem; color: rgba(255,255,255,.72); }
.hero-meta .place { display: inline-flex; gap: 8px; align-items: center; }
.cue { display: inline-flex; align-items: center; gap: 12px; }
.cue i { width: 26px; height: 42px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.55); position: relative; }
.cue i::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--sun); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

/* ---------- 2 · Header vivo ---------- */
.live { position: relative; z-index: 4; margin-top: -58vh; padding-bottom: clamp(70px, 8vw, 120px); background: linear-gradient(180deg, transparent 0 58vh, var(--paper) 58vh); }
.live-panel { display: grid; grid-template-columns: minmax(300px, .82fr) 1.18fr; gap: clamp(24px, 3vw, 48px); padding: clamp(22px, 3vw, 44px); background: var(--paper); border-radius: var(--r-xl); box-shadow: 0 60px 120px -60px rgba(7,19,39,.65), 0 2px 8px rgba(7,19,39,.08); }
.live-side { display: flex; flex-direction: column; gap: 26px; padding: 10px 0 4px; }
.live-side .t-h2 { font-size: clamp(2.1rem, 3.5vw, 3.5rem); }
.live-tabs { display: grid; gap: 8px; }
.live-tabs [role="tab"] { position: relative; display: grid; grid-template-columns: 48px 1fr; align-items: center; gap: 14px; text-align: left; padding: 12px 16px 14px 12px; border-radius: 18px; border: 1px solid transparent; background: transparent; transition: background .3s, border-color .3s; }
.live-tabs [role="tab"]:hover { background: var(--paper-2); }
.live-tabs [aria-selected="true"] { background: var(--paper-2); border-color: var(--line); }
.tab-ic { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--paper-2); color: var(--ink-2); transition: background .3s, color .3s, transform .4s var(--ease); }
.tab-ic .ico { width: 24px; height: 24px; }
[aria-selected="true"] .tab-ic { background: var(--brand); color: #fff; transform: rotate(-6deg); }
[aria-selected="true"] .tab-ic .ic-d { fill: var(--sun); }
.tab-tx b { display: block; font-family: var(--font-display); font-weight: 620; font-stretch: 106%; font-size: 1.0625rem; letter-spacing: -.012em; line-height: 1.2; }
.tab-tx small { display: block; color: var(--ink-3); font-size: .9375rem; margin-top: 2px; }
.live-toggle { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; color: var(--ink-3); font-size: .9375rem; padding: 8px 4px; min-height: 44px; }
.live-toggle .ico { width: 16px; height: 16px; }
.live-toggle .i-pl, .live-toggle[aria-pressed="true"] .i-pa { display: none; }
.live-toggle[aria-pressed="true"] .i-pl { display: block; }
.live-toggle:hover { color: var(--ink); }

.live-stage { position: relative; min-height: 640px; border-radius: 32px; background: radial-gradient(120% 90% at 85% 0%, #E4EEF8 0%, var(--paper-2) 55%); overflow: hidden; isolation: isolate; }
.slide { position: absolute; inset: 0; display: grid; grid-template-rows: 1fr auto; }
.slide[hidden] { display: none; }
.demo { position: relative; overflow: hidden; }
.slide-copy { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 10px 28px; padding: 0 32px 30px; }
.slide-copy h3 { grid-column: 1 / -1; font-size: clamp(1.7rem, 2.2vw, 2.2rem); }
.slide-copy p { color: var(--ink-2); max-width: 44ch; }
.slide.is-on .slide-copy > * { animation: rise .7s var(--ease) both; }
.slide.is-on .slide-copy > :nth-child(2) { animation-delay: .06s; }
.slide.is-on .slide-copy > :nth-child(3) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes floatIn { from { opacity: 0; transform: translate3d(0, 34px, 0) scale(.96); } }
@keyframes floatY { 50% { transform: translateY(-8px); } }
.eg { position: absolute; right: 22px; top: 18px; font-size: .8125rem; color: var(--ink-3); }

.orbit-bg { position: absolute; inset: -10% -10% auto; height: 120%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400'%3E%3Cellipse cx='300' cy='200' rx='280' ry='110' transform='rotate(-16 300 200)' fill='none' stroke='%23C3C8D0' stroke-width='2'/%3E%3Cellipse cx='300' cy='200' rx='220' ry='80' transform='rotate(-16 300 200)' fill='none' stroke='%23C3C8D0' stroke-opacity='.5' stroke-width='1' stroke-dasharray='2 9' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; opacity: .9; }

/* demo · contracheque */
.pay { position: absolute; left: 50%; top: 52%; width: min(400px, 78%); padding: 22px 24px 20px; transform: translate(-50%, -50%) rotate(-2deg); }
.slide.is-on .pay { animation: floatIn .8s var(--ease) both; }
.pay header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 6px; border-bottom: 1px dashed var(--line); }
.pay header b { display: block; font-family: var(--font-display); font-weight: 640; font-size: 1.1rem; }
.pay header small { color: var(--ink-3); font-size: .875rem; }
.pay-logo { width: 40px; height: 40px; border-radius: 12px; background: var(--paper-2); display: grid; place-items: center; flex: none; }
.pay-logo img { width: 30px; }
.pay-ok { margin-left: auto; font-size: .8125rem; font-weight: 700; color: var(--ok); background: #E3F4EA; padding: 4px 10px; border-radius: 99px; }
.pay-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 1rem; color: var(--ink-2); }
.pay-row b { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; }
.pay-row b.neg { color: #B4471B; }
.pay-row.tot { margin-top: 6px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 700; }
.pay-row.tot b { font-size: 1.45rem; color: var(--brand); }
.slide.is-on .pay-row { animation: rise .6s var(--ease) both; }
.slide.is-on .pay-row:nth-of-type(2) { animation-delay: .25s; } .slide.is-on .pay-row:nth-of-type(3) { animation-delay: .4s; } .slide.is-on .pay-row:nth-of-type(4) { animation-delay: .55s; } .slide.is-on .pay-row:nth-of-type(5) { animation-delay: .7s; }
.pay-pdf { display: inline-flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .875rem; font-weight: 700; color: var(--brand); }
.pay-pdf .ico { width: 18px; height: 18px; }
.float-a { right: 7%; top: 13%; }
.slide.is-on .float-a { animation: floatIn .7s .9s var(--ease) both, floatY 5s 1.6s ease-in-out infinite; }

/* demo · prova de vida */
.pv-photo { position: absolute; inset: 22px 22px 0; margin: 0; border-radius: 24px; overflow: hidden; }
.pv-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.slide.is-on .pv-photo img { animation: kb 9s ease-out both; }
@keyframes kb { from { transform: scale(1.12); } }
.phone-ui { position: absolute; right: 9%; top: 9%; width: 210px; padding: 14px; border-radius: 26px; }
.slide.is-on .phone-ui { animation: floatIn .8s .2s var(--ease) both; }
.ph-bar { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 640; font-size: .9375rem; }
.ph-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); }
.ph-face { margin: 12px auto; width: 140px; }
.ph-face .ring { transform-origin: 60px 60px; animation: spin 7s linear infinite; }
.ph-face .scan { animation: scan 2.2s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(78px); } }
.ph-ok { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: var(--paper-2); font-size: .8125rem; line-height: 1.25; }
.ph-ok b { display: block; font-size: .875rem; }
.ph-ok small { color: var(--ink-3); }
.slide.is-on .ph-ok { animation: rise .6s 1.8s var(--ease) both; }

/* demo · simulador */
.sm-orbit { position: absolute; left: 50%; top: 46%; width: min(560px, 92%); transform: translate(-50%, -50%); overflow: visible; }
.sm-date { position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%); padding: 18px 26px; text-align: center; border-radius: 22px; }
.sm-date small { display: block; color: var(--ink-3); font-size: .875rem; }
.sm-date b { display: block; font-family: var(--font-display); font-weight: 640; font-stretch: 112%; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1.05; }
.sm-date em { color: var(--brand); font-weight: 560; }
.slide.is-on .sm-date { animation: floatIn .8s .3s var(--ease) both; }
.float-b { left: 8%; bottom: 10%; }
.slide.is-on .float-b { animation: floatIn .7s .8s var(--ease) both, floatY 6s 1.5s ease-in-out infinite; }

/* demo · extrato */
.ex-card { position: absolute; left: 50%; top: 48%; width: min(440px, 82%); padding: 22px 24px; transform: translate(-50%, -50%); }
.slide.is-on .ex-card { animation: floatIn .8s var(--ease) both; }
.ex-card header b { display: block; font-family: var(--font-display); font-weight: 640; font-size: 1.15rem; }
.ex-card header small { color: var(--ink-3); font-size: .8125rem; }
.ex-bars { height: 150px; display: flex; align-items: flex-end; gap: 10px; margin-top: 20px; }
.ex-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--brand-sky), var(--brand)); transform-origin: bottom; }
.slide.is-on .ex-bars i { animation: grow .9s var(--ease) both; }
.slide.is-on .ex-bars i:nth-child(2) { animation-delay: .06s; } .slide.is-on .ex-bars i:nth-child(3) { animation-delay: .12s; } .slide.is-on .ex-bars i:nth-child(4) { animation-delay: .18s; } .slide.is-on .ex-bars i:nth-child(5) { animation-delay: .24s; } .slide.is-on .ex-bars i:nth-child(6) { animation-delay: .3s; } .slide.is-on .ex-bars i:nth-child(7) { animation-delay: .36s; } .slide.is-on .ex-bars i:nth-child(8) { animation-delay: .42s; }
@keyframes grow { from { transform: scaleY(0); } }
.ex-line { position: absolute; left: 24px; right: 24px; bottom: 22px; height: 150px; width: calc(100% - 48px); }
.ex-line path { stroke-dasharray: 420; stroke-dashoffset: 420; }
.slide.is-on .ex-line path { animation: draw 1.4s .5s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.ex-tags { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); display: flex; gap: 8px; }
.ex-tags span { padding: 6px 12px; border-radius: 99px; background: #fff; box-shadow: var(--sh-ui); font-family: var(--font-display); font-weight: 640; font-size: .8125rem; color: var(--ink-2); }
.slide.is-on .ex-tags span { animation: rise .5s var(--ease) both; }
.slide.is-on .ex-tags span:nth-child(2) { animation-delay: .9s; } .slide.is-on .ex-tags span:nth-child(1) { animation-delay: .8s; } .slide.is-on .ex-tags span:nth-child(3) { animation-delay: 1s; } .slide.is-on .ex-tags span:nth-child(4) { animation-delay: 1.1s; }
.float-c { right: 6%; top: 9%; }
.slide.is-on .float-c { animation: floatIn .7s .6s var(--ease) both, floatY 6s 1.3s ease-in-out infinite; }

/* demo · ouvidoria */
.chat { position: absolute; left: 50%; top: 50%; width: min(420px, 84%); padding: 18px; transform: translate(-50%, -50%); display: grid; gap: 10px; }
.slide.is-on .chat { animation: floatIn .7s var(--ease) both; }
.chat-head { display: flex; align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); font-family: var(--font-display); }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 1rem; line-height: 1.4; }
.msg.me { justify-self: end; background: var(--brand); color: #fff; border-bottom-right-radius: 6px; }
.msg.it { background: var(--paper-2); border-bottom-left-radius: 6px; }
.msg.typing { display: inline-flex; gap: 5px; width: max-content; background: var(--paper-2); }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: dots 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; } .msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dots { 50% { transform: translateY(-4px); opacity: .4; } }
.proto { display: inline-flex; align-items: center; gap: 8px; justify-self: start; padding: 8px 14px; border-radius: 99px; background: #E3F4EA; color: var(--ok); font-weight: 700; font-size: .875rem; }
.proto .ico { width: 18px; height: 18px; }
.slide.is-on .msg.me { animation: rise .5s .3s var(--ease) both; }
.slide.is-on .msg.typing { animation: typingLife 1.6s .8s both; }
@keyframes typingLife { 0% { opacity: 0; max-height: 0; padding-block: 0; } 10%, 80% { opacity: 1; max-height: 40px; padding-block: 12px; } 100% { opacity: 0; max-height: 0; padding-block: 0; margin-top: -10px; } }
.slide.is-on .msg.it { animation: rise .6s 2.3s var(--ease) both; }
.slide.is-on .proto { animation: rise .6s 2.9s var(--ease) both; }

/* demo · documentos */
.dc-search { position: absolute; left: 50%; top: 20%; width: min(420px, 84%); height: 60px; transform: translateX(-50%); display: flex; align-items: center; gap: 12px; padding: 0 20px; border-radius: 18px; font-size: 1.05rem; }
.dc-search .ico { color: var(--ink-3); }
.caret { width: 2px; height: 22px; background: var(--brand); animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }
.dc-fan { position: absolute; left: 50%; top: 58%; width: 0; height: 0; }
.dc-doc { position: absolute; width: 210px; padding: 18px; left: -105px; top: -70px; display: grid; gap: 6px; }
.dc-doc .ico { width: 34px; height: 34px; color: #C2410C; }
.dc-doc b { font-family: var(--font-display); font-weight: 620; font-size: 1rem; line-height: 1.2; }
.dc-doc small { color: var(--ink-3); font-size: .8125rem; }
.dc-doc:nth-child(1) { --r: -9deg; --x: -150px; --y: 12px; z-index: 1; }
.dc-doc:nth-child(2) { --r: 0deg; --x: 0px; --y: -8px; z-index: 3; }
.dc-doc:nth-child(3) { --r: 9deg; --x: 150px; --y: 12px; z-index: 2; }
.dc-doc { transform: translate(var(--x), var(--y)) rotate(var(--r)); }
.slide.is-on .dc-doc { animation: fan .9s 1.4s var(--ease) both; }
@keyframes fan { from { transform: translate(0, 40px) rotate(0); opacity: 0; } }

/* ---------- atalhos abaixo do painel ---------- */
.quick { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.quick a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--paper-2); text-decoration: none; color: var(--ink); font-size: 1rem; transition: background .2s, transform .3s var(--ease); }
.quick a:hover { background: var(--paper-3); transform: translateY(-2px); }
.quick .ico { color: var(--brand); }

/* ---------- 3 · Capítulo 3D ---------- */
.chapter { position: relative; height: 330vh; background: radial-gradient(90% 60% at 70% 50%, #0F2A52 0%, var(--night) 70%); }
.ch-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; align-items: center; overflow: hidden; }
.ch-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.ch-copy .t-h2 { margin-bottom: clamp(26px, 4vh, 48px); }
.ch-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ch-steps li { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line-dark); opacity: .42; transition: opacity .5s; }
.ch-steps li.is-on { opacity: 1; }
.ch-steps .n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.3); font-family: var(--font-display); font-weight: 640; transition: background .4s, color .4s, border-color .4s; }
.ch-steps li.is-on .n { background: var(--sun); border-color: var(--sun); color: var(--sun-ink); }
.ch-steps h3 { font-size: clamp(1.35rem, 1.8vw, 1.7rem); margin-bottom: 6px; }
.ch-steps p { color: var(--fg-2); max-width: 40ch; }
.ch-stage { position: relative; height: min(78vh, 700px); perspective: 1500px; perspective-origin: 50% 40%; }
.ch-orbit { position: absolute; left: 50%; top: 50%; width: 118%; transform: translate(-50%, -50%); overflow: visible; pointer-events: none; }
.ch-card { position: absolute; left: 50%; top: 50%; width: min(31vw, 420px); aspect-ratio: 4 / 5; margin: 0; transform-style: preserve-3d; will-change: transform, opacity; }
.ch-card img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 60px 100px -40px rgba(0,0,0,.7); }
.ch-card .c1 { left: -14%; bottom: 9%; }
.ch-card .c2 { right: -12%; top: 10%; }
.ch-card .chip-ui { transition: opacity .5s, transform .6s var(--ease); }
.ch-card:not(.is-front) .chip-ui { opacity: 0; transform: translateY(14px) scale(.96); }

/* ---------- 4 · Simulador vivo ---------- */
.simu { position: relative; background: var(--paper-2); padding-block: clamp(90px, 10vw, 150px); overflow: hidden; }
.simu::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(14,155,221,.12), transparent 65%); pointer-events: none; }
.simu-grid { position: relative; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.simu-copy { display: grid; gap: 26px; align-content: start; }
.sim-live { display: grid; gap: 22px; padding: 26px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-ui); }
.fr-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 10px; }
.fr-top label { font-weight: 700; font-size: 1rem; }
.fr-top output { font-family: var(--font-display); font-weight: 640; font-stretch: 112%; font-size: 2rem; letter-spacing: -.03em; line-height: 1; color: var(--brand); font-variant-numeric: tabular-nums; }
.fr-ctl { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; gap: 12px; }
.step { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper-2); font-size: 1.4rem; line-height: 1; font-family: var(--font-display); }
.step:hover { background: var(--paper-3); }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; margin: 0; --p: 50%; }
input[type="range"]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--brand) 0 var(--p), var(--paper-3) var(--p)); }
input[type="range"]::-moz-range-track { height: 8px; border-radius: 8px; background: var(--paper-3); }
input[type="range"]::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--brand); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 0 0 1px rgba(7,19,39,.12), 0 6px 14px -4px rgba(7,19,39,.4); transition: transform .2s; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--sun); border: 4px solid #fff; box-shadow: 0 6px 14px -4px rgba(7,19,39,.4); }
input[type="range"]:active::-webkit-slider-thumb { transform: scale(1.15); }
.fld-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.seg { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; min-width: 0; }
.seg legend { grid-column: 1 / -1; font-weight: 700; font-size: 1rem; margin-bottom: 8px; padding: 0; float: left; width: 100%; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.seg span { display: grid; place-items: center; min-height: 48px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper-2); font-weight: 600; transition: background .2s, color .2s, border-color .2s; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.simu-copy > .btn { justify-self: start; }

.sim-out { position: relative; padding: clamp(24px, 3vw, 40px); border-radius: var(--r-xl); background: radial-gradient(120% 80% at 50% 0%, #12305A 0%, var(--night) 62%); box-shadow: 0 60px 100px -50px rgba(7,19,39,.8); overflow: hidden; }
.cal { position: relative; margin: -6px auto 0; max-width: 560px; }
.cal-svg { width: 100%; height: auto; overflow: visible; }
.cal-center { position: absolute; left: 50%; top: 44%; transform: translate(-50%, -50%); text-align: center; pointer-events: none; }
.cal-m { display: block; font-family: var(--font-display); font-style: italic; font-weight: 520; font-stretch: 110%; font-size: clamp(1.3rem, 2vw, 1.8rem); color: var(--sky-on-dark); letter-spacing: -.01em; }
.cal-y { display: block; height: 1em; overflow: hidden; font-family: var(--font-display); font-weight: 660; font-stretch: 116%; font-size: clamp(4rem, 8vw, 7rem); line-height: 1; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.cal-y-in { display: block; }
.cal-svg .bead { transition: r .4s var(--ease); }
.cal-svg text { font-family: var(--font-display); font-weight: 600; fill: rgba(255,255,255,.7); text-anchor: middle; }
.sim-headline { text-align: center; font-size: 1.15rem; color: var(--fg-2); margin-top: 4px; }
.sim-headline b { color: #fff; font-family: var(--font-display); font-weight: 640; }
.countdown { display: flex; justify-content: center; gap: 10px; margin: 18px 0 14px; }
.countdown span { min-width: 92px; padding: 10px 14px; border-radius: 16px; background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); text-align: center; font-size: .875rem; color: var(--fg-3); }
.countdown span.tot b { color: var(--sun); }
.countdown b { display: block; font-family: var(--font-display); font-weight: 640; font-stretch: 110%; font-size: 1.9rem; letter-spacing: -.03em; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.years { display: flex; justify-content: center; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; font-family: var(--font-display); font-size: .8125rem; color: var(--fg-3); }
.years i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.18); }
.years i.on { background: var(--sky-on-dark); }
.years i.end { width: 14px; height: 14px; background: var(--sun); box-shadow: 0 0 0 5px rgba(243,154,44,.25); }
.rules { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rules li { display: grid; grid-template-columns: 1fr 1.1fr auto; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,.05); border: 1px solid transparent; font-size: .9688rem; }
.rules li.best { background: rgba(243,154,44,.12); border-color: rgba(243,154,44,.45); }
.rules .rn b { display: block; font-family: var(--font-display); font-weight: 620; color: #fff; }
.rules .rn small { color: var(--fg-3); font-size: .8125rem; }
.rules .track { height: 6px; border-radius: 6px; background: rgba(255,255,255,.1); overflow: hidden; }
.rules .track i { display: block; height: 100%; border-radius: 6px; background: var(--sky-on-dark); transition: width .7s var(--ease); }
.rules li.best .track i { background: var(--sun); }
.rules .when { font-family: var(--font-display); font-weight: 640; font-variant-numeric: tabular-nums; color: #fff; white-space: nowrap; }
.rules li.na { opacity: .55; }
.rules .tag-best { display: inline-block; margin-left: 6px; padding: 2px 8px; border-radius: 99px; background: var(--sun); color: var(--sun-ink); font-size: .75rem; font-weight: 800; vertical-align: 2px; }
.sim-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; color: var(--fg-3); font-size: .9375rem; }
.sim-note .ico { width: 18px; height: 18px; margin-top: 3px; }

/* ---------- 5 · Rio em vídeo que se abre ---------- */
.rio { position: relative; height: 230vh; }
.rio-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.rio-window { position: absolute; inset: 0; clip-path: inset(var(--ci, 16% 20%) round var(--cr, 40px)); will-change: clip-path; }
.rio-window video { width: 100%; height: 100%; object-fit: cover; transform: scale(var(--vs, 1.18)); }
.rio-shade { position: absolute; inset: 0; background: radial-gradient(70% 60% at 50% 50%, rgba(7,19,39,.25), rgba(7,19,39,.72)); opacity: var(--so, .3); }
.rio-in { position: relative; z-index: 2; text-align: center; }
.rio-quote { font-family: var(--font-display); font-weight: 640; font-stretch: 112%; font-size: clamp(2.4rem, 6.2vw, 6.2rem); line-height: .98; letter-spacing: -.04em; max-width: 13ch; margin-inline: auto; text-wrap: balance; }
.rio-quote em { color: var(--sun); font-weight: 560; }
.rio-quote .w { opacity: .16; transition: opacity .35s; }
.rio-quote .w.lit { opacity: 1; }
.rio-cap { display: inline-flex; gap: 8px; align-items: center; margin-top: 28px; color: var(--fg-2); font-size: 1rem; }

/* ---------- 6 · Mapa 3D ---------- */
.mapa { position: relative; background: var(--night); padding: clamp(40px, 6vw, 90px) 0 clamp(90px, 10vw, 150px); overflow: hidden; }
.mapa-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.mapa-copy { display: grid; gap: 26px; }
.mapa-copy > p { color: var(--fg-2); font-size: var(--fs-lead); max-width: 38ch; }
.mapa-find { display: grid; gap: 10px; padding: 22px; border-radius: var(--r-lg); background: rgba(255,255,255,.05); border: 1px solid var(--line-dark); }
.mapa-find label { font-weight: 700; }
.sel { position: relative; }
.sel select { appearance: none; -webkit-appearance: none; width: 100%; height: 56px; padding: 0 48px 0 18px; border-radius: 16px; border: 1px solid rgba(255,255,255,.22); background: var(--night-2); color: #fff; font-size: 1.0625rem; }
.sel .ico { position: absolute; right: 16px; top: 50%; transform: translateY(-50%) rotate(90deg); pointer-events: none; }
.mapa-dist { color: var(--fg-2); min-height: 3em; }
.mapa-dist b { color: #fff; font-family: var(--font-display); font-weight: 640; }
.mapa-dist .km { color: var(--sun); font-family: var(--font-display); font-weight: 660; font-stretch: 112%; font-size: 1.6rem; letter-spacing: -.02em; }
.poi { position: relative; height: 230px; }
.poi-card { position: absolute; left: 0; top: 0; width: 72%; height: 200px; margin: 0; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0,0,0,.8); transition: transform .8s var(--ease), opacity .6s, filter .6s; }
.poi-card img { width: 100%; height: 100%; object-fit: cover; }
.poi-card figcaption { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 99px; background: rgba(7,19,39,.6); backdrop-filter: blur(8px); font-size: .875rem; color: #fff; }
.poi-card[data-pos="0"] { transform: translate(0, 18px) rotate(-2deg); z-index: 3; }
.poi-card[data-pos="1"] { transform: translate(22%, 4px) rotate(4deg) scale(.92); z-index: 2; filter: brightness(.65); }
.poi-card[data-pos="2"] { transform: translate(40%, -8px) rotate(9deg) scale(.84); z-index: 1; filter: brightness(.45); }
.poi-next { position: absolute; right: 0; bottom: 0; z-index: 5; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--sun); color: var(--sun-ink); display: grid; place-items: center; box-shadow: 0 12px 26px -10px rgba(243,154,44,.8); }
.mapa-3d { position: relative; aspect-ratio: 1 / 1; width: 100%; max-height: 82vh; }
.mapa-3d canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; touch-action: pan-y; }
.map-labels { position: absolute; inset: 0; pointer-events: none; }
.map-labels span { position: absolute; transform: translate(-50%, -100%); font-size: .8125rem; color: rgba(255,255,255,.78); white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.map-labels span.main { font-family: var(--font-display); font-weight: 680; font-stretch: 110%; font-size: 1.15rem; color: #fff; padding: 6px 12px; border-radius: 99px; background: var(--brand); text-shadow: none; box-shadow: 0 10px 24px -8px rgba(10,108,192,.8); transform: translate(-50%, calc(-100% - 46px)); }
.map-tip { position: absolute; left: 0; top: 0; pointer-events: none; padding: 10px 14px; border-radius: 14px; background: #fff; color: var(--ink); box-shadow: var(--sh-ui); font-size: .9375rem; line-height: 1.3; opacity: 0; transform: translate(-50%, calc(-100% - 14px)); transition: opacity .2s; white-space: nowrap; }
.map-tip.on { opacity: 1; }
.map-tip b { display: block; font-family: var(--font-display); font-weight: 640; }
.map-hint { position: absolute; left: 0; bottom: 0; display: inline-flex; align-items: center; gap: 8px; color: var(--fg-3); font-size: .875rem; }
.map-fallback path { fill: #16325A; stroke: rgba(255,255,255,.18); stroke-width: .8; }
.map-fallback path.ita { fill: var(--sun); }

/* ---------- 7 · Transparência ---------- */
.transp { padding-block: clamp(90px, 10vw, 150px) clamp(70px, 8vw, 120px); background: var(--paper); }
.tr-grid { display: grid; grid-template-columns: 1.3fr .7fr; align-items: start; }
.tr-docs { padding: clamp(22px, 3vw, 36px); padding-right: clamp(60px, 7vw, 110px); border: 1px solid var(--line); box-shadow: none; }
.tr-search { display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 20px; border-radius: 18px; background: var(--paper-2); border: 1.5px solid transparent; }
.tr-search:focus-within { border-color: var(--brand); background: #fff; }
.tr-search input { flex: 1; border: 0; outline: none; background: transparent; font-size: 1.0625rem; }
.tr-search .ico { color: var(--ink-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 10px; }
.tr-docs .docs { list-style: none; margin: 0; padding: 0; }
.tr-docs .docs li[hidden] { display: none; }
.tr-docs .docs a { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 14px 8px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, padding .3s var(--ease); border-radius: 12px; }
.tr-docs .docs a:hover { background: var(--paper-2); padding-left: 14px; }
.tr-docs .docs .ft { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #FFF1E6; color: #C2410C; }
.tr-docs .docs b { display: block; font-family: var(--font-display); font-weight: 620; font-stretch: 104%; letter-spacing: -.01em; }
.tr-docs .docs small { color: var(--ink-3); font-size: .9375rem; }
.tr-docs .docs .tag { font-size: .8125rem; color: var(--ink-2); padding: 4px 10px; border-radius: 99px; background: var(--paper-2); white-space: nowrap; }
.docs-empty { padding: 18px 8px; color: var(--ink-2); }
.docs-all { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; font-family: var(--font-display); font-weight: 640; color: var(--brand); text-decoration: none; }
.tr-side { position: relative; margin-left: clamp(-90px, -6vw, -48px); margin-top: clamp(40px, 6vw, 90px); padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: radial-gradient(120% 90% at 100% 0%, #173D72, var(--night) 70%); box-shadow: 0 50px 90px -40px rgba(7,19,39,.7); display: grid; gap: 22px; }
.pg-head { display: flex; gap: 14px; align-items: center; }
.pg-head b { display: block; font-family: var(--font-display); font-weight: 640; font-size: 1.15rem; }
.pg-head small { color: var(--fg-3); font-size: .875rem; }
.pg-badge { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sun); color: var(--sun-ink); }
.pg-badge .ico { width: 28px; height: 28px; }
.pg-badge .ic-d { fill: #fff; }
.pg-level { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; color: var(--fg-2); }
.pg-level b { font-weight: 680; font-stretch: 116%; font-size: 4.6rem; letter-spacing: -.05em; color: #fff; line-height: .9; margin-left: 6px; vertical-align: -6px; }
.pg-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-stats div { padding: 14px; border-radius: 16px; background: rgba(255,255,255,.06); }
.pg-stats b { display: block; font-family: var(--font-display); font-weight: 660; font-size: 2rem; letter-spacing: -.03em; }
.pg-stats span { font-size: .875rem; color: var(--fg-3); }
div.pg-dims { display: grid; gap: 10px; font-size: .9375rem; }
div.pg-dims > div { display: grid; grid-template-columns: 1fr 90px 26px; align-items: center; gap: 10px; color: var(--fg-2); }
div.pg-dims > div > i { height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--sky-on-dark) calc(var(--v) / 16 * 100%), rgba(255,255,255,.1) 0); }
div.pg-dims > div > b { text-align: right; font-family: var(--font-display); color: #fff; }
.tr-side .btn { justify-self: start; }

/* ---------- 8 · Notícias + Instagram ---------- */
.news { background: var(--paper-2); padding-block: clamp(90px, 10vw, 150px); overflow: hidden; }
.news-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.news-main .t-h2 { margin-bottom: clamp(26px, 3vw, 40px); }
.spot { display: grid; gap: 18px; }
.spot-media { position: relative; aspect-ratio: 16 / 9.2; border-radius: var(--r-xl); overflow: hidden; background: var(--night-2); box-shadow: var(--sh-card); }
.spot-media figure { position: absolute; inset: 0; margin: 0; clip-path: inset(0 0 0 100%); transition: clip-path 1s var(--ease-in-out); }
.spot-media figure.is-on { clip-path: inset(0 0 0 0); z-index: 1; }
.spot-media figure.was { clip-path: inset(0 0 0 0); z-index: 0; }
.spot-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease-out; }
.spot-media figure.is-on img { transform: scale(1); }
.spot-date { position: absolute; z-index: 3; left: 22px; top: 22px; display: grid; place-items: center; width: 88px; height: 88px; border-radius: 24px; background: var(--sun); color: var(--sun-ink); text-align: center; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.spot-date b { font-family: var(--font-display); font-weight: 680; font-stretch: 112%; font-size: 2.2rem; line-height: .9; letter-spacing: -.04em; }
.spot-date span { font-size: .75rem; font-weight: 700; margin-top: -10px; }
.spot-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.spot-list button { position: relative; width: 100%; height: 100%; display: grid; align-content: start; gap: 6px; text-align: left; padding: 16px 16px 20px; border-radius: 18px; border: 1px solid var(--line); background: #fff; transition: border-color .3s, transform .4s var(--ease), box-shadow .3s; }
.spot-list button:hover { transform: translateY(-3px); }
.spot-list [aria-selected="true"] { border-color: var(--ink); box-shadow: var(--sh-ui); }
.sl-d { font-family: var(--font-display); font-weight: 640; font-size: .875rem; color: var(--brand); }
.sl-t b { display: block; font-family: var(--font-display); font-weight: 620; font-stretch: 104%; font-size: 1rem; line-height: 1.22; letter-spacing: -.01em; }
.sl-t small { display: block; margin-top: 6px; color: var(--ink-3); font-size: .875rem; line-height: 1.35; }

.ig { position: relative; display: grid; justify-items: center; gap: 22px; }
.ig-orbit { position: absolute; left: 50%; top: 44%; width: 128%; z-index: 0; transform: translate(-50%, -50%); pointer-events: none; overflow: visible; }
.ig-orbit ellipse { transform-origin: 260px 380px; }
.ig-cta { position: relative; z-index: 2; }
.phone { position: relative; z-index: 1; width: min(330px, 100%); padding: 10px; border-radius: 48px; background: #0D1726; box-shadow: 0 60px 90px -40px rgba(7,19,39,.65), inset 0 0 0 2px #2B3B55; transform: rotate(-3deg); }
.phone-notch { position: absolute; left: 50%; top: 22px; width: 78px; height: 22px; margin-left: -39px; border-radius: 20px; background: #0D1726; z-index: 2; }
.phone-screen { border-radius: 38px; overflow: hidden; background: #fff; padding: 54px 10px 12px; }
.ig-head { display: flex; align-items: center; gap: 10px; padding: 0 4px 12px; }
.ig-av { width: 46px; height: 46px; border-radius: 50%; padding: 2px; background: conic-gradient(from 200deg, var(--sun), #E1306C, var(--brand), var(--sun)); flex: none; }
.ig-av > span { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; background: #fff; border: 2px solid #fff; }
.ig-av img { width: 30px; }
.ig-id b { display: block; font-size: .9375rem; }
.ig-id small { color: var(--ink-3); font-size: .75rem; }
.ig-follow { margin-left: auto; padding: 6px 14px; border-radius: 10px; background: var(--brand); color: #fff; font-size: .8125rem; font-weight: 700; text-decoration: none; }
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; border-radius: 0 0 26px 26px; overflow: hidden; }
.ig-grid figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; position: relative; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-grid figure:hover img { transform: scale(1.06); }
.ig-grid .tx { display: grid; align-content: space-between; padding: 8px; background: var(--brand); color: #fff; }
.ig-grid .tx.sun { background: var(--sun); color: var(--sun-ink); }
.ig-grid .tx .o { width: 34px; }
.ig-grid .tx b { font-family: var(--font-display); font-weight: 640; font-size: .75rem; line-height: 1.15; }

/* ---------- 9 · Atendimento ---------- */
.atd { padding-block: clamp(90px, 10vw, 150px); background: var(--paper); }
.atd-grid { display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; }
.atd-photo { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.1; }
.atd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.atd-card { position: relative; z-index: 2; margin-left: clamp(-140px, -9vw, -60px); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 20px; }
.now { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 14px 6px 10px; border-radius: 99px; background: var(--paper-2); font-weight: 700; font-size: .9375rem; }
.now i { width: 10px; height: 10px; border-radius: 50%; background: var(--ink-3); }
.now.open i { background: #22A565; box-shadow: 0 0 0 0 rgba(34,165,101,.6); animation: ping 2s infinite; }
.now.open { color: var(--ok); background: #E3F4EA; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(34,165,101,0); } 100% { box-shadow: 0 0 0 0 rgba(34,165,101,0); } }
.atd-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.atd-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.atd-list b { display: block; font-family: var(--font-display); font-weight: 640; }
.atd-list span span { color: var(--ink-2); }
.atd-card .btn { justify-self: start; }

/* ---------- Rodapé ---------- */
.ftr { position: relative; overflow: hidden; background: var(--night); padding: clamp(70px, 8vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); }
.ftr-giant { position: absolute; right: -6vw; bottom: -14vw; width: 48vw; opacity: .06; pointer-events: none; }
.ftr-cols { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }
.ftr-about img { height: 60px; width: auto; margin-bottom: 18px; }
.ftr-about p { color: var(--fg-2); max-width: 40ch; }
.ftr h3 { font-size: 1.05rem; margin-bottom: 14px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--fg-2); }
.ftr a { text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; }
.ftr-base { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line-dark); color: var(--fg-3); font-size: .9375rem; }
.ftr-base > span:first-child { font-family: var(--font-display); }
.ftr-a11y { display: inline-flex; gap: 8px; align-items: center; }

/* ---------- Dock do celular ---------- */
.dock { display: none; }

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .hdr-tools { margin-left: auto; }
  .live-panel { grid-template-columns: 1fr; }
  .live-tabs { grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
  .live-tabs::-webkit-scrollbar { display: none; }
  .live-tabs [role="tab"] { scroll-snap-align: start; border-color: var(--line); }
  .ch-grid { grid-template-columns: 1fr; }
  .chapter { height: auto; }
  .ch-pin { position: relative; height: auto; padding-block: 90px; }
  .ch-stage { height: auto; perspective: none; display: grid; gap: 70px; margin-top: 40px; }
  .ch-card { position: relative; left: auto; top: auto; width: min(100%, 460px); justify-self: center; transform: none !important; opacity: 1 !important; }
  .ch-card .chip-ui { opacity: 1 !important; transform: none !important; }
  .ch-card .c1 { left: -12px; } .ch-card .c2 { right: -12px; }
  .ch-orbit { display: none; }
  .ch-steps li { opacity: 1; }
  .simu-grid, .mapa-grid, .news-grid, .tr-grid, .atd-grid { grid-template-columns: 1fr; }
  .tr-docs { padding-right: clamp(22px, 3vw, 36px); }
  .tr-side { margin: -40px 16px 0; }
  .atd-card { margin: -80px 16px 0; }
  .sec-head { grid-template-columns: 1fr; }
  .sec-head > p { justify-self: start; }
  .ftr-cols { grid-template-columns: 1fr 1fr; }
  .spot-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  :root { --a11y-h: 44px; --hdr-h: 66px; --r-xl: 30px; }
  .skips a:not(:first-child) { display: none; }
  .skips kbd, .a11y-btn span { display: none; }
  .brand { height: 42px; }
  .hdr-cta { display: none; }
  .hero { height: 190vh; }
  .hero-in { bottom: 130px; }
  .hero-shade { background: linear-gradient(0deg, rgba(7,19,39,.92) 0%, rgba(7,19,39,.5) 55%, rgba(7,19,39,.35) 100%); }
  .hero-meta .cue { display: none; }
  .hero-lead { font-size: 1.0625rem; }
  .live { margin-top: -46vh; }
  .live-panel { padding: 16px; gap: 18px; border-radius: 30px; }
  .live-side { gap: 16px; }
  .live-tabs { grid-auto-columns: minmax(200px, 78%); }
  .live-stage { min-height: 620px; border-radius: 24px; }
  .slide-copy { grid-template-columns: 1fr; padding: 0 20px 22px; }
  .slide-copy .btn { justify-self: start; white-space: normal; text-align: left; }
  .phone-ui { right: 5%; top: 5%; width: 180px; }
  .float-a, .float-c { right: 4%; top: 5%; }
  .pay { width: 86%; top: 56%; }
  .dc-doc { width: 170px; left: -85px; }
  .dc-doc:nth-child(1) { --x: -96px; } .dc-doc:nth-child(3) { --x: 96px; }
  .fld-pair { grid-template-columns: 1fr; }
  .countdown span { min-width: 0; flex: 1; }
  .rules li { grid-template-columns: 1fr auto; }
  .rules .track { grid-column: 1 / -1; grid-row: 2; }
  .rio { height: 180vh; }
  .poi { height: 210px; }
  .mapa-3d { aspect-ratio: 1 / 1.05; }
  .spot-list { grid-template-columns: 1fr; }
  .spot-list .sl-t small { display: none; }
  .spot-date { width: 70px; height: 70px; border-radius: 18px; left: 14px; top: 14px; }
  .spot-date b { font-size: 1.7rem; }
  .ftr-cols { grid-template-columns: 1fr; }
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; border-radius: 22px; background: rgba(7,19,39,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); transform: translateY(140%); transition: transform .5s var(--ease); }
  .dock.on { transform: none; }
  .dock a { display: grid; justify-items: center; gap: 3px; padding: 8px 2px; min-height: 52px; border-radius: 16px; color: #fff; text-decoration: none; font-size: .75rem; font-weight: 600; }
  .dock a:first-child { background: var(--sun); color: var(--sun-ink); }
  .dock .ico { width: 22px; height: 22px; }
  .ftr { padding-bottom: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero { height: auto; }
  .hero-pin { position: relative; height: 100vh; }
  .live { margin-top: -18vh; }
  .chapter, .rio { height: auto; }
  .ch-pin, .rio-pin { position: relative; height: auto; min-height: 100vh; padding-block: 90px; }
  .rio-window { --ci: 0 0; --cr: 0px; }
  .rio-quote .w { opacity: 1; }
}
html:not(.js) .hero { height: auto; }
html:not(.js) .hero-pin { position: relative; }
html:not(.js) .live { margin-top: 0; }
html:not(.js) .slide[hidden] { display: grid; position: relative; }
}
@layer sections {
  .ig-grid .tx.night { background: var(--night); color: #fff; }
  .ig-grid .tx.mist { background: #E6F0FA; color: var(--brand-deep); }
  .ig-grid .tx.mist .o { width: 30px; height: 30px; }
  .ig-grid .tx .big { font-family: var(--font-display); font-weight: 680; font-stretch: 116%; font-size: 2rem; line-height: 1; letter-spacing: -.04em; color: var(--sun); }
  .poi-card img[style] { object-fit: cover; }
}
@layer sections { .map-labels span.lft { transform: translate(calc(-100% - 10px), -40%); } }
@layer sections {
  .live-panel, .simu-grid, .mapa-grid, .news-grid, .tr-grid, .atd-grid, .ch-grid { min-width: 0; }
  .live-panel > *, .simu-grid > *, .mapa-grid > *, .news-grid > *, .tr-grid > *, .atd-grid > *, .ch-grid > *, .simpage-grid > *, .spot > * { min-width: 0; }
  @media (max-width: 1100px) { .live-panel { grid-template-columns: minmax(0, 1fr); } }
}
@layer sections {
  @media (max-width: 720px) {
    .map-labels span.minor { display: none; }
    .live-stage { min-height: 700px; }
    .demo-cc .pay { top: 50%; padding: 18px; }
    .pay-row { font-size: .9375rem; gap: 10px; }
    .pay-row b { white-space: nowrap; }
    .chat { top: 48%; }
    .ex-tags { bottom: 4%; }
  }
}

/* rio + mapa: o vídeo fica preso atrás e o mapa pousa sobre a água */
@layer sections {
  .rio-wrap { position: relative; background: var(--night); overflow: clip; }
  .transp { position: relative; z-index: 1; }
  .rio-bg { position: sticky; top: 0; height: 100vh; height: 100svh; margin-bottom: -100vh; margin-bottom: -100svh; overflow: hidden; z-index: 0; }
  .rio-bg .rio-window { filter: blur(var(--blur, 0px)); }
  .rio-shade { background: radial-gradient(80% 70% at 50% 50%, rgba(7,19,39,.35), rgba(7,19,39,.8)); }
  .rio-wrap .rio { height: 190vh; background: transparent; z-index: 1; }
  .rio-wrap .rio-pin { background: transparent; }
  .rio-wrap .mapa { position: relative; z-index: 1; background: linear-gradient(180deg, transparent 0, transparent 70%, var(--night) 100%); padding-top: clamp(24px, 4vw, 60px); }
  .rio-wrap .mapa-copy > p { color: rgba(255,255,255,.86); text-shadow: 0 1px 18px rgba(7,19,39,.6); }
  .map-hint { color: rgba(255,255,255,.7); }
  @media (max-width: 720px) { .rio-wrap .rio { height: 150vh; } }
  @media (prefers-reduced-motion: reduce) { .rio-bg { position: absolute; inset: 0; height: 100%; margin: 0; } .rio-wrap .rio { height: auto; } }
}

/* =====================================================================
   CELULAR: respiro, nada por cima das fotos, rolagem leve
   ===================================================================== */
@layer sections {
@media (max-width: 720px) {
  :root { --pad: 22px; }
  body { line-height: 1.6; }
  .t-h2 { font-size: clamp(2.1rem, 9.4vw, 2.6rem); line-height: 1.04; }
  .t-lead, .sec-head > p, .mapa-copy > p { font-size: 1.0625rem; }

  /* vidro fosco custa caro no celular: fundos sólidos */
  .chip-ui, .btn-glass, .dock, .poi-card figcaption, .hdr.is-solid, .hdr.on-light { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .hdr.is-solid { background: rgba(7,19,39,.96); }
  .hdr.on-light { background: rgba(255,255,255,.98); }
  .dock { background: #0B1830; }
  .btn-glass { background: rgba(255,255,255,.16); }

  /* hero: menos trecho preso e texto longe da legenda */
  .hero { height: 150vh; }
  .hero-in { bottom: 104px; }
  .hero-in .t-hero { font-size: clamp(2.5rem, 11.4vw, 3.1rem); line-height: 1.02; }
  .hero-lead { margin-top: 18px; line-height: 1.55; }
  .ctas { margin-top: 26px; gap: 10px; }
  .ctas .btn { --bh: 52px; }
  .hero-meta { bottom: 26px; font-size: .875rem; }
  .hero-orbit { opacity: .55; }

  /* painel vivo: tudo em fluxo, sem cartão em cima da foto */
  .live { margin-top: -30vh; padding-bottom: 80px; background: linear-gradient(180deg, transparent 0 30vh, var(--paper) 30vh); }
  .live-panel { padding: 24px 16px 18px; gap: 22px; border-radius: 28px; }
  .live-side { gap: 18px; padding: 0 6px; }
  .live-side .t-h2 { font-size: 2.15rem; }
  .live-tabs { gap: 10px; padding: 2px 2px 10px; grid-auto-columns: minmax(210px, 76%); }
  .live-tabs [role="tab"] { padding: 14px 16px 18px 14px; gap: 12px; }
  .tab-tx b { font-size: 1rem; }
  .live-toggle { padding-left: 2px; }
  .live-stage { min-height: 0; border-radius: 22px; }
  .slide { position: relative; inset: auto; display: block; }
  .demo { display: flex; flex-direction: column; gap: 14px; padding: 22px 18px 4px; overflow: visible; }
  .orbit-bg { display: none; }
  .eg { position: static; order: 9; align-self: flex-end; }
  .slide-copy { padding: 18px 22px 26px; gap: 12px; }
  .slide-copy h3 { font-size: 1.65rem; }
  .slide-copy .btn { width: 100%; justify-content: space-between; }
  .chip-ui { white-space: normal; background: #fff; }

  .demo-cc .pay, .demo-ex .ex-card, .demo-ou .chat, .demo-dc .dc-search { position: relative; left: auto; top: auto; width: 100%; transform: none; }
  .slide.is-on .demo-cc .pay, .slide.is-on .demo-ex .ex-card, .slide.is-on .demo-ou .chat { animation: rise .7s var(--ease) both; }
  .demo .float-a, .demo .float-b, .demo .float-c { position: relative; left: auto; right: auto; top: auto; bottom: auto; align-self: flex-start; }
  .slide.is-on .demo .float-a, .slide.is-on .demo .float-b, .slide.is-on .demo .float-c { animation: rise .6s .6s var(--ease) both; }
  .pay-row { font-size: .9375rem; }

  .pv-photo { position: relative; inset: auto; aspect-ratio: 4 / 3; border-radius: 18px; }
  .phone-ui { position: relative; right: auto; top: auto; width: 100%; display: grid; grid-template-columns: 76px 1fr; gap: 6px 14px; align-items: center; padding: 14px; border-radius: 20px; }
  .ph-face { grid-row: 1 / 3; width: 76px; margin: 0; }
  .ph-bar { align-self: end; }
  .ph-ok { padding: 0; background: none; }
  .slide.is-on .phone-ui { animation: rise .7s .2s var(--ease) both; }

  .demo-sm { height: auto; }
  .sm-orbit { position: relative; left: auto; top: auto; transform: none; width: 100%; }
  .sm-date { top: 22px; transform: translate(-50%, 0); margin-top: calc(50% * 240 / 400 * .35); }
  .slide.is-on .sm-date { animation: rise .7s .3s var(--ease) both; }

  .ex-bars { height: 120px; }
  .ex-line { height: 120px; bottom: 20px; }
  .ex-tags { position: relative; left: auto; bottom: auto; transform: none; flex-wrap: wrap; }
  .dc-fan { position: relative; left: auto; top: auto; width: 100%; height: 190px; }
  .dc-doc { width: 150px; left: calc(50% - 75px); top: 26px; padding: 14px; }
  .dc-doc:nth-child(1) { --x: -78px; } .dc-doc:nth-child(3) { --x: 78px; }
  .quick { gap: 8px; margin-top: 28px; }

  /* capítulo: cada tempo com a sua foto, legenda embaixo da imagem */
  .ch-pin { padding-block: 80px 70px; }
  .ch-grid, .ch-copy, .ch-stage, .ch-steps { display: contents; }
  .ch-grid { display: grid; gap: 0; }
  .ch-copy .t-h2 { order: 0; margin-bottom: 30px; }
  .ch-steps li { order: var(--o); border-top: 0; padding: 0 0 18px; }
  .ch-steps li:nth-child(1) { --o: 1; } .ch-steps li:nth-child(2) { --o: 3; } .ch-steps li:nth-child(3) { --o: 5; }
  .ch-card:nth-of-type(1) { order: 2; } .ch-card:nth-of-type(2) { order: 4; } .ch-card:nth-of-type(3) { order: 6; }
  .ch-card { position: relative; width: 100%; aspect-ratio: auto; display: grid; gap: 10px; margin: 0 0 48px; }
  .ch-card img { aspect-ratio: 4 / 4.4; height: auto; border-radius: 22px; }
  .ch-card .chip-ui { position: relative; left: auto; right: auto; top: auto; bottom: auto; justify-self: start; }
  .ch-card:last-of-type { margin-bottom: 0; }

  /* simulador */
  .simu-grid { gap: 40px; }
  .simu-copy { gap: 22px; }
  .sim-live { padding: 22px 18px; gap: 24px; }
  .fr-top output { font-size: 1.7rem; }
  .sim-out { padding: 22px 16px 24px; border-radius: 28px; }
  .cal { margin: 0 -6px; }
  .cal-y { font-size: 4.2rem; }
  .countdown { gap: 8px; margin: 20px 0 16px; }
  .countdown span { padding: 10px 6px; font-size: .8125rem; }
  .countdown b { font-size: 1.6rem; }
  .rules li { padding: 14px; gap: 10px 12px; }
  .simu-copy > .btn { width: 100%; justify-content: space-between; white-space: normal; text-align: left; }

  /* rio e mapa */
  .rio-wrap .rio { height: 100vh; height: 100svh; }
  .rio-quote { font-size: clamp(2.4rem, 11vw, 3.2rem); }
  .rio-wrap .mapa { padding-top: 70px; }
  .mapa-grid { gap: 36px; }
  .mapa-copy { gap: 24px; }
  .poi { height: 260px; margin-top: 6px; }
  .poi-card { width: 80%; height: 210px; }
  .poi-card figcaption { font-size: .8125rem; background: rgba(7,19,39,.75); }
  .poi-next { width: 50px; height: 50px; bottom: 0; }
  .mapa-3d { aspect-ratio: 1 / 1.1; }
  .map-hint { position: relative; margin-top: 8px; }

  /* transparência, notícias e atendimento: sem sobreposição em cima de conteúdo */
  .transp { padding-block: 80px 70px; }
  .tr-docs { padding: 20px 16px; }
  .tr-docs .docs a { grid-template-columns: 44px 1fr; gap: 14px; padding: 16px 6px; }
  .tr-docs .docs .tag { display: none; }
  .tr-side { margin: 20px 0 0; }
  .news { padding-block: 80px; }
  .news-grid { gap: 56px; }
  .spot { gap: 14px; }
  .spot-media { border-radius: 24px; aspect-ratio: 4 / 3; }
  .spot-date { width: 58px; height: 58px; border-radius: 16px; left: 12px; top: 12px; }
  .spot-date b { font-size: 1.45rem; }
  .spot-date span { font-size: .625rem; margin-top: -6px; }
  .spot-list button { padding: 14px 16px 18px; }
  .atd { padding-block: 70px 90px; }
  .atd-card { margin: 20px 0 0; padding: 26px 22px; }
  .atd-photo { border-radius: 28px; }
}
}
@layer sections {
@media (max-width: 720px) {
  .live-tabs { grid-auto-columns: minmax(250px, 84%); }
  .tab-tx b { white-space: nowrap; }
  .skips a { white-space: nowrap; font-size: .8125rem; }
}
}
@layer sections {
@media (max-width: 720px) {
  .cal { margin: 0; }
  .mapa-3d { margin-bottom: 40px; }
  .map-hint { position: absolute; left: 0; bottom: -36px; }
}
}
@layer sections {
  /* respiro entre a demonstração e o título do serviço */
  .pv-photo { inset: 22px 22px 20px; }
  .slide-copy { padding-top: 26px; }
  @media (max-width: 720px) {
    .pv-photo { inset: auto; }
    .demo { padding-bottom: 10px; }
    .slide-copy { padding-top: 26px; }
  }
}
/* banner: leitura garantida em qualquer quadro do vídeo */
@layer sections {
  .hero-shade { background:
      linear-gradient(90deg, rgba(7,19,39,.92) 0%, rgba(7,19,39,.8) 28%, rgba(7,19,39,.45) 50%, rgba(7,19,39,.08) 68%, rgba(7,19,39,0) 78%),
      linear-gradient(0deg, rgba(7,19,39,.88) 0%, rgba(7,19,39,.35) 34%, rgba(7,19,39,0) 55%),
      linear-gradient(180deg, rgba(7,19,39,.6) 0%, rgba(7,19,39,0) 20%); }
  .hero-in .t-hero { text-shadow: 0 2px 30px rgba(7,19,39,.55); }
  .hero-in .t-hero em { color: #7DD0FA; }
  .hero-lead { color: #fff; font-weight: 500; text-shadow: 0 1px 16px rgba(7,19,39,.75); }
  .hero-meta { color: rgba(255,255,255,.86); text-shadow: 0 1px 10px rgba(7,19,39,.7); }
  .hero-orbit { opacity: .8; }
  @media (max-width: 720px) {
    .hero-shade { background: linear-gradient(0deg, rgba(7,19,39,.96) 0%, rgba(7,19,39,.9) 42%, rgba(7,19,39,.6) 66%, rgba(7,19,39,.35) 100%); }
    .hero-orbit { opacity: .35; }
  }
}

/* banner v3: vídeo real, fundo desfocado só atrás do texto e tipografia mais forte */
@layer sections {
  .hero-blur { position: absolute; inset: 0; pointer-events: none; -webkit-backdrop-filter: blur(9px) saturate(.9); backdrop-filter: blur(9px) saturate(.9);
    -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0,0,0,.6) 46%, transparent 62%); mask-image: linear-gradient(90deg, #000 0%, #000 30%, rgba(0,0,0,.6) 46%, transparent 62%); }
  .hero-shade { background:
      linear-gradient(90deg, rgba(7,19,39,.94) 0%, rgba(7,19,39,.84) 30%, rgba(7,19,39,.5) 50%, rgba(7,19,39,.1) 66%, rgba(7,19,39,0) 76%),
      linear-gradient(0deg, rgba(7,19,39,.85) 0%, rgba(7,19,39,.3) 32%, rgba(7,19,39,0) 52%),
      linear-gradient(180deg, rgba(7,19,39,.7) 0%, rgba(7,19,39,0) 22%); }
  .hero-in .t-hero { font-weight: 720; font-size: clamp(3rem, 5.8vw, 6rem); letter-spacing: -.042em; text-shadow: 0 4px 40px rgba(7,19,39,.65); }
  .hero-in .t-hero em { font-weight: 640; color: #8AD6FF; }
  .hero-lead { font-size: clamp(1.125rem, 1.2vw + .5rem, 1.35rem); max-width: 40ch; }
  @media (max-width: 720px) {
    .hero-blur { display: none; }
    .hero-shade { background: linear-gradient(0deg, rgba(7,19,39,.97) 0%, rgba(7,19,39,.93) 40%, rgba(7,19,39,.62) 62%, rgba(7,19,39,.2) 82%, rgba(7,19,39,.45) 100%); }
    .hero-in .t-hero { font-size: clamp(2.6rem, 11.6vw, 3.2rem); }
  }
}

/* WhatsApp */
@layer components {
  .wa { position: fixed; z-index: 70; right: 22px; bottom: 22px; display: grid; justify-items: end; gap: 12px; }
  .wa-btn { display: inline-flex; align-items: center; gap: 10px; height: 58px; padding: 0 22px 0 18px; border: 0; border-radius: 999px; background: #1FA855; color: #fff; font-family: var(--font-display); font-weight: 680; font-size: 1rem; box-shadow: 0 16px 34px -12px rgba(18,128,79,.75); transition: transform .3s var(--ease), background .2s; }
  .wa-btn:hover { background: #17924A; transform: translateY(-2px); }
  .wa-btn .ico { width: 26px; height: 26px; }
  .wa-btn .ic-d { fill: #fff; }
  .wa.open .wa-btn { background: var(--ink); box-shadow: var(--sh-ui); }
  .wa-tip { margin: 0; padding: 12px 16px; border-radius: 16px 16px 4px 16px; background: #fff; color: var(--ink); box-shadow: var(--sh-card); font-size: .9375rem; cursor: pointer; animation: rise .5s var(--ease) both; }
  .wa-tip b { color: #128048; }
  .wa-tip[hidden], .wa-pop[hidden] { display: none; }
  .wa-pop { width: min(360px, calc(100vw - 28px)); border-radius: 24px; overflow: hidden; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -30px rgba(7,19,39,.6), 0 2px 8px rgba(7,19,39,.1); animation: pop .35s var(--ease) both; }
  .wa-head { display: flex; align-items: center; gap: 12px; padding: 14px 10px 14px 16px; background: #0E5E3A; color: #fff; }
  .wa-av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); flex: none; }
  .wa-av img { width: 30px; }
  .wa-id { flex: 1; }
  .wa-id b { display: block; font-family: var(--font-display); font-weight: 680; }
  .wa-id small { display: inline-flex; align-items: center; gap: 6px; font-size: .8125rem; opacity: .9; }
  .wa-id small i { width: 8px; height: 8px; border-radius: 50%; background: #5BE38F; }
  .wa-body { padding: 16px; display: grid; gap: 12px; background: #F3EFE8; }
  .wa-msg { justify-self: start; max-width: 92%; padding: 12px 14px; border-radius: 4px 16px 16px 16px; background: #fff; font-size: .9688rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
  .wa-opts { display: grid; gap: 6px; }
  .wa-opts a { display: flex; justify-content: space-between; align-items: center; min-height: 46px; padding: 0 14px; border-radius: 14px; background: #fff; color: #0E5E3A; font-weight: 700; text-decoration: none; transition: background .2s, transform .2s; }
  .wa-opts a:hover { background: #E3F4EA; transform: translateX(2px); }
  .wa-opts .ico { width: 18px; height: 18px; }
  .wa-note { font-size: .8125rem; color: var(--ink-3); }
  @media (max-width: 720px) {
    .wa { right: 14px; bottom: calc(92px + env(safe-area-inset-bottom)); }
    .wa-btn { width: 56px; height: 56px; padding: 0; justify-content: center; }
    .wa-btn span { display: none; }
  }
}

/* institucional: pessoas levam às atribuições */
@layer sections {
  a.pessoa { text-decoration: none; color: inherit; transition: border-color .2s, transform .3s var(--ease), box-shadow .3s; }
  a.pessoa:hover { border-color: var(--brand); transform: translateY(-2px); box-shadow: var(--sh-ui); }
  .cargos { display: grid; gap: 10px; margin-top: 8px; }
  .cargo { border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-margin-top: calc(var(--hdr-h) + 24px); }
  .cargo summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 64px; padding: 12px 18px; }
  .cargo summary::-webkit-details-marker { display: none; }
  .cg-t b { display: block; font-family: var(--font-display); font-weight: 660; font-size: 1.08rem; }
  .cg-t small { color: var(--ink-3); font-size: .9375rem; }
  .cg-n { flex: none; padding: 4px 12px; border-radius: 99px; background: var(--paper-2); color: var(--ink-2); font-size: .8125rem; font-weight: 700; }
  .cargo[open] { border-color: var(--ink); box-shadow: var(--sh-ui); }
  .cargo[open] .cg-n { background: var(--sun); color: var(--sun-ink); }
  .cargo ol { list-style: none; margin: 0; padding: 4px 18px 18px; display: grid; gap: 10px; border-top: 1px solid var(--line); padding-top: 14px; }
  .cargo li { display: grid; grid-template-columns: 40px 1fr; gap: 10px; color: var(--ink-2); line-height: 1.5; }
  .cargo .rn { font-family: var(--font-display); font-weight: 700; color: var(--brand); }
}

/* =====================================================================
   TOPO NOVO: faixa do WhatsApp, barra oficial e cabeçalho em vidro (estilo iOS)
   ===================================================================== */
@layer tokens { :root { --a11y-h: 92px; --hdr-h: 78px; } @media (max-width: 720px) { :root { --a11y-h: 84px; --hdr-h: 66px; } } }
@layer components {
  /* ícones da marca: órbita + cabeça laranja do "i" em todo ícone de app */
  .appic { --g1: #1AA3E6; --g2: #0B5CA6; --sz: 52px; position: relative; flex: none; width: var(--sz); height: var(--sz); border-radius: calc(var(--sz) * .3); display: grid; place-items: center; color: #fff; background: linear-gradient(150deg, var(--g1), var(--g2)); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 8px rgba(0,0,0,.18), 0 10px 20px -10px rgba(11,92,166,.8); overflow: hidden; isolation: isolate; }
  .appic::before { content: ""; position: absolute; left: -16%; right: -16%; top: 26%; bottom: 26%; border: 1.6px solid rgba(255,255,255,.42); border-radius: 50%; transform: rotate(-24deg); z-index: -1; }
  .appic::after { content: ""; position: absolute; width: 18%; height: 18%; top: 14%; right: 16%; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 2px rgba(255,255,255,.22); }
  .appic .ico { width: 52%; height: 52%; }
  .appic .ic-d { display: none; }
  .appic.sun { --g1: #FFB54F; --g2: #E5810F; color: var(--sun-ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.6), inset 0 -3px 8px rgba(0,0,0,.12), 0 10px 20px -10px rgba(229,129,15,.8); }
  .appic.sun::after { background: #fff; }
  .appic.sun::before { border-color: rgba(27,18,6,.28); }
  .appic.sky { --g1: #5CC9FA; --g2: #0E8DD0; }
  .appic.night { --g1: #2A4B7C; --g2: #0B1830; }
  .appic.green { --g1: #3BD27A; --g2: #13834A; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 8px rgba(0,0,0,.15), 0 10px 20px -10px rgba(19,131,74,.8); }
  .appic.glass { --g1: rgba(255,255,255,.22); --g2: rgba(255,255,255,.06); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); border: 1px solid rgba(255,255,255,.22); }
  .appic.mini { --sz: 34px; }
  .appic.mini::before { border-width: 1.2px; }

  .glass-ic { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; color: inherit; border: 1px solid rgba(255,255,255,.3); background: linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.07)); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 26px -14px rgba(0,0,0,.6); -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8); transition: transform .3s var(--ease), background .2s; }
  .glass-ic:hover { transform: scale(1.06); background: linear-gradient(180deg, rgba(255,255,255,.32), rgba(255,255,255,.12)); }
  .glass-ic .ico { width: 22px; height: 22px; }
}
@layer sections {
  .a11y { display: none; }
  .skips { position: absolute; z-index: 120; left: 12px; top: 8px; display: flex; gap: 8px; transform: translateY(-160%); transition: transform .2s; }
  .skips:focus-within { transform: none; }
  .skips a { padding: 10px 14px; border-radius: 12px; background: var(--sun); color: var(--sun-ink); font-weight: 700; text-decoration: none; }
  .topbars { position: relative; z-index: 60; color: #fff; }
  .topstrip { height: 48px; background: linear-gradient(90deg, #0B3F7A 0%, #0A6CC0 55%, #0E9BDD 100%); }
  .ts-in { height: 100%; display: flex; align-items: center; justify-content: center; gap: 14px; }
  .ts-in p { font-family: var(--font-display); font-weight: 560; font-size: 1.0625rem; letter-spacing: -.01em; }
  .ts-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(255,255,255,.14); }
  .ts-ic .ico { width: 18px; height: 18px; }
  .ts-ic .ic-d { fill: #fff; }
  .ts-btn { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.7); color: #fff; text-decoration: none; font-weight: 700; font-size: .9375rem; transition: background .2s, color .2s; }
  .ts-btn:hover { background: #fff; color: var(--brand-deep); }
  .ts-btn .ico { width: 16px; height: 16px; }
  .govbar { height: 44px; background: rgba(7,19,39,.38); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
  .gb-in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
  .gb-id { display: inline-flex; align-items: center; gap: 10px; color: rgba(255,255,255,.86); }
  .gb-id img { width: 20px; height: 20px; }
  .gb-tools { display: flex; align-items: center; gap: 4px; }
  .gb-btn { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 10px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,.9); font-size: .875rem; }
  .gb-btn:hover, .gb-btn[aria-pressed="true"], .gb-btn[aria-expanded="true"] { background: rgba(255,255,255,.14); color: #fff; }
  .gb-btn .ico { width: 17px; height: 17px; }
  .govbar .fs { border-color: rgba(255,255,255,.25); }
  .libras-pop { top: calc(var(--a11y-h) + 6px); }

  .hdr { height: var(--hdr-h); }
  .hdr-in { gap: 16px; }
  .hdr-sep { width: 1px; height: 40px; background: currentColor; opacity: .22; flex: none; }
  .brand { height: 50px; }
  .hdr-search { position: relative; flex: 1; max-width: 640px; margin-left: 14px; display: flex; align-items: center; gap: 10px; height: 54px; padding: 0 8px 0 20px; border-radius: 999px; color: #fff;
    background: linear-gradient(180deg, rgba(255,255,255,.2), rgba(255,255,255,.07)) padding-box, linear-gradient(110deg, rgba(92,192,242,.95), rgba(255,255,255,.3) 45%, rgba(243,154,44,.9)) border-box; border: 1.5px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 4px rgba(92,192,242,.12), 0 16px 40px -20px rgba(0,0,0,.7); -webkit-backdrop-filter: blur(22px) saturate(1.9); backdrop-filter: blur(22px) saturate(1.9); transition: box-shadow .3s; }
  .hdr-search:focus-within { box-shadow: inset 0 1px 0 rgba(255,255,255,.45), 0 0 0 6px rgba(92,192,242,.22), 0 16px 40px -20px rgba(0,0,0,.7); }
  .hdr-search .s-ic { width: 22px; height: 22px; opacity: .9; }
  .hdr-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; color: inherit; font-size: 1.0625rem; }
  .hdr-search input::placeholder { color: currentColor; opacity: .78; }
  .hdr-search input::-webkit-search-cancel-button { filter: invert(1); }
  .hdr-search .mic { width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: inherit; display: grid; place-items: center; opacity: .8; }
  .hdr-search .mic[hidden] { display: none; }
  .hdr-search .mic.on { background: var(--sun); color: var(--sun-ink); opacity: 1; animation: ping 1.4s infinite; }
  .hs-res { position: absolute; left: 0; right: 0; top: calc(100% + 10px); margin: 0; padding: 8px; list-style: none; border-radius: 24px; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(7,19,39,.7); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); max-height: 60vh; overflow: auto; animation: pop .25s var(--ease); }
  .hs-res[hidden] { display: none; }
  .hs-res a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; text-decoration: none; }
  .hs-res a:hover, .hs-res a:focus-visible, .hs-res a.act { background: var(--paper-2); }
  .hs-res b { display: block; font-family: var(--font-display); font-weight: 640; }
  .hs-res small { color: var(--ink-3); font-size: .875rem; }
  .hs-res .empty { padding: 12px; color: var(--ink-2); }
  .hs-open { display: none; }
  .btn-enter { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: linear-gradient(180deg, #1680D8, #0A5FAE); color: #fff; text-decoration: none; font-family: var(--font-display); font-weight: 680; font-size: 1.0625rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.4), 0 14px 30px -14px rgba(10,95,174,.9); transition: transform .3s var(--ease); }
  .btn-enter:hover { transform: translateY(-1px); }
  .hdr .menu-btn { display: grid; }
  .hdr.on-light .glass-ic { border-color: rgba(13,23,38,.12); background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(255,255,255,.6)); }
  .hdr.on-light .hdr-search { color: var(--ink); background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(242,245,249,.85)) padding-box, linear-gradient(110deg, rgba(10,108,192,.7), rgba(13,23,38,.12) 45%, rgba(243,154,44,.8)) border-box; }
  .hdr.on-light .hdr-search input::-webkit-search-cancel-button { filter: none; }
  .nav { display: none !important; }

  /* menu em folha de vidro */
  .drawer { background: rgba(7,19,39,.32); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .drawer-in { inset: 12px auto 12px 12px; width: min(440px, calc(100% - 24px)); border-radius: 34px; padding: 22px 22px 26px; gap: 14px; background: linear-gradient(170deg, rgba(23,52,94,.72), rgba(7,19,39,.78)); border: 1px solid rgba(255,255,255,.18); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 40px 90px -30px rgba(0,0,0,.8); -webkit-backdrop-filter: blur(34px) saturate(1.7); backdrop-filter: blur(34px) saturate(1.7); color: #fff; animation: sheetIn .45s var(--ease); }
  @keyframes sheetIn { from { transform: translateX(-24px) scale(.97); opacity: 0; } }
  .dr-label { font-family: var(--font-display); font-weight: 640; font-size: .875rem; color: rgba(255,255,255,.62); margin-top: 6px; }
  .app-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
  .app-grid a { display: grid; justify-items: center; gap: 8px; text-decoration: none; color: #fff; font-size: .8125rem; font-weight: 600; text-align: center; line-height: 1.2; }
  .app-grid .appic { --sz: 58px; transition: transform .35s var(--ease); }
  .app-grid a:hover .appic { transform: translateY(-3px) scale(1.04); }
  .drawer:not([hidden]) .app-grid a, .drawer:not([hidden]) .dr-links a { animation: rise .5s var(--ease) both; }
  .app-grid a:nth-child(2), .dr-links a:nth-child(2) { animation-delay: .03s !important; } .app-grid a:nth-child(3), .dr-links a:nth-child(3) { animation-delay: .06s !important; } .app-grid a:nth-child(4), .dr-links a:nth-child(4) { animation-delay: .09s !important; } .app-grid a:nth-child(5), .dr-links a:nth-child(5) { animation-delay: .12s !important; } .app-grid a:nth-child(6), .dr-links a:nth-child(6) { animation-delay: .15s !important; } .app-grid a:nth-child(7), .dr-links a:nth-child(7) { animation-delay: .18s !important; } .app-grid a:nth-child(8), .dr-links a:nth-child(8) { animation-delay: .21s !important; }
  .dr-links { display: grid; gap: 2px; padding: 8px; border-radius: 24px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); }
  .drawer .dr-links a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border: 0; border-radius: 16px; font-family: var(--font-display); font-weight: 600; font-stretch: 104%; font-size: 1.0625rem; letter-spacing: -.01em; text-decoration: none; }
  .dr-links a:hover, .dr-links a[aria-current] { background: rgba(255,255,255,.1); }
  .drawer-foot { gap: 10px; }
  .drawer-foot p { font-size: .8125rem; color: rgba(255,255,255,.6); text-align: center; }

  @media (max-width: 1100px) {
    .hdr-search { max-width: none; }
    .gb-id { display: none; }
    .gb-tools { margin-left: auto; }
  }
  @media (max-width: 720px) {
    .topstrip { height: 44px; }
    .ts-in { justify-content: space-between; gap: 10px; }
    .ts-in p { font-size: .875rem; line-height: 1.2; }
    .ts-btn { height: 30px; padding: 0 12px; font-size: .8125rem; white-space: nowrap; }
    .ts-btn .ico { display: none; }
    .govbar { height: 40px; }
    .gb-btn span { display: none; }
    .gb-tools { width: 100%; justify-content: space-between; }
    .hdr-in { gap: 10px; }
    .hdr-sep { display: none; }
    .brand { height: 40px; }
    .hdr-search { display: none; position: absolute; left: 12px; right: 12px; top: 8px; height: 50px; margin: 0; }
    .hdr.searching .hdr-search { display: flex; }
    .hs-open { display: grid; margin-left: auto; }
    .btn-enter { width: 46px; height: 46px; padding: 0; justify-content: center; }
    .btn-enter span { display: none; }
    .glass-ic { width: 44px; height: 44px; }
    .app-grid .appic { --sz: 54px; }
    .drawer-in { inset: 8px; width: auto; border-radius: 28px; overflow: auto; }
    .glass-ic, .hdr-search { -webkit-backdrop-filter: none; backdrop-filter: none; }
    .glass-ic { background: rgba(255,255,255,.16); }
    .hdr-search { background: rgba(11,24,48,.96) padding-box, linear-gradient(110deg, rgba(92,192,242,.95), rgba(255,255,255,.3) 45%, rgba(243,154,44,.9)) border-box; }
    .hdr.on-light .hdr-search { background: #fff padding-box, linear-gradient(110deg, rgba(10,108,192,.7), rgba(13,23,38,.12) 45%, rgba(243,154,44,.8)) border-box; }
  }
}
@layer sections { :root { --a11y-h: 92px; } @media (max-width: 720px) { :root { --a11y-h: 84px; --hdr-h: 66px; } } }

/* =====================================================================
   RODAPÉ NOVO: serviços relacionados, canais de manifestação, colunas, canais oficiais
   ===================================================================== */
@layer sections {
  .related { position: relative; padding: clamp(56px, 7vw, 92px) 0; background: var(--paper-2); }
  .rel-box { padding: clamp(22px, 3vw, 38px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-card); }
  .rel-t { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font-size: clamp(1.45rem, 2vw, 1.9rem); }
  .rel-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .rel-card { position: relative; display: grid; align-content: space-between; gap: 22px; min-height: 168px; padding: 20px; border-radius: 24px; background: var(--paper-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s, border-color .2s, background .2s; }
  .rel-card b { font-family: var(--font-display); font-weight: 640; font-size: 1.125rem; line-height: 1.2; letter-spacing: -.012em; padding-right: 30px; }
  .rel-card::after { content: ""; position: absolute; right: 18px; bottom: 20px; width: 26px; height: 26px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .35s var(--ease), background-color .2s; }
  .rel-card:hover { transform: translateY(-5px); background: #fff; border-color: var(--brand); box-shadow: var(--sh-ui); }
  .rel-card:hover::after { transform: translateX(3px); background-color: var(--brand); }
  .rel-card:hover .appic { transform: rotate(-6deg) scale(1.06); }
  .rel-card .appic { transition: transform .45s var(--ease); }
  .rel-wa { position: absolute; right: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #1FA855; color: #fff; box-shadow: 0 8px 16px -8px rgba(18,128,79,.9); }
  .rel-wa .ico { width: 18px; height: 18px; }
  .rel-wa .ic-d { fill: #fff; }

  .ftr { padding-top: clamp(56px, 6vw, 84px); }
  .ftr .wrap { position: relative; }
  .f-brand { display: flex; align-items: center; justify-content: center; gap: 22px; }
  .f-brand img { height: 58px; width: auto; }
  .f-sep { width: 1px; height: 46px; background: rgba(255,255,255,.3); }
  .f-pref { display: grid; font-family: var(--font-display); line-height: 1.02; }
  .f-pref small { font-size: .8125rem; font-weight: 500; color: var(--fg-3); }
  .f-pref b { font-size: 1.55rem; font-weight: 700; font-stretch: 110%; letter-spacing: -.025em; }
  .f-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 34px 0 46px; }
  .ftr .f-pills a { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 20px 0 9px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.03)); box-shadow: inset 0 1px 0 rgba(255,255,255,.18); color: #fff; font-weight: 700; font-size: .9688rem; transition: background .2s, transform .35s var(--ease), border-color .2s; }
  .ftr .f-pills a:hover { text-decoration: none; background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.4); transform: translateY(-2px); }
  .f-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding: 40px 0; border-block: 1px solid var(--line-dark); }
  .f-cols h3 { font-size: 1.0625rem; margin-bottom: 16px; color: #fff; }
  .f-cols ul { gap: 11px; }
  .f-apps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; padding: 34px 0 6px; }
  .f-apps p { margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--fg-2); }
  .f-app { display: inline-flex; align-items: center; gap: 12px; padding: 8px 18px 8px 8px; border-radius: 18px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.05); color: #fff; transition: background .2s, transform .35s var(--ease); }
  a.f-app:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); text-decoration: none !important; }
  .f-app > span:last-child { display: grid; line-height: 1.15; font-family: var(--font-display); font-weight: 660; font-size: 1.0625rem; }
  .f-app small { font-family: var(--font-body); font-weight: 500; font-size: .75rem; color: var(--fg-3); }
  .ftr .ftr-base { justify-content: center; align-items: center; gap: 10px; margin-top: 34px; text-align: center; font-family: var(--font-body); }
  .ftr-base img { width: 22px; height: 22px; opacity: .7; }
  .to-top { position: absolute; right: max(var(--pad), calc((100% - var(--w)) / 2)); top: 34px; z-index: 2; width: 54px; height: 54px; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--sun); color: var(--sun-ink); box-shadow: 0 14px 30px -12px rgba(243,154,44,.8), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .35s var(--ease); }
  .to-top:hover { transform: translateY(-4px); }
  .to-top .ico { width: 24px; height: 24px; }
  .libras-float { position: fixed; z-index: 66; left: 0; top: 58%; width: 46px; height: 56px; padding: 0 0 0 6px; border: 0; border-radius: 0 18px 18px 0; display: grid; place-items: center; background: linear-gradient(160deg, #1680D8, #0B4E96); color: #fff; box-shadow: 0 14px 30px -14px rgba(7,19,39,.8), inset 0 1px 0 rgba(255,255,255,.35); transition: width .3s var(--ease); }
  .libras-float:hover, .libras-float[aria-expanded="true"] { width: 54px; }
  .libras-float .ico { width: 26px; height: 26px; }
  .wa-opts a { justify-content: flex-start; gap: 12px; padding: 0 12px 0 6px; min-height: 50px; }
  .wa-opts .appic .ico { width: 52%; height: 52%; }
  .wa-opts .go { margin-left: auto; width: 18px; height: 18px; }

  @media (max-width: 1100px) {
    .rel-grid, .f-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 720px) {
    .related { padding: 44px 0; }
    .rel-box { padding: 18px; border-radius: 26px; }
    .rel-grid { gap: 10px; }
    .rel-card { min-height: 150px; padding: 16px; border-radius: 20px; }
    .rel-card b { font-size: 1rem; padding-right: 0; padding-bottom: 30px; }
    .rel-card::after { right: 14px; bottom: 14px; }
    .f-brand { gap: 14px; }
    .f-brand img { height: 44px; }
    .f-pref b { font-size: 1.25rem; }
    .f-pills { display: grid; grid-template-columns: 1fr; margin: 28px 0 34px; }
    .ftr .f-pills a { justify-content: flex-start; }
    .f-cols { gap: 28px 18px; padding: 32px 0; }
    .f-apps { grid-template-columns: 1fr; gap: 18px; }
    .to-top { position: relative; top: auto; right: auto; margin: 26px auto 0; }
    .libras-float { top: auto; bottom: calc(170px + env(safe-area-inset-bottom)); width: 40px; height: 48px; }
    .libras-float .ico { width: 22px; height: 22px; }
  }
}
@layer sections {
  .dr-portal { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 24px; color: #fff; text-decoration: none; background: linear-gradient(120deg, rgba(243,154,44,.28), rgba(255,255,255,.06) 60%); border: 1px solid rgba(255,255,255,.2); box-shadow: inset 0 1px 0 rgba(255,255,255,.22); transition: background .2s, transform .35s var(--ease); }
  .dr-portal:hover { transform: translateY(-2px); background: linear-gradient(120deg, rgba(243,154,44,.38), rgba(255,255,255,.1) 60%); }
  .dr-portal b { display: block; font-family: var(--font-display); font-weight: 680; font-size: 1.125rem; letter-spacing: -.01em; }
  .dr-portal small { font-size: .8125rem; color: rgba(255,255,255,.72); }
  .dr-portal .go { margin-left: auto; width: 20px; height: 20px; }
  .btn-enter[aria-current] { box-shadow: 0 0 0 3px rgba(243,154,44,.6), inset 0 1px 0 rgba(255,255,255,.4); }
}

/* banner: objetos 3D da marca e sombra que libera a igreja e o céu */
@layer sections {
  .hero-3d { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity 1s; }
  .hero.has-3d .hero-3d { opacity: 1; }
  .hero.has-3d .hero-orbit { display: none; }
  .hero-shade { background:
      linear-gradient(90deg, rgba(7,19,39,.9) 0%, rgba(7,19,39,.78) 28%, rgba(7,19,39,.42) 46%, rgba(7,19,39,.08) 60%, rgba(7,19,39,0) 70%),
      radial-gradient(110% 75% at 0% 100%, rgba(7,19,39,.78) 0%, rgba(7,19,39,.36) 46%, rgba(7,19,39,0) 72%),
      linear-gradient(180deg, rgba(7,19,39,.5) 0%, rgba(7,19,39,0) 19%); }
  @media (max-width: 720px) {
    .hero-shade { background: linear-gradient(0deg, rgba(7,19,39,.96) 0%, rgba(7,19,39,.9) 38%, rgba(7,19,39,.55) 58%, rgba(7,19,39,.12) 74%, rgba(7,19,39,.4) 100%); }
  }
}

/* WhatsApp: formulário que monta a mensagem */
@layer sections {
  .wa-pop { width: min(384px, calc(100vw - 28px)); max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); display: flex; flex-direction: column; }
  .wa-head { flex: none; }
  .wa-body { overflow: auto; overscroll-behavior: contain; }
  .wa-form[hidden], .wa-done[hidden], .wa-f[hidden] { display: none; }
  .wa-f { display: grid; gap: 6px; min-width: 0; margin: 0; padding: 0; border: 0; }
  .wa-f label, .wa-f legend { padding: 0; font-weight: 700; font-size: .875rem; color: #0E3B27; }
  .wa-f legend { margin-bottom: 6px; }
  .wa-f input[type="text"], .wa-f input[type="tel"] { width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1.5px solid #D3DCD6; background: #fff; color: var(--ink); font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
  .wa-f input[type="text"]:focus, .wa-f input[type="tel"]:focus { outline: none; border-color: #1FA855; box-shadow: 0 0 0 4px rgba(31,168,85,.18); }
  .wa-f input[aria-invalid="true"] { border-color: #C0392B; }
  .wa-err { color: #B42318; font-size: .8125rem; font-weight: 600; }
  .wa-err[hidden] { display: none; }
  .wa-chips { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .wa-chips label { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 6px 10px 6px 6px; border-radius: 14px; border: 1.5px solid transparent; background: #fff; color: #0E5E3A; font-size: .875rem; line-height: 1.15; cursor: pointer; transition: border-color .2s, background .2s, transform .25s var(--ease); }
  .wa-chips label:hover { transform: translateY(-1px); }
  .wa-chips input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
  .wa-chips label:has(input:checked) { border-color: #1FA855; background: #E3F4EA; }
  .wa-chips label:has(input:focus-visible) { outline: 3px solid var(--sun); outline-offset: 2px; }
  .wa-chips .appic.mini { --sz: 30px; }
  .wa-preview { justify-self: end; max-width: 94%; padding: 10px 12px; border-radius: 14px 14px 4px 14px; background: #D9FDD3; font-size: .9063rem; line-height: 1.45; box-shadow: 0 1px 1px rgba(0,0,0,.06); }
  .wa-preview small { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 700; color: #0E5E3A; }
  .wa-send { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 20px; border: 0; border-radius: 999px; background: #1FA855; color: #fff; font-family: var(--font-display); font-weight: 680; font-size: 1.0625rem; text-decoration: none; box-shadow: 0 12px 24px -12px rgba(18,128,79,.8); transition: background .2s, transform .3s var(--ease); }
  .wa-send:hover { background: #17924A; transform: translateY(-1px); }
  .wa-send .ico { width: 22px; height: 22px; }
  .wa-send .ic-d { fill: #fff; }
  .wa-done { display: grid; justify-items: center; gap: 14px; padding: 26px 18px; text-align: center; }
  .wa-done .wa-send { width: 100%; }
  .wa-link { border: 0; background: none; color: #0E5E3A; font-weight: 700; text-decoration: underline; }
  .wa-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; animation: waPing 2.8s 4s infinite; pointer-events: none; }
  .wa-btn { position: relative; }
  .wa.open .wa-btn::after { animation: none; }
  @keyframes waPing { 0% { box-shadow: 0 0 0 0 rgba(31,168,85,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(31,168,85,0); } }
  .ts-s { display: none; }
  @media (max-width: 720px) {
    .wa-pop { max-height: calc(100dvh - 190px); }
    .ts-l { display: none; }
    .ts-s { display: inline; }
    .ts-in p { font-size: .9375rem; white-space: nowrap; }
    .libras-float { display: none; }
  }
}
@layer sections {
  @media (max-width: 720px) {
    .ts-ic { display: none; }
    .ts-in p { font-size: .8125rem; }
    .ts-btn { height: 28px; padding: 0 12px; font-size: .75rem; }
  }
}

/* =====================================================================
   NOTÍCIAS COM AGENDA + INSTAGRAM VIVO
   ===================================================================== */
@layer sections {
  .nt-head { display: grid; gap: 14px; margin-bottom: clamp(26px, 3vw, 40px); max-width: 30ch; }
  .news-main .nt-head .t-h2 { margin: 0; }
  .nt-sub { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: 1.0625rem; max-width: 40ch; }
  .nt-sub .ico { width: 24px; height: 24px; color: var(--brand); margin-top: 1px; }
  .spot-stage { position: relative; }
  .spot-media { perspective: 900px; }
  /* página de calendário que vira a cada notícia */
  .cal-page { position: absolute; z-index: 4; left: 22px; top: 22px; width: 108px; padding-bottom: 12px; border-radius: 20px; background: #fff; color: var(--ink); text-align: center; box-shadow: 0 24px 40px -18px rgba(7,19,39,.6), 0 2px 0 #E1E7EF, 0 4px 0 #CDD6E2; transform-origin: 50% 0; overflow: visible; }
  .cal-rings { position: absolute; left: 0; right: 0; top: -7px; display: flex; justify-content: center; gap: 34px; z-index: 2; }
  .cal-rings i { width: 10px; height: 18px; border-radius: 6px; background: linear-gradient(180deg, #E8EDF4, #9AA6B8); box-shadow: inset 0 0 0 1.5px #6B778C; }
  .cal-m { display: block; padding: 12px 0 6px; border-radius: 20px 20px 0 0; background: linear-gradient(180deg, #FFB04A, var(--sun)); color: var(--sun-ink); font-family: var(--font-display); font-weight: 700; font-stretch: 116%; font-size: .9375rem; text-transform: uppercase; letter-spacing: .06em; }
  .cal-d { display: block; margin-top: 4px; font-family: var(--font-display); font-weight: 720; font-stretch: 112%; font-size: 3rem; line-height: 1; letter-spacing: -.05em; }
  .cal-wd { display: block; font-size: .75rem; font-weight: 700; color: var(--ink-3); }
  /* agenda do mês, sobreposta ao canto da foto */
  .agenda { position: absolute; z-index: 5; right: -22px; top: -148px; width: 262px; padding: 16px 16px 14px; border-radius: 26px; background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.88)); border: 1px solid rgba(255,255,255,.9); box-shadow: 0 40px 70px -30px rgba(7,19,39,.55), 0 2px 6px rgba(7,19,39,.08); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); animation: floatY 7s ease-in-out infinite; }
  .ag-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
  .ag-top small { display: block; font-size: .75rem; font-weight: 700; color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; }
  .ag-top b { display: block; font-family: var(--font-display); font-weight: 660; font-size: 1.0625rem; letter-spacing: -.01em; }
  .ag-wd, .ag-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
  .ag-wd span { font-size: .6875rem; font-weight: 700; color: var(--ink-3); padding-bottom: 4px; }
  .ag-grid > * { display: grid; place-items: center; height: 28px; border-radius: 9px; font-size: .8125rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
  .ag-grid button { position: relative; border: 0; padding: 0; background: #E6F0FA; color: var(--brand-deep); font-weight: 800; transition: background .25s, color .25s, transform .3s var(--ease); }
  .ag-grid button::after { content: ""; position: absolute; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--sun); }
  .ag-grid button:hover { transform: scale(1.12); }
  .ag-grid button.on { background: var(--sun); color: var(--sun-ink); box-shadow: 0 8px 16px -8px rgba(229,129,15,.9); transform: scale(1.14); }
  .ag-grid button.on::after { background: #fff; }
  .ag-leg { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: .75rem; color: var(--ink-3); }
  .ag-leg i { width: 14px; height: 14px; border-radius: 5px; background: #E6F0FA; box-shadow: inset 0 0 0 4px #E6F0FA, inset 0 0 0 7px var(--sun); }
  /* datas da lista como folhinhas */
  .spot-list .sl-d { display: inline-grid; justify-items: center; width: 46px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink); }
  .spot-list .sl-d small { display: block; width: 100%; padding: 2px 0; background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; text-align: center; }
  .spot-list .sl-d b { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; line-height: 1.3; }
  .spot-list [aria-selected="true"] .sl-d small { background: var(--sun); color: var(--sun-ink); }

  /* celular inteiro */
  .ig { padding: 20px 0 10px; }
  .phone { width: min(318px, 100%); padding: 11px; border-radius: 54px; background: linear-gradient(150deg, #2A3A57, #0B1426 40%, #142139); box-shadow: 0 70px 100px -40px rgba(7,19,39,.7), inset 0 0 0 1.5px #3B4D6E, inset 0 0 0 4px #0B1426; transform: rotate(-3deg); }
  .phone-btn { position: absolute; width: 4px; border-radius: 3px; background: #1B2840; }
  .phone-btn.b1 { left: -3px; top: 132px; height: 34px; } .phone-btn.b2 { left: -3px; top: 178px; height: 54px; } .phone-btn.b3 { right: -3px; top: 160px; height: 78px; }
  .phone-screen { position: relative; height: 640px; padding: 0; display: flex; flex-direction: column; border-radius: 44px; overflow: hidden; background: #fff; isolation: isolate; }
  .phone-notch { left: 50%; top: 10px; width: 92px; height: 27px; margin-left: -46px; border-radius: 20px; background: #05080F; z-index: 6; }
  .ig-status { flex: none; display: flex; justify-content: space-between; align-items: center; height: 46px; padding: 6px 26px 0 30px; font-size: .875rem; }
  .ig-status b { font-family: var(--font-body); font-weight: 700; letter-spacing: -.01em; }
  .ig-sys { display: flex; align-items: center; gap: 6px; }
  .ig-sys .sg { display: flex; align-items: flex-end; gap: 1.5px; height: 10px; }
  .ig-sys .sg i { width: 3px; border-radius: 1px; background: var(--ink); }
  .ig-sys .sg i:nth-child(1) { height: 4px; } .ig-sys .sg i:nth-child(2) { height: 6px; } .ig-sys .sg i:nth-child(3) { height: 8px; } .ig-sys .sg i:nth-child(4) { height: 10px; }
  .ig-sys .bt { position: relative; width: 22px; height: 11px; border-radius: 3.5px; border: 1.3px solid rgba(13,23,38,.45); padding: 1.2px; }
  .ig-sys .bt i { display: block; width: 78%; height: 100%; border-radius: 1.5px; background: var(--ink); }
  .ig-bar { flex: none; display: flex; align-items: center; gap: 6px; padding: 4px 16px 10px; }
  .ig-bar > .ico { width: 14px; height: 14px; }
  .ig-bar b { font-family: var(--font-display); font-weight: 680; font-size: 1.1875rem; letter-spacing: -.02em; }
  .ig-bar-ic { margin-left: auto; display: flex; gap: 16px; }
  .ig-bar-ic .ico { width: 24px; height: 24px; }
  .ig-bar-ic .ic-d, .ig-nav .ic-d, .ig-tabs .ic-d, .ig-more .ic-d { display: none; }
  .ig-feed { position: relative; flex: 1; min-height: 0; overflow: hidden; }
  .ig-feed-in { will-change: transform; }
  .ig-prof { display: flex; align-items: center; gap: 14px; padding: 2px 16px 10px; }
  .phone .ig-av { position: relative; width: 82px; height: 82px; padding: 3px; background: none; isolation: isolate; }
  .phone .ig-av::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--sun), #E1306C, #8A3AB9, var(--brand), var(--sun)); z-index: -1; animation: spin 6s linear infinite; }
  .phone .ig-av img { width: 50px; }
  .ig-who b { display: block; font-family: var(--font-display); font-weight: 680; font-size: 1rem; }
  .ig-who small { color: var(--ink-3); font-size: .75rem; }
  .ig-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
  .ig-tags i { font-style: normal; padding: 2px 8px; border-radius: 99px; background: var(--paper-2); font-size: .6875rem; font-weight: 700; color: var(--ink-2); }
  .ig-bio { padding: 0 16px 12px; font-size: .8125rem; line-height: 1.4; color: var(--ink); }
  .ig-bio span { display: block; margin-top: 2px; font-weight: 700; color: #00376B; }
  .ig-actions { position: relative; display: grid; grid-template-columns: 1fr 1fr auto; gap: 6px; padding: 0 16px 14px; }
  .ig-follow, .ig-msg, .ig-more { position: relative; display: grid; place-items: center; height: 34px; border-radius: 10px; font-weight: 700; font-size: .875rem; text-decoration: none; overflow: hidden; }
  .phone .ig-follow { margin: 0; padding: 0; background: #0095F6; color: #fff; transition: background .3s, color .3s, transform .2s; }
  .ig-follow .fo-a, .ig-follow .fo-b { grid-area: 1 / 1; display: inline-flex; align-items: center; gap: 4px; transition: transform .35s var(--ease), opacity .25s; }
  .ig-follow .fo-b { transform: translateY(120%); opacity: 0; }
  .ig-follow .fo-b .ico { width: 16px; height: 16px; }
  .ig-follow .ripple { position: absolute; left: 62%; top: 55%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: rgba(255,255,255,.7); transform: scale(0); opacity: 0; }
  .ig-msg { background: #EFEFEF; color: var(--ink); }
  .ig-more { width: 34px; background: #EFEFEF; color: var(--ink); }
  .ig-more .ico { width: 18px; height: 18px; }
  .ig.followed .ig-follow { background: #EFEFEF; color: var(--ink); }
  .ig.followed .fo-a { transform: translateY(-120%); opacity: 0; }
  .ig.followed .fo-b { transform: none; opacity: 1; }
  .ig.tapping .ig-follow { transform: scale(.94); }
  .ig.tapping .ig-follow .ripple { animation: igRipple .7s var(--ease) forwards; }
  @keyframes igRipple { 0% { transform: scale(0); opacity: .9; } 100% { transform: scale(22); opacity: 0; } }
  .ig-hint { position: absolute; left: 10px; bottom: calc(100% + 2px); z-index: 4; padding: 8px 12px; border-radius: 12px; background: var(--ink); color: #fff; font-size: .75rem; white-space: nowrap; box-shadow: 0 12px 24px -10px rgba(7,19,39,.7); opacity: 0; transform: translateY(6px) scale(.96); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
  .ig-hint::after { content: ""; position: absolute; left: 40px; top: 100%; border: 6px solid transparent; border-top-color: var(--ink); }
  .ig-hint b { color: #7CC8FF; }
  .ig.hinting .ig-hint { opacity: 1; transform: none; animation: hintBob 1.6s ease-in-out .4s infinite; }
  @keyframes hintBob { 50% { transform: translateY(-3px); } }
  .ig.hinting .ig-follow { box-shadow: 0 0 0 0 rgba(0,149,246,.6); animation: followPulse 1.6s infinite; }
  @keyframes followPulse { 0% { box-shadow: 0 0 0 0 rgba(0,149,246,.55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(0,149,246,0); } }
  .ig-tap { position: absolute; z-index: 7; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; background: rgba(255,255,255,.45); border: 2px solid rgba(13,23,38,.35); box-shadow: 0 8px 18px -6px rgba(7,19,39,.5); opacity: 0; transform: translate(40px, 70px) scale(.9); transition: opacity .4s, transform .9s var(--ease); pointer-events: none; }
  .ig.hinting .ig-tap { opacity: 1; transform: none; }
  .ig.tapping .ig-tap { opacity: 1; transform: scale(.72); transition: transform .18s, opacity .3s .5s; background: rgba(255,255,255,.7); }
  .ig.followed:not(.tapping) .ig-tap { opacity: 0; transform: translate(30px, 50px); }
  .ig-toast { position: absolute; z-index: 6; left: 10px; right: 10px; bottom: 66px; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 18px; background: rgba(13,23,38,.92); color: #fff; font-size: .75rem; line-height: 1.3; box-shadow: 0 18px 30px -14px rgba(0,0,0,.6); transform: translateY(140%); opacity: 0; transition: transform .5s var(--ease), opacity .3s; }
  .ig-toast b { display: block; font-size: .8125rem; }
  .ig.show-toast .ig-toast { transform: none; opacity: 1; }
  .ig-hl { display: flex; gap: 12px; padding: 0 16px 12px; overflow: hidden; }
  .ig-hl span { flex: none; display: grid; justify-items: center; gap: 4px; width: 56px; font-size: .625rem; font-weight: 600; text-align: center; line-height: 1.1; }
  .ig-hl .appic { --sz: 52px; border-radius: 50%; box-shadow: 0 0 0 2.5px #fff, 0 0 0 3.5px #CBD3DE; font-style: normal; }
  .ig-hl .appic::before { display: none; }
  .ig-tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #E5E8EC; }
  .ig-tabs span { display: grid; place-items: center; height: 40px; color: var(--ink-3); }
  .ig-tabs span.on { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink); }
  .ig-tabs .ico { width: 22px; height: 22px; }
  .phone .ig-grid { gap: 2px; border-radius: 0; }
  .ig-grid .tx.green { background: linear-gradient(160deg, #2CC56B, #13834A); color: #fff; }
  .ig-grid .tx.night2 { background: linear-gradient(160deg, #1D3A68, #0B1830); color: #fff; }
  .ig-grid .tx.sky { background: linear-gradient(160deg, #5CC9FA, #0E8DD0); color: #fff; }
  .ig-grid .tx .o[viewBox="0 0 24 24"] { width: 28px; height: 28px; }
  .ig-grid .tx .ic-d { fill: var(--sun); }
  .ig-grid .tx.new { animation: newPost 9s var(--ease) infinite; }
  @keyframes newPost { 0%, 6% { transform: scale(.6); opacity: 0; } 14%, 100% { transform: none; opacity: 1; } }
  .ig-heart { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px; color: #fff; opacity: 0; animation: heartPop 9s ease-out infinite; }
  .ig-heart .ico { width: 100%; height: 100%; }
  .ig-heart .ic-s { fill: #fff; stroke: #fff; }
  @keyframes heartPop { 0%, 16% { opacity: 0; transform: scale(.3); } 20% { opacity: 1; transform: scale(1.15); } 26% { transform: scale(.95); } 34% { opacity: 1; } 42%, 100% { opacity: 0; transform: scale(1.1) translateY(-10px); } }
  .ig-nav { flex: none; display: flex; justify-content: space-around; align-items: center; height: 56px; padding-bottom: 6px; border-top: 1px solid #E5E8EC; background: #fff; position: relative; z-index: 5; }
  .ig-nav .ico { width: 24px; height: 24px; }
  .ig-nav .me { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 0 1.5px var(--ink); }
  .ig-nav .me img { width: 16px; }
  /* elementos que flutuam por fora do celular */
  .ig-float { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 18px; background: rgba(255,255,255,.94); color: var(--ink); font-size: .8125rem; line-height: 1.25; box-shadow: 0 24px 40px -18px rgba(7,19,39,.5), 0 1px 3px rgba(7,19,39,.08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); max-width: 220px; animation: igFloat 6s ease-in-out infinite; }
  @keyframes igFloat { 50% { translate: 0 -9px; } }
  .ig-float b { display: block; }
  .ig-float.f1 { left: -46px; top: 13%; }
  .ig-float.f2 { right: -40px; top: 56%; animation-delay: -2s; }
  .ig-float.f3 { right: -6px; top: 24%; width: 52px; height: 52px; padding: 0; justify-content: center; border-radius: 50%; background: linear-gradient(160deg, #FF5A7A, #E1306C); color: #fff; animation: igFloat 4s ease-in-out infinite, beat 1.8s ease-in-out infinite; }
  .ig-float.f3 .ico { width: 26px; height: 26px; }
  .ig-float.f3 .ic-s { fill: #fff; stroke: #fff; }
  @keyframes beat { 0%, 100% { scale: 1; } 12% { scale: 1.16; } 24% { scale: 1; } 36% { scale: 1.1; } }
  .ig-cta { margin-top: 6px; }

  @media (max-width: 1100px) {
    .agenda { right: 16px; top: auto; bottom: -40px; }
    .spot { gap: 58px; }
  }
  @media (max-width: 720px) {
    .nt-head { max-width: none; }
    .agenda { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 14px; animation: none; padding: 14px; }
    .spot { gap: 14px; }
    .ag-grid > * { height: 32px; }
    .cal-page { width: 80px; left: 12px; top: 12px; border-radius: 16px; padding-bottom: 8px; }
    .cal-m { padding: 9px 0 4px; font-size: .75rem; border-radius: 16px 16px 0 0; }
    .cal-d { font-size: 2.2rem; }
    .cal-wd { font-size: .625rem; }
    .cal-rings { gap: 24px; }
    .phone { width: min(300px, 86vw); transform: none; }
    .phone-screen { height: 600px; }
    .ig-float { display: none; }
  }
}
@layer sections { .wa-pop[hidden], .wa-tip[hidden] { display: none; } }

@layer sections { @media (max-width: 720px) { .wa-tip { display: none !important; } } }
@layer sections {
  .drawer nav.app-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .drawer .app-grid a { padding: 0; border: 0; font-family: var(--font-body); font-weight: 600; font-stretch: 100%; font-size: .8125rem; letter-spacing: 0; line-height: 1.2; overflow-wrap: anywhere; }
  .drawer .dr-links a { border-bottom: 0; }
}
@layer sections { @media (max-width: 720px) { .drawer .app-grid a { font-size: .7rem; overflow-wrap: normal; letter-spacing: -.01em; } } }

/* Município de Itaberaí: bandeira no topo e no rodapé */
@layer sections {
  .hdr-city { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; font-family: var(--font-display); line-height: 1.02; }
  .hdr-city img, .f-flag { width: 48px; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 10px 20px -10px rgba(0,0,0,.7); }
  .hdr-city > span { display: grid; }
  .hdr-city small { font-family: var(--font-body); font-size: .75rem; opacity: .78; }
  .hdr-city b { font-weight: 700; font-stretch: 108%; font-size: 1.25rem; letter-spacing: -.02em; }
  .hdr.on-light .hdr-city img { box-shadow: 0 0 0 1px rgba(13,23,38,.12), 0 8px 16px -10px rgba(7,19,39,.5); }
  .f-pref { display: flex; align-items: center; gap: 12px; }
  .f-pref > span { display: grid; }
  .f-flag { width: 54px; }
  @media (max-width: 1180px) { .hdr-city, .hdr-city-sep { display: none; } }
  @media (max-width: 720px) { .f-flag { width: 42px; } }
}

/* =====================================================================
   SEM VIDRO E SEM DEGRADÊ NA INTERFACE (nov/2026)
   Público mais velho: superfícies sólidas, contraste alto, letras maiores.
   A assinatura passa a ser a da logo: azul sólido, órbita cinza e o ponto laranja.
   ===================================================================== */
@layer utilities {
  .glass-ic, .btn-glass, .chip-ui, .dock, .poi-card figcaption, .hdr, .hdr.is-solid, .hdr.on-light, .govbar, .hdr-search, .hs-res, .drawer, .drawer-in, .agenda, .ig-float, .indice, .pt-menu, .search-dlg { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
  .hero-blur { display: none; }

  /* faixas do topo */
  .topstrip { background: #0A6CC0; }
  .ts-btn { background: #fff; color: var(--brand-deep); border-color: #fff; }
  .ts-btn:hover { background: var(--sun); color: var(--sun-ink); border-color: var(--sun); }
  .ts-ic { background: #fff; color: #0A6CC0; border: 0; }
  .ts-ic .ic-d { fill: #0A6CC0; }
  .govbar { background: #0B1E3B; border-bottom: 1px solid #1F3A63; }
  .gb-id { color: #fff; }
  .gb-btn { color: #fff; font-weight: 600; }
  .gb-btn:hover, .gb-btn[aria-pressed="true"], .gb-btn[aria-expanded="true"] { background: #1F3A63; }

  /* cabeçalho: transparente só no alto do banner, sólido no resto */
  .hdr.is-solid { background: #071327; box-shadow: 0 2px 0 #0A6CC0; }
  .hdr.on-light { background: #fff; box-shadow: 0 1px 0 var(--line), 0 6px 18px -12px rgba(7,19,39,.35); }
  .glass-ic { background: #fff; color: var(--brand-deep); border: 0; box-shadow: 0 6px 16px -8px rgba(0,0,0,.55); }
  .glass-ic:hover { background: #fff; transform: scale(1.06); box-shadow: 0 0 0 3px var(--sun); }
  .hdr.on-light .glass-ic { background: var(--brand-deep); color: #fff; border: 0; box-shadow: none; }
  .hdr.on-light .glass-ic .ic-d, .glass-ic .ic-d { fill: var(--sun); }

  /* busca: branca, borda firme, letra grande */
  .hdr-search, .hdr.on-light .hdr-search { height: 56px; padding: 0 6px 0 18px; color: var(--ink); background: #fff; border: 2px solid #fff; box-shadow: 0 8px 22px -12px rgba(0,0,0,.55); }
  .hdr.on-light .hdr-search { border-color: #8FA6C2; box-shadow: none; }
  .hdr-search:focus-within, .hdr.on-light .hdr-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--sun); }
  .hdr-search .s-ic { width: 24px; height: 24px; color: var(--brand); opacity: 1; }
  .hdr-search .s-ic .ic-d { display: none; }
  .hdr-search input { font-size: 1.125rem; color: var(--ink); }
  .hdr-search input::placeholder { color: #44526A; opacity: 1; }
  .hdr-search input::-webkit-search-cancel-button { filter: none; }
  .hdr-search .mic { width: 44px; height: 44px; background: var(--brand); color: #fff; opacity: 1; }
  .hdr-search .mic:hover { background: var(--brand-deep); }
  .hdr-search .mic.on { background: var(--sun); color: var(--sun-ink); }
  .hs-res { background: #fff; border: 2px solid var(--line); }
  .hs-res b { font-size: 1.0625rem; }
  .hs-res small { color: var(--ink-2); font-size: .9375rem; }
  .btn-enter { background: var(--brand); box-shadow: 0 8px 18px -10px rgba(10,108,192,.9); }
  .btn-enter:hover { background: var(--brand-deep); }

  /* ícones da marca: cor chapada, órbita e ponto laranja */
  .appic { background: #0A6CC0; box-shadow: 0 6px 14px -8px rgba(7,19,39,.55); }
  .appic.sky { background: #0E8DD0; }
  .appic.sun { background: #F39A2C; box-shadow: 0 6px 14px -8px rgba(229,129,15,.7); }
  .appic.night { background: #123A8C; }
  .appic.green { background: #1E9E58; box-shadow: 0 6px 14px -8px rgba(19,131,74,.7); }
  .appic.glass { background: #1E4478; border: 0; box-shadow: none; }

  /* menu: painel azul-marinho sólido com a órbita da marca ao fundo */
  .drawer { background: rgba(7,19,39,.66); }
  .drawer-in { background: #0B1E3B; border: 1px solid #1F3A63; box-shadow: 0 40px 90px -30px rgba(0,0,0,.8); overflow: hidden auto; isolation: isolate; }
  .drawer-in::before { content: ""; position: absolute; z-index: -1; right: -120px; bottom: -40px; width: 420px; height: 170px; border: 2px solid rgba(195,200,208,.22); border-radius: 50%; transform: rotate(-24deg); pointer-events: none; }
  .drawer-in::after { content: ""; position: absolute; z-index: -1; right: 70px; bottom: 120px; width: 14px; height: 14px; border-radius: 50%; background: var(--sun); pointer-events: none; }
  .dr-label { color: #C9D6E8; font-size: .9375rem; }
  .drawer .app-grid a { color: #fff; font-size: .875rem; }
  .dr-links { background: #12294D; border: 1px solid #1F3A63; }
  .dr-links a:hover, .dr-links a[aria-current] { background: #1E4478; }
  .dr-portal, .dr-portal:hover { background: var(--sun); color: var(--sun-ink); border: 0; box-shadow: 0 12px 24px -14px rgba(243,154,44,.9); }
  .dr-portal small { color: rgba(27,18,6,.78); font-size: .875rem; }
  .drawer-foot p { color: #C9D6E8; font-size: .875rem; }

  /* botões e cartões que eram de vidro */
  .btn-glass { background: #fff; color: var(--ink); box-shadow: none; }
  .btn-glass:hover { background: #E6ECF3; }
  .chip-ui { background: #fff; }
  .dock { background: #071327; border: 1px solid #1F3A63; }
  .poi-card figcaption { background: #071327; }
  .indice, .pt-menu { background: #F2F5F9; }
  .agenda { background: #fff; border: 1px solid var(--line); }
  .ig-float { background: #fff; border: 1px solid var(--line); }
  .ig-toast { background: #0D1726; }

  /* rodapé sólido */
  .ftr .f-pills a { background: #12294D; border: 1px solid #2A4B7C; box-shadow: none; }
  .ftr .f-pills a:hover { background: #1E4478; border-color: #3B6296; }
  .f-app { background: #12294D; border-color: #2A4B7C; }
  a.f-app:hover { background: #1E4478; }
  .libras-float { background: #0A6CC0; }
  .wa-pop { border: 1px solid #D3DCD6; }

  @media (max-width: 720px) {
    .hdr-search, .hdr.on-light .hdr-search { height: 52px; border-color: var(--brand); }
    .glass-ic { background: #fff; }
    .drawer .app-grid a { font-size: .75rem; }
  }
}
@layer utilities {
  /* mais cores na família de ícones, para cada item ser reconhecido de longe */
  .appic.rose { background: #D9486B; box-shadow: 0 6px 14px -8px rgba(217,72,107,.7); }
  .appic.violet { background: #6A4BC4; box-shadow: 0 6px 14px -8px rgba(106,75,196,.7); }
  .appic.teal { background: #0F8A86; box-shadow: 0 6px 14px -8px rgba(15,138,134,.7); }
  .appic.slate { background: #44526A; }
  /* menu: ícones grandes e texto maior */
  .drawer .dr-links { gap: 4px; padding: 8px; }
  .drawer .dr-links a { gap: 14px; padding: 8px 10px; font-size: 1.1875rem; }
  .drawer .dr-links .appic { --sz: 46px; }
  .drawer .dr-links .appic .ico { width: 54%; height: 54%; }
  @media (max-width: 720px) { .drawer .dr-links .appic { --sz: 44px; } .drawer .dr-links a { font-size: 1.125rem; } }
}
@layer utilities {
  .drawer .app-grid a { overflow-wrap: normal; word-break: normal; font-size: .8125rem; }
  .dr-portal small { display: block; line-height: 1.3; }
}
@layer utilities {
  /* resultados da busca: ícone próprio, grande e colorido em cada item */
  .hs-res { padding: 10px; }
  .hs-res a { gap: 14px; padding: 10px 12px; border-radius: 18px; }
  .hs-res .appic { --sz: 50px; }
  .hs-res .appic .ico { width: 54%; height: 54%; }
  .hs-res .hr-t { flex: 1; min-width: 0; }
  .hs-res .hr-go { width: 22px; height: 22px; color: var(--ink-3); flex: none; }
  .hs-res .hr-go .ic-d { display: none; }
  .hs-res a:hover .hr-go, .hs-res a:focus-visible .hr-go { color: var(--brand); }
  .hs-res a:hover, .hs-res a:focus-visible, .hs-res a.act { background: #EAF2FB; }
  @media (max-width: 720px) { .hs-res .appic { --sz: 46px; } .hs-res b { font-size: 1rem; } }
}

/* =====================================================================
   SERVIÇOS RELACIONADOS + RODAPÉ (v3, próximo da referência Expresso)
   cartões cinza claros, ícone chapado em duas cores, menu de três pontos;
   rodapé sólido com filetes finos, botões contornados e selos simples
   ===================================================================== */
@layer sections {
  .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .svc-rel { padding: clamp(40px, 5vw, 64px) 0; background: #E9EDF2; }
  .sr-box { padding: 18px 18px 20px; border-radius: 26px; background: #fff; border: 1px solid #D5DCE5; }
  .sr-t { display: flex; align-items: center; gap: 12px; padding: 2px 2px 16px; margin-bottom: 18px; border-bottom: 1px solid #D5DCE5; font-family: var(--font-body); font-weight: 500; font-size: 1.375rem; letter-spacing: 0; color: var(--ink); }
  .sr-ic { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px; background: #EAF3FC; box-shadow: inset 0 0 0 1.5px #7FB2DE; color: var(--brand); }
  .sr-ic svg { width: 22px; height: 22px; }
  .sr-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
  .rc { position: relative; }
  .rc-a { display: grid; justify-items: center; align-content: start; gap: 14px; min-height: 176px; height: 100%; padding: 22px 46px 22px; border-radius: 18px; background: #F3F4F6; border: 1px solid #DADFE6; color: var(--ink); text-align: center; text-decoration: none; transition: background .2s, border-color .2s; }
  .rc-a:hover { background: #fff; border-color: var(--brand); }
  .rc-a:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
  .rc-ic { width: 58px; height: 58px; transition: transform .35s var(--ease); }
  .rc-a:hover .rc-ic { transform: translateY(-3px); }
  .rc-t { font-size: 1.0625rem; line-height: 1.35; color: var(--ink); }
  .rc-wa { position: absolute; left: 16px; top: 16px; color: #1FA855; }
  .rc-wa .ico { width: 24px; height: 24px; }
  .rc-wa .ic-d { display: none; }
  .rc-more { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #E3E6EB; color: var(--brand-deep); transition: background .2s; }
  .rc-more:hover, .rc-more[aria-expanded="true"] { background: #D2D8E1; }
  .rc-more .ico { width: 20px; height: 20px; }
  .rc-more .ic-d { fill: currentColor; }
  .rc-menu { position: absolute; z-index: 5; right: 10px; top: 56px; display: grid; min-width: 220px; padding: 6px; border-radius: 14px; background: #fff; border: 1px solid #D5DCE5; box-shadow: 0 18px 36px -18px rgba(7,19,39,.45); }
  .rc-menu[hidden] { display: none; }
  .rc-menu button { display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 12px; border: 0; border-radius: 10px; background: none; color: var(--ink); font-size: 1rem; text-align: left; }
  .rc-menu button:hover, .rc-menu button:focus-visible { background: #EEF3F8; outline: none; }
  .rc-menu .ico { width: 20px; height: 20px; color: var(--brand); }
  .rc-menu .ic-d { display: none; }

  .sft { position: relative; background: #0B1E3B; color: #fff; padding: 34px 0 calc(30px + env(safe-area-inset-bottom)); }
  .sft hr { height: 1px; margin: 22px 0; border: 0; background: rgba(255,255,255,.22); }
  .sft a { color: #fff; text-decoration: none; }
  .ft-brand { display: flex; align-items: center; gap: 18px; }
  .ft-city { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); line-height: 1.02; }
  .ft-city img { width: 50px; height: auto; border-radius: 3px; }
  .ft-city small { display: block; font-size: .8125rem; font-weight: 500; color: rgba(255,255,255,.75); }
  .ft-city b { font-size: 1.45rem; font-weight: 700; font-stretch: 110%; letter-spacing: -.02em; }
  .ft-sep { width: 1px; height: 50px; background: rgba(255,255,255,.35); }
  .ft-logo { height: 54px; width: auto; }
  .ft-pills { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
  .sft .ft-pills a { display: grid; place-items: center; min-height: 40px; padding: 4px 16px; border-radius: 999px; border: 1px solid #fff; font-size: 1rem; font-weight: 500; text-align: center; transition: background .2s, color .2s; }
  .sft .ft-pills a:hover { background: #fff; color: #0B1E3B; }
  .ft-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding: 4px 0; }
  .ft-cols h3 { margin-bottom: 16px; font-family: var(--font-body); font-weight: 500; font-size: 1.125rem; letter-spacing: 0; color: #fff; }
  .ft-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 13px; }
  .ft-cols a { font-size: .9688rem; font-weight: 600; color: rgba(255,255,255,.92); }
  .ft-cols a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .ft-apps { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 40px; }
  .ft-apps > div { display: grid; justify-items: center; gap: 10px; }
  .ft-apps p { margin: 0; font-size: .9688rem; font-weight: 500; color: #fff; }
  .ft-badge { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 16px 6px 12px; border-radius: 10px; border: 1px solid #fff; transition: background .2s; }
  .ft-badge:hover { background: rgba(255,255,255,.1); }
  .ft-badge .ico { width: 28px; height: 28px; flex: none; }
  .ft-badge .ic-d { display: none; }
  .ft-badge > span { display: grid; font-weight: 700; font-size: 1rem; line-height: 1.15; }
  .ft-badge small { font-weight: 500; font-size: .75rem; color: rgba(255,255,255,.85); }
  .ft-base { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0; text-align: center; font-size: .9375rem; color: rgba(255,255,255,.85); }
  .ft-base img { flex: none; opacity: .8; }
  .sft .to-top { position: absolute; top: auto; bottom: 96px; right: max(var(--pad), calc((100% - var(--w)) / 2)); width: 52px; height: 52px; background: var(--sun); color: var(--sun-ink); box-shadow: none; }
  .sft .to-top .ic-d { display: none; }

  @media (max-width: 960px) {
    .sr-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .ft-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 720px) {
    .sr-box { padding: 14px; border-radius: 22px; }
    .sr-t { font-size: 1.1875rem; padding-bottom: 12px; margin-bottom: 12px; }
    .rc-a { min-height: 158px; padding: 18px 12px 16px; gap: 10px; border-radius: 16px; }
    .rc-ic { width: 50px; height: 50px; margin-top: 18px; }
    .rc-t { font-size: 1rem; }
    .rc-more { width: 36px; height: 36px; right: 8px; top: 8px; }
    .rc-wa { left: 12px; top: 12px; }
    .ft-brand { gap: 14px; }
    .ft-logo { height: 42px; }
    .ft-city b { font-size: 1.2rem; }
    .ft-city img { width: 40px; }
    .ft-sep { height: 42px; }
    .ft-pills { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ft-cols { gap: 26px 16px; }
    .ft-apps { flex-direction: column; align-items: center; }
    .ft-base { flex-direction: column; font-size: .875rem; }
    .sft { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
    .sft .to-top { position: relative; bottom: auto; right: auto; display: grid; margin: 24px auto 0; }
  }
  .portal .svc-rel { display: none; }
}

/* =====================================================================
   SIMULADOR v2: página de calendário ancorada no centro da órbita,
   frase de resultado com a regra, "faltam" em linha e as 3 regras num eixo comum
   (fora de camada, como as regras originais do simulador)
   ===================================================================== */
.sim-out { padding-top: clamp(22px, 2.6vw, 32px); }
.so-eyebrow { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font-family: var(--font-display); font-weight: 640; font-size: .9375rem; letter-spacing: .02em; color: rgba(255,255,255,.82); }
.so-eyebrow i { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); box-shadow: 0 0 0 4px rgba(243,154,44,.25); }
.sim-out .cal { margin-top: -18px; }
.sim-out .cal-center { top: 40%; }
.cps { display: grid; justify-items: center; min-width: 168px; padding-bottom: 10px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 50px -24px rgba(0,0,0,.75), 0 2px 0 #DCE3EC, 0 4px 0 #C4CEDB; overflow: hidden; }
.cps-m { display: block; width: 100%; padding: 8px 0 7px; background: var(--sun); color: var(--sun-ink); font-family: var(--font-display); font-weight: 720; font-stretch: 112%; font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.sim-out .cal-y { margin-top: 6px; padding: 0 16px; font-size: clamp(3.2rem, 5.6vw, 4.6rem); color: var(--ink); letter-spacing: -.045em; }
.cps-c { margin-top: 4px; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.sim-out .sim-headline { display: grid; gap: 4px; margin-top: 2px; font-size: 1.1875rem; color: rgba(255,255,255,.85); }
.sim-out .sim-headline .sh-date { font-size: clamp(1.7rem, 2.6vw, 2.2rem); letter-spacing: -.03em; line-height: 1.1; color: #fff; }
.sh-rule { font-size: 1rem; color: rgba(255,255,255,.78); }
.sh-rule b { font-family: var(--font-body); font-weight: 700; color: var(--sun); }
.so-left { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 18px auto 26px; }
.so-l { font-weight: 700; color: rgba(255,255,255,.75); margin-right: 2px; }
.so-n, .so-t { display: inline-flex; align-items: baseline; gap: 6px; height: 44px; padding: 0 16px; border-radius: 99px; background: rgba(255,255,255,.08); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); color: rgba(255,255,255,.82); font-size: .9688rem; line-height: 44px; }
.so-n b, .so-t b { font-family: var(--font-display); font-weight: 680; font-size: 1.375rem; color: #fff; font-variant-numeric: tabular-nums; }
.so-t b { color: var(--sun); }
.so-left.done { display: none; }
.rl-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.14); }
.rl-head h3 { font-size: 1.25rem; color: #fff; letter-spacing: -.015em; }
.rl-head p { margin: 0; font-size: .9063rem; color: rgba(255,255,255,.7); }
.rl-axis { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 112px 24px; gap: 14px; padding: 12px 16px 6px; }
.rl-axis .ax-in { position: relative; grid-column: 2; height: 18px; border-bottom: 1px dashed rgba(255,255,255,.22); }
.rl-axis .ax-in span { position: absolute; bottom: 4px; transform: translateX(-50%); font-family: var(--font-display); font-weight: 600; font-size: .75rem; color: rgba(255,255,255,.6); white-space: nowrap; }
.rl-axis .ax-in .ax-0 { transform: none; color: var(--sky-on-dark); font-weight: 700; }
.sim-out .rules { gap: 8px; }
.sim-out .rules li { display: block; padding: 0; border-radius: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); font-size: 1rem; }
.sim-out .rules li.best { background: rgba(243,154,44,.13); border-color: rgba(243,154,44,.55); }
.rl-row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 112px 24px; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; background: none; color: inherit; text-align: left; border-radius: 18px; }
div.rl-row { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 112px; }
button.rl-row { cursor: pointer; }
button.rl-row:hover { background: rgba(255,255,255,.05); }
button.rl-row:focus-visible { outline: 3px solid var(--sun); outline-offset: 2px; }
.rl-name { display: grid; gap: 3px; min-width: 0; line-height: 1.25; }
.rl-name b { font-family: var(--font-display); font-weight: 640; font-size: 1.0625rem; color: #fff; }
.rl-name em { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 99px; background: var(--sun); color: var(--sun-ink); font-family: var(--font-body); font-style: normal; font-size: .75rem; font-weight: 800; vertical-align: 2px; }
.rl-name small { font-size: .875rem; color: rgba(255,255,255,.72); }
.rl-track { position: relative; height: 10px; border-radius: 10px; background: rgba(255,255,255,.1); }
.rl-track i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 10px; background: var(--sky-on-dark); transition: width .7s var(--ease); }
.rl-track i::after { content: ""; position: absolute; right: -7px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 3px var(--sky-on-dark); }
.rules li.best .rl-track i { background: var(--sun); }
.rules li.best .rl-track i::after { box-shadow: 0 0 0 3px var(--sun); }
.rl-date { display: grid; justify-items: end; line-height: 1.15; }
.rl-date b { font-family: var(--font-display); font-weight: 680; font-size: 1.1875rem; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rl-date small { font-size: .8125rem; color: rgba(255,255,255,.66); }
.rl-chev { width: 20px; height: 20px; color: rgba(255,255,255,.7); transform: rotate(90deg); transition: transform .3s var(--ease); }
.rules li.open .rl-chev { transform: rotate(-90deg); }
.rules li.na { opacity: .6; }
.rules li.na .rl-track { visibility: hidden; }
.rl-det { padding: 2px 16px 16px; }
.rl-det[hidden] { display: none; }
.rl-det p { margin: 0 0 10px; font-size: .9688rem; line-height: 1.55; color: rgba(255,255,255,.86); }
.rl-det .rl-hoje { margin: 12px 0 6px; font-weight: 700; font-size: .875rem; color: rgba(255,255,255,.7); }
.rl-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rl-reqs li { display: grid !important; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px !important; border-radius: 12px !important; background: rgba(255,255,255,.06) !important; border: 0 !important; font-size: .9375rem !important; color: rgba(255,255,255,.86); }
.rl-reqs i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255,255,255,.35); font-style: normal; font-size: .8125rem; font-weight: 800; }
.rl-reqs li.ok i { background: #3BD27A; color: #0B1E3B; box-shadow: none; }
.rl-reqs b { font-family: var(--font-display); font-weight: 640; white-space: nowrap; color: #fff; }
.det p { padding: 12px 18px 0; margin: 0; color: var(--ink-2); line-height: 1.55; }
.det .rl-reqs { padding: 8px 18px 16px; }
.det .rl-reqs li { background: var(--paper-2) !important; color: var(--ink-2); }
.det .rl-reqs b { color: var(--ink); }
.det .rl-reqs i { box-shadow: inset 0 0 0 2px var(--line); }
.det .rl-reqs li.ok i { background: var(--ok); color: #fff; }

/* passos numerados do formulário do simulador */
.sim-live { counter-reset: sq; }
.sim-live .fld-range .fr-top label::before, .sim-live .seg legend::before { counter-increment: sq; content: counter(sq); display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: .8125rem; vertical-align: 1px; }
.sim-hint { display: flex; align-items: center; gap: 8px; margin: -6px 0 0; font-size: .9375rem; color: var(--ink-3); }

@media (max-width: 720px) {
  .cps { min-width: 118px; border-radius: 16px; }
  .sim-out .cal-y { font-size: 2.5rem; padding: 0 12px; }
  .sim-out .cal { margin-top: -10px; }
  .rl-axis { display: none; }
  .rl-row { grid-template-columns: minmax(0, 1fr) auto 20px; gap: 10px 12px; padding: 14px; }
  div.rl-row { grid-template-columns: minmax(0, 1fr) auto; }
  .rl-track { grid-column: 1 / -1; grid-row: 2; }
  .rl-chev { grid-column: 3; grid-row: 1; }
  .so-n, .so-t { height: 40px; line-height: 40px; padding: 0 12px; }
  .so-n b, .so-t b { font-size: 1.2rem; }
  .so-l { width: 100%; text-align: center; }
  .rl-head h3 { font-size: 1.125rem; }
}

/* =====================================================================
   VÍDEO DO HERO: moldura à direita, órbita da marca só na beirada (atrás do vídeo),
   volume cai com a rolagem, vira popup compacto com legenda e some depois do simulador
   ===================================================================== */
@layer utilities {
  .hero.has-video .hero-shade { background:
      linear-gradient(90deg, rgba(7,19,39,.92) 0%, rgba(7,19,39,.78) 40%, rgba(7,19,39,.66) 70%, rgba(7,19,39,.6) 100%),
      linear-gradient(0deg, rgba(7,19,39,.75) 0%, rgba(7,19,39,0) 45%),
      linear-gradient(180deg, rgba(7,19,39,.7) 0%, rgba(7,19,39,0) 24%); }
  .hero.has-video .hero-blur { -webkit-mask-image: none; mask-image: none; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
  .hv-open { display: none; }
}
.hv { position: absolute; z-index: 3; right: max(var(--pad), calc((100% - var(--w)) / 2 + var(--pad))); top: calc(var(--a11y-h) + var(--hdr-h) + 7vh); width: clamp(420px, 35vw, 640px); }
.hv-stage { position: relative; }
.hv-orbit { position: absolute; left: -14px; top: -14px; width: calc(100% + 28px); height: calc(100% + 28px); z-index: 0; overflow: visible; pointer-events: none; }
.hv-frame { position: relative; z-index: 1; margin: 0; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: #071327; box-shadow: 0 50px 90px -40px rgba(0,0,0,.85), 0 0 0 2px rgba(255,255,255,.22); }
.hv-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hv-play { position: absolute; inset: 0; display: flex; align-items: flex-end; gap: 14px; padding: 22px; border: 0; background: linear-gradient(0deg, rgba(7,19,39,.85), rgba(7,19,39,0) 60%); color: #fff; text-align: left; cursor: pointer; }
.hv-pi { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--sun); color: var(--sun-ink); box-shadow: 0 0 0 8px rgba(243,154,44,.25); transition: transform .3s var(--ease); }
.hv-pi svg { width: 30px; height: 30px; margin-left: 3px; }
.hv-play:hover .hv-pi { transform: scale(1.08); }
.hv-play:focus-visible { outline: 3px solid var(--sun); outline-offset: -3px; }
.hv-pt { display: grid; line-height: 1.2; }
.hv-pt b { font-family: var(--font-display); font-weight: 680; font-size: 1.25rem; }
.hv-pt small { font-size: .9375rem; color: rgba(255,255,255,.8); }
.hv.playing .hv-play { display: none; }
.hv-bar { position: absolute; right: 12px; top: 12px; display: flex; gap: 8px; }
.hv-bar[hidden] { display: none; }
.hv-bar button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(7,19,39,.78); color: #fff; font-weight: 800; font-size: .8125rem; cursor: pointer; }
.hv-bar button:focus-visible { outline: 3px solid var(--sun); }
.hv-bar svg { width: 22px; height: 22px; }
.hv-bar [data-hv-toggle] .pl, .hv.paused .hv-bar [data-hv-toggle] .pz { display: none; }
.hv.paused .hv-bar [data-hv-toggle] .pl { display: block; }
.hv-bar [data-hv-mute] .off, .hv.muted .hv-bar [data-hv-mute] .on { display: none; }
.hv.muted .hv-bar [data-hv-mute] .off { display: block; }
.hv-bar [data-hv-cc][aria-pressed="false"] { opacity: .55; }
.hv-x { display: none !important; }
.hv-cap { position: relative; z-index: 1; min-height: 3.2em; margin: 14px 0 0; padding: 12px 16px; border-radius: 16px; background: rgba(7,19,39,.82); color: #fff; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; text-align: center; }
.hv-cap:empty, .hv:not(.playing) .hv-cap, .hv.no-cc .hv-cap { visibility: hidden; }
.hv-cap .said { color: rgba(255,255,255,.5); }
.hv-cap .now { color: var(--sun); }
.hv.out { opacity: 0; transform: translateY(-20px) scale(.97); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
/* popup compacto: sem som, legenda embaixo */
.hv.pop { position: fixed; z-index: 66; left: 22px; right: auto; top: auto; bottom: 22px; width: 340px; padding: 8px; border-radius: 22px; background: #0B1E3B; box-shadow: 0 30px 60px -20px rgba(0,0,0,.7); opacity: 1; transform: none; animation: hvIn .45s var(--ease); }
@keyframes hvIn { from { opacity: 0; transform: translateY(24px) scale(.94); } }
.hv.pop .hv-orbit { display: none; }
.hv.pop .hv-frame { border-radius: 16px; box-shadow: none; }
.hv.pop .hv-bar { right: 6px; top: 6px; gap: 6px; }
.hv.pop .hv-bar button { width: 36px; height: 36px; }
.hv.pop .hv-bar [data-hv-mute], .hv.pop .hv-bar [data-hv-cc] { display: none; }
.hv.pop .hv-x { display: grid !important; }
.hv.pop .hv-cap { min-height: 0; margin: 8px 0 0; padding: 6px 8px 4px; background: none; font-size: .9375rem; text-align: left; }
.hv.gone { display: none; }
@media (min-width: 981px) {
  /* coluna do texto e moldura do vídeo dividem a largura: o vídeo nunca cobre o título */
  .hero.has-video { --hvw: min(560px, 34vw, calc((100svh - 378px) * 1.78)); --hvgap: 100px; }
  .hero.has-video .hero-3d, .hero.has-video .hero-orbit, .hero.has-video .hero-meta .cue { display: none; }
  .hero.has-video .hv { width: var(--hvw); }
  .hero.has-video .hero-in .t-hero { font-size: clamp(2.3rem, min(3.9vw, 7.4svh), 4.2rem); max-width: calc(100% - var(--hvw) - var(--hvgap)); }
  .hero.has-video .hero-lead, .hero.has-video .hero-in .ctas { max-width: calc(100% - var(--hvw) - var(--hvgap)); }
  .hero.has-video .hero-lead { font-size: clamp(1rem, min(1.3vw, 2.6svh), 1.25rem); }
}
@media (max-width: 980px) {
  .hv:not(.pop) { display: none; }
  .hero.has-video .hv-open { display: inline-flex; }
  .hv.pop { left: 12px; right: 84px; width: auto; bottom: calc(86px + env(safe-area-inset-bottom)); padding: 6px; }
  .hv.pop.big .hv-cap { font-size: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .hv-orbit circle { display: none; } }
@media (max-width: 980px) {
  .hero.has-video .hero-in .ctas { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .hero.has-video .hero-in .ctas .btn-sun { grid-column: 1 / -1; }
  .hero.has-video .hero-in .ctas .btn { width: 100%; justify-content: center; padding: 0 .8em; font-size: 1rem; }
}
/* celular: o banner cabe na tela sem nada por cima de nada (botão do WhatsApp fica abaixo dos botões) */
@layer utilities {
  @media (max-width: 720px) {
    .hero.has-video .hero-in { bottom: calc(164px + env(safe-area-inset-bottom)); }
    .hero.has-video .hl-x { display: none; }
    .hero.has-video .hero-lead { margin-top: 12px; }
  }
  @media (max-width: 720px) and (max-height: 740px) {
    .hero.has-video .hero-in .t-hero { font-size: 2.35rem; }
    .hero.has-video .hero-lead { display: none; }
    .hero.has-video .hero-in .ctas { margin-top: 18px; }
  }
}

/* =====================================================================
   MOBILE: nada por cima de nada
   ===================================================================== */
.wa-btn { transition: opacity .25s, transform .3s var(--ease), background .2s; }
@media (max-width: 720px) {
  html.dock-on .wa:not(.open) .wa-btn { opacity: 0; transform: scale(.6); pointer-events: none; }
}
html.hv-pop .libras-float { top: calc(var(--hv-top, 60vh) - 66px); bottom: auto; }
@media (max-width: 720px) {
  .libras-float { transition: transform .3s var(--ease), width .2s, top .3s var(--ease); }
  html.reading .wa:not(.open) .wa-btn, html.at-foot .wa:not(.open) .wa-btn { opacity: 0; transform: scale(.6); pointer-events: none; }
  html.reading .libras-float:not([aria-expanded="true"]), html.at-foot .libras-float:not([aria-expanded="true"]) { transform: translateX(-110%); }
}
/* dock em todas as páginas públicas no celular: o WhatsApp mora nele, a Libras mora na barra gov.br */
@media (max-width: 720px) {
  .libras-float { display: none !important; }
  body.portal .wa:not(.open) .wa-btn { display: none; }
  body:not(.portal) .sft { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
.tr-search input { min-width: 0; width: 100%; }
@media (max-width: 720px) { .tr-search { padding: 0 14px; gap: 10px; } .mapa-grid, .mapa-grid > * { min-width: 0; } }
/* aba de Libras mais estreita que a margem da página: não encosta no texto */
@media (min-width: 721px) {
  .libras-float { width: 30px; height: 50px; padding: 0 0 0 2px; border-radius: 0 14px 14px 0; }
  .libras-float .ico { width: 20px; height: 20px; }
  .libras-float:hover, .libras-float:focus-visible, .libras-float[aria-expanded="true"] { width: 44px; }
}

/* 320px: faixa do WhatsApp cabe sem empurrar a página */
@media (max-width: 359px) {
  .topstrip .ts-ic { display: none; }
  .topstrip .ts-in { gap: 8px; }
  .topstrip .ts-btn { padding-left: 10px; padding-right: 8px; font-size: .8125rem; white-space: nowrap; flex: none; }
  .topstrip p { min-width: 0; font-size: .875rem; }
}
.atd-list li > span { min-width: 0; }
.atd-list span span { overflow-wrap: anywhere; }
