/* ==========================================================================
   ASEG Segurança Eletrônica — SITE V4 · direção "Apple como referência de experiência"
   Regras: realidade primeiro, efeito depois · luz e respiro · foto/produto
   protagonista · pouco texto por cena · scroll conta a história · azul ASEG como
   identidade, branco/gelo como base, escuro só nos momentos cinematográficos.
   ========================================================================== */

:root {
  /* identidade */
  --aseg: #1466b5;
  --aseg-2: #1c6cb0;          /* azul de apoio p/ TEXTO (eyebrow, labels) — AA em fundo claro */
  --aseg-deep: #0b3a76;
  --aseg-ink: #071d3d;
  --cyan: #4fc3f7;            /* detalhe muito discreto — só sobre fundo escuro */
  --ok: #2fae7a;
  --gold: #e0a13c;

  /* base clara */
  --paper: #ffffff;
  --paper-2: #f3f6fb;         /* seções alternadas / tint */
  --ink: #16233b;
  --ink-2: #45566f;
  --ink-3: #647087;          /* cinza-azulado p/ texto auxiliar — AA em fundo claro */
  --line: #e4e9f1;
  --line-2: #d3dbe8;

  /* zona escura (cinematográfica) */
  --d-ink: #f4f7fc;
  --d-ink-2: rgba(244,247,252,.85);
  --d-ink-3: rgba(244,247,252,.5);
  --d-line: rgba(180,210,240,.2);

  --radius: 18px;
  --ff: "Rajdhani","Segoe UI",system-ui,-apple-system,sans-serif;
  --ff-label: "Orbitron","Segoe UI",system-ui,sans-serif;
  --ease: cubic-bezier(.22,1,.36,1);
  --shadow: 0 30px 70px -32px rgba(11,58,118,.28);
  --shadow-lg: 0 50px 110px -40px rgba(11,58,118,.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar { width: 0; }
body { background: var(--paper); color: var(--ink); font-family: var(--ff); font-size: 19px;
  line-height: 1.6; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .beat-t { font-family: var(--ff); font-weight: 700; line-height: 1.1; letter-spacing: -0.005em; }
h2, .beat-t { font-size: clamp(1.9rem, 3.6vw, 3.1rem); margin-bottom: 16px; max-width: 20ch; }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); margin-bottom: 8px; }
a { color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }

.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--aseg); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; text-decoration: none; }
.skip:focus { top: 12px; }
.visually-quiet { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- navegação ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; gap: 22px;
  padding: 18px clamp(16px,4vw,44px); transition: background .35s var(--ease), padding .35s, border-color .35s;
  border-bottom: 1px solid transparent; }
.nav.scrolled { padding-top: 12px; padding-bottom: 12px; }
.nav.on-dark.scrolled { background: rgba(6,16,34,.55); backdrop-filter: blur(14px); border-bottom-color: rgba(255,255,255,.08); }
.nav.on-light.scrolled { background: rgba(255,255,255,.9); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 32px; width: auto; }
.nav.on-light .nav-logo { content: url("assets/aseg/logo/aseg-logo.svg"); }
.nav-links { display: flex; gap: 22px; margin-left: auto; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-size: 13.5px; letter-spacing: .01em; padding: 6px 0; position: relative;
  color: var(--d-ink-2); transition: color .2s; }
.nav.on-light .nav-links a { color: var(--ink-2); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: currentColor; transition: right .3s var(--ease); opacity: .6; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--d-ink); }
.nav.on-light .nav-links a:hover, .nav.on-light .nav-links a[aria-current="true"] { color: var(--aseg); }
.nav-links a:hover::after, .nav-links a[aria-current="true"]::after { right: 0; }
.nav-toggle { display: none; }

/* ---------- botões ---------- */
.btn { --mx: 50%; --my: 50%; position: relative; display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; font-size: 14px; letter-spacing: .01em; text-decoration: none; cursor: pointer;
  border-radius: 999px; border: 1px solid var(--line-2); background: var(--paper); color: var(--ink);
  transition: transform .22s var(--ease), border-color .22s, box-shadow .22s, background .22s; }
.btn:hover { transform: translateY(-2px); border-color: var(--aseg); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: 2px solid var(--aseg); outline-offset: 3px; }
.btn-primary { background: var(--aseg); border-color: var(--aseg); color: #fff; box-shadow: 0 12px 30px -12px rgba(20,102,181,.55); }
.btn-primary:hover { background: var(--aseg-deep); border-color: var(--aseg-deep); box-shadow: 0 18px 40px -14px rgba(20,102,181,.6); }
.btn-ghost { background: transparent; }
.btn-sm { padding: 10px 18px; font-size: 12.5px; }
.on-dark .btn:not(.btn-primary) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
/* Contato (fundo escuro .sec--deep): botão "Ligar" (.btn-ghost) tinha texto
   var(--ink) escuro sobre fundo transparente — quase invisível no azul.
   Mesmo tratamento do .on-dark acima, escopado só a esta seção. */
.sec--deep .btn:not(.btn-primary) { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.28); color: #fff; }
.sec--deep .btn:not(.btn-primary):hover { background: rgba(255,255,255,.16); border-color: #fff; }
.sec--deep .btn:not(.btn-primary):focus-visible { outline-color: #fff; }
/* Grupo WhatsApp + Ligar centralizado como conjunto (o .cta-row genérico
   fica à esquerda por padrão — modificador aditivo, não muda outros usos). */
.cta-row--center { justify-content: center; }
@media (max-width: 1080px) { .nav .btn-sm { display: none; } }

/* ---------- estrutura de seção ---------- */
.sec { position: relative; z-index: 2; padding: clamp(72px, 12vh, 150px) 0; background: var(--paper); scroll-margin-top: 72px; }
.sec--tint { background: var(--paper-2); }
.sec--deep { background: linear-gradient(180deg, var(--aseg-ink), var(--aseg-deep)); color: #fff; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(20px, 6vw, 64px); }
.wrap--center { text-align: center; max-width: 860px; }
.sec-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.wrap--center .sec-head { margin-left: auto; margin-right: auto; }
/* fechamento centralizado: eyebrow, kicker e headline no MESMO eixo */
.wrap--center .sec-head > * { margin-left: auto; margin-right: auto; }
.wrap--center .sec-head h2 { max-width: 28ch; text-wrap: balance; }

.over { font-size: 15px; color: var(--aseg-2); margin-bottom: 12px; font-weight: 600; }
.sec--deep .over { color: var(--cyan); }
.kicker { font-family: var(--ff-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px; }
.sec--deep .kicker { color: rgba(255,255,255,.74); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--ink-2); max-width: 58ch; }
.sec--deep .lede { color: rgba(255,255,255,.8); }
.src-note { margin-top: 22px; font-size: 12.5px; line-height: 1.55; color: var(--ink-3); max-width: 70ch; }
.sec--deep .src-note { color: rgba(255,255,255,.64); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.mono { font-family: var(--ff-label); font-size: .8rem; letter-spacing: .02em; color: var(--aseg-2); margin: 8px 0; }

/* ==========================================================================
   CENA CINEMATOGRÁFICA (prédio + câmera) — sticky scroll
   ========================================================================== */
.cine { position: relative; height: 460vh; background: #05070e; overflow-x: clip; }
.cine-stage { position: sticky; top: 0; height: 100vh; overflow: hidden; contain: paint; display: grid; }
.cine-layers { position: absolute; inset: 0; }
.cine-layers img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity; }
.cine-layers img.is-base { opacity: 1; }
.cine-grade { position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4,8,18,.32) 0%, rgba(4,8,18,0) 22%, rgba(4,8,18,0) 46%, rgba(4,8,18,.72) 88%, rgba(4,8,18,.82) 100%),
    radial-gradient(130% 90% at 50% 40%, transparent 48%, rgba(3,6,14,.42) 100%); }
.cine-hud { position: relative; align-self: end; z-index: 3; padding: 0 clamp(22px,7vw,90px) clamp(80px,12vh,120px);
  max-width: 1180px; margin: 0 auto; width: 100%; }
.cine-kicker { font-family: var(--ff-label); font-size: 11px; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.72); margin-bottom: 18px; }
.cine-copy { position: relative; min-height: clamp(4.5em, 16vh, 7em); }
.cine-beat { position: absolute; inset: 0; opacity: 0; transform: translateY(14px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.cine-beat.on { opacity: 1; transform: none; }
.cine-beat h2, .cine-beat .beat-t { color: #fff; font-size: clamp(1.8rem, 3.8vw, 3.1rem); max-width: 16ch; margin-bottom: 12px; line-height: 1.1; }
.cine-beat p { color: rgba(255,255,255,.82); font-size: clamp(1rem,1.4vw,1.2rem); max-width: 44ch; }
.cine-beat p:empty { display: none; }

.cine-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px;
  opacity: 0; transition: opacity .6s var(--ease); }
.cine-points.on { opacity: 1; }
.cine-points li { font-size: 13px; color: rgba(255,255,255,.72); display: flex; align-items: center; gap: 8px; }
.cine-points li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }

.cine-outro { position: absolute; left: 50%; bottom: 5vh; transform: translateX(-50%); z-index: 3;
  display: grid; justify-items: center; gap: 8px; opacity: 0; transition: opacity .5s var(--ease); }
.cine-outro.on { opacity: 1; }
.cine-outro span { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.6); font-family: var(--ff-label); }
.cine-outro i { width: 1px; height: 34px; background: linear-gradient(rgba(255,255,255,.7), transparent); }

/* reduced-motion / sem JS: vira bloco de texto normal */
.cine.is-static { height: auto; }
.cine.is-static .cine-stage { position: relative; height: auto; min-height: 70vh; }
.cine.is-static .cine-layers img.is-base { position: relative; height: 60vh; }
.cine.is-static .cine-beat { position: relative; opacity: 1; transform: none; margin-bottom: 18px; }
.cine.is-static .cine-points, .cine.is-static .cine-outro { opacity: 1; position: relative; }

/* ==========================================================================
   CÂMERAS — reveal fotográfico (sticky scroll, sem 3D)
   ========================================================================== */
.cam { position: relative; height: 300vh; background: var(--paper); }
.cam-stage { position: sticky; top: 0; min-height: 100vh; display: grid; grid-template-columns: 1fr;
  align-items: center; gap: 30px; padding: 88px clamp(20px,6vw,64px) 40px; max-width: 1180px; margin: 0 auto; }
.cam-visual { position: relative; width: min(78vw, 460px); aspect-ratio: 3/4; margin: 0 auto;
  border-radius: 22px; overflow: visible; will-change: transform; transform-style: preserve-3d; }
.cam-layer { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg);
  background: #eef2f7; }
.cam-layer img { width: 100%; height: 100%; object-fit: cover; }
.cam-layer--inst { opacity: 0; }
.cam-fov { position: absolute; inset: -6% -14%; border-radius: 30px; opacity: 0; pointer-events: none;
  background: radial-gradient(60% 45% at 50% 68%, rgba(255,255,255,.32), transparent 70%),
              conic-gradient(from 200deg at 50% 100%, transparent 0deg, rgba(79,195,247,.16) 20deg, transparent 44deg); }
.cam-callouts { position: absolute; inset: 0; list-style: none; margin: 0; }
.cam-callout { position: absolute; left: var(--x, 50%); top: var(--y, 46%); transform: translate(-50%,-50%) scale(.7);
  opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease); display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.cam-callout.on { opacity: 1; transform: translate(-50%,-50%) scale(1); }
.cam-callout i { width: 9px; height: 9px; border-radius: 50%; background: #fff; border: 2px solid var(--aseg);
  box-shadow: 0 0 0 4px rgba(20,102,181,.18); flex: none; }
.cam-callout span { font-size: 12px; font-weight: 600; color: var(--ink); background: rgba(255,255,255,.92);
  padding: 4px 9px; border-radius: 7px; box-shadow: 0 6px 18px -6px rgba(11,58,118,.3); }

.cam-hud { text-align: center; }
.cam-copy { position: relative; min-height: 5.6em; }
.cam-beat { position: absolute; inset: 0; opacity: 0; transform: translateY(12px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.cam-beat.on { opacity: 1; transform: none; }
.cam-beat h2, .cam-beat .beat-t { font-size: clamp(1.5rem, 3vw, 2.4rem); margin-bottom: 8px; max-width: 22ch; margin-inline: auto; }
.cam-beat p { color: var(--ink-2); font-size: clamp(1rem,1.3vw,1.15rem); max-width: 40ch; margin-inline: auto; }
.cam-final { display: grid; gap: 14px; justify-items: center; }
.cam-final-title { font-family: var(--ff-label); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--aseg); }
.cam-check { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 18px; justify-content: center; }
.cam-check li { position: relative; padding-left: 22px; font-size: .92rem; color: var(--ink-2); }
.cam-check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }

.cam.is-static { height: auto; }
.cam.is-static .cam-stage { position: relative; min-height: auto; }
.cam.is-static .cam-visual { transform: none; margin-bottom: 24px; }
.cam.is-static .cam-layer--inst { opacity: 1; position: relative; margin-top: 10px; }
.cam.is-static .cam-beat { position: relative; opacity: 1; transform: none; margin-bottom: 16px; }
.cam.is-static .cam-fov { display: none; }
@media (min-width: 900px) {
  .cam-stage { grid-template-columns: 1fr 1fr; text-align: left; }
  .cam-hud { text-align: left; }
  .cam-beat h2, .cam-beat .beat-t, .cam-beat p, .cam-check { margin-inline: 0; }
  .cam-check { justify-content: flex-start; }
  .cam-final { justify-items: start; }
  .cam-visual { width: min(42vw, 460px); }
}

/* bloco de vídeo (click-to-play) */
.app-video { margin: 8px 0 34px; }
.videoblock { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); max-width: 720px; }
.videoblock-play { display: block; width: 100%; position: relative; border: 0; padding: 0; cursor: pointer; background: #0b1322; aspect-ratio: 16/9; }
.videoblock-play img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.vp-btn { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(20,102,181,.92); color: #fff; font-size: 20px; box-shadow: 0 12px 30px -8px rgba(11,58,118,.6); }
.videoblock-el { width: 100%; display: block; aspect-ratio: 16/9; background: #000; }
.videoblock figcaption { padding: 14px 16px; }
.videoblock figcaption b { display: block; font-weight: 700; }
.videoblock figcaption span { font-size: .86rem; color: var(--ink-3); }

/* ==========================================================================
   PORTÃO / MOTOR — desmontagem por scroll
   ========================================================================== */
.motor-tipos { list-style: none; display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 8px; }
.motor-tipos li { padding: 18px 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.motor-tipos b { display: block; font-weight: 700; margin-bottom: 3px; }
.motor-tipos span { color: var(--ink-2); font-size: .94rem; }
@media (min-width: 760px) { .motor-tipos { grid-template-columns: repeat(4, 1fr); } }

.motor { position: relative; height: 280vh; background: var(--paper); }
.motor-stage { position: sticky; top: 0; min-height: 100vh; display: grid; grid-template-columns: 1fr;
  align-items: center; gap: 28px; padding: 80px clamp(20px,6vw,64px) 40px; max-width: 1180px; margin: 0 auto; }
.motor-visual { position: relative; width: min(80vw, 520px); aspect-ratio: 1/1; margin: 0 auto; }
.motor-visual::before, .motor-visual::after { content: ""; position: absolute; top: 0; bottom: 0; width: 24%; z-index: 2; pointer-events: none; }
.motor-visual::before { left: 0; background: linear-gradient(90deg, var(--paper) 8%, rgba(255,255,255,0) 100%); }
.motor-visual::after { right: 0; background: linear-gradient(270deg, var(--paper) 2%, rgba(255,255,255,0) 100%); width: 12%; }
.motor-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; opacity: 0;
  transition: opacity .35s var(--ease); will-change: opacity; }
.motor-frame.is-on { opacity: 1; }
.motor-badge { position: absolute; left: 12px; bottom: 8px; font-family: var(--ff-label); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; padding: 5px 9px; border-radius: 6px; background: rgba(11,58,118,.9); color: #fff;
  opacity: 0; transition: opacity .4s var(--ease); }
.motor-hud { text-align: center; }
.motor-copy { position: relative; min-height: 5.4em; }
.motor-final { display: grid; gap: 14px; justify-items: center; }
.motor-final-title { font-family: var(--ff-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--aseg); }
@media (min-width: 900px) {
  .motor-stage { grid-template-columns: 1.05fr .95fr; text-align: left; }
  .motor-hud { text-align: left; }
  .motor-hud .cam-beat h2, .motor-hud .cam-beat .beat-t, .motor-hud .cam-beat p, .motor-hud .cam-check { margin-inline: 0; }
  .motor-hud .cam-check { justify-content: flex-start; }
  .motor-final { justify-items: start; }
  .motor-visual { width: min(44vw, 520px); }
}
/* reduced-motion: bloco linear — 6 frames, depois legendas, depois painel final */
.motor-static { height: auto; }
.motor-static .motor { height: auto; }
.motor-static .motor-stage { position: relative; min-height: auto; grid-template-columns: 1fr; align-items: start; text-align: left; }
.motor-static .motor-visual { aspect-ratio: auto; width: min(88vw, 420px); }
.motor-static .motor-hud { text-align: left; }
.motor-static .motor-frame { position: relative; opacity: 1; height: auto; margin-bottom: 6px; }
.motor-static .cam-beat { position: relative; opacity: 1; margin-bottom: 14px; }

/* vídeo do motor — reservado p/ rodada futura (player hospedado/incorporado DENTRO do site).
   .ppa-video mantido só como referência de estilo; hoje data-motor-video fica hidden. */
.motor-video { margin-top: clamp(30px,6vw,64px); }
.ppa-video { display: grid; grid-template-columns: 1fr; gap: 0; max-width: 560px; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .2s var(--ease); }
.ppa-video:hover { transform: translateY(-3px); }
.ppa-poster { position: relative; display: block; aspect-ratio: 16/9; background: #111; }
.ppa-poster img { width: 100%; height: 100%; object-fit: cover; }
.ppa-cap { display: block; padding: 14px 16px; }
.ppa-cap b { display: block; font-weight: 700; }
.ppa-cap span { font-size: .86rem; color: var(--ink-3); }

/* ==========================================================================
   CONDOMÍNIOS — jornada foto-primeiro
   ========================================================================== */
.journey { list-style: none; display: grid; gap: clamp(28px, 5vw, 64px); counter-reset: j; }
.journey li { display: grid; grid-template-columns: 1fr; gap: 20px; align-items: center; }
.journey .j-media { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  box-shadow: var(--shadow); aspect-ratio: 16/10; }
.journey .j-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08); opacity: 0; transition: transform 1.3s var(--ease), opacity .8s; cursor: zoom-in; }
.journey .j-media.in img { transform: none; opacity: 1; }
.journey .j-media--app { aspect-ratio: 4/3; display: grid; place-items: center; padding: 24px;
  background: linear-gradient(160deg, #eef3fb, #dfe8f5); }
.journey .j-media--app .device { --w: 190px; }
.journey .j-media--3d { aspect-ratio: 16/10; display: grid; place-items: center;
  background: linear-gradient(160deg, #0d1c34, #0a1220); }
.j-3d-note { font-family: var(--ff-label); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); }
.journey .j-txt { padding: 0 4px; }
.j-num { font-family: var(--ff-label); font-size: 12px; color: var(--aseg); letter-spacing: .1em; }
.j-num::before { counter-increment: j; content: counter(j, decimal-leading-zero); }
.journey .j-txt b { display: block; font-family: var(--ff); font-weight: 700; font-size: clamp(1.25rem,2vw,1.7rem); margin: 6px 0 8px; }
.journey .j-txt span { color: var(--ink-2); }
@media (min-width: 780px) {
  .journey li { grid-template-columns: 1.15fr .85fr; gap: 44px; }
  .journey li:nth-child(even) { grid-template-columns: .85fr 1.15fr; }
  .journey li:nth-child(even) .j-media { order: 2; }
}

/* ==========================================================================
   CONTROLE DE ACESSO — cenas produto grande
   ========================================================================== */
.scenes { display: grid; gap: clamp(48px, 8vw, 120px); }
.scene { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.scene-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg);
  background: var(--paper-2); aspect-ratio: 3/4; max-height: 78vh; }
.scene-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.12); transition: transform 1.6s var(--ease); cursor: zoom-in; }
.scene.in .scene-media img { transform: scale(1.02); }
.scene-body .s-frase { font-family: var(--ff); font-weight: 700; font-size: clamp(1.6rem, 2.8vw, 2.6rem);
  line-height: 1.12; margin-bottom: 14px; }
.scene-body .s-det { color: var(--ink-2); margin-bottom: 8px; }
.scene-body .s-det::before { content: ""; display: inline-block; width: 22px; height: 1px; background: var(--aseg); vertical-align: middle; margin-right: 10px; }
.scene-body .s-ben { color: var(--ink); font-size: 1.1rem; }
@media (min-width: 820px) {
  .scene { grid-template-columns: 1fr 1fr; gap: 60px; }
  .scene:nth-child(even) .scene-media { order: 2; }
}
.scene-app { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; margin-top: clamp(48px,8vw,110px);
  padding: clamp(24px,4vw,44px); border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--line); }
.scene-app .device { --w: 180px; margin: 0 auto; }
.scene-app .sa-frase { font-family: var(--ff); font-weight: 700; font-size: clamp(1.4rem,2.4vw,2rem); margin-bottom: 10px; }
.scene-app .sa-d { color: var(--ink-2); }
@media (min-width: 720px) { .scene-app { grid-template-columns: 200px 1fr; } .scene-app .device { margin: 0; } }

/* moldura de celular */
.device { --w: 200px; width: var(--w); border-radius: 26px; padding: 8px; background: linear-gradient(160deg, #e9eef7, #d3ddee);
  border: 1px solid #cdd8e8; box-shadow: 0 26px 50px -22px rgba(11,58,118,.3); }
.device-scr { border-radius: 18px; overflow: hidden; background: #fff; }
.device-img { width: 100%; height: auto; cursor: zoom-in; }

/* tags */
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; }
.tags li { font-size: 12.5px; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper); }

/* ==========================================================================
   CARDS / SERVIÇOS / APP / PROJETOS / VÍDEOS / PORTAL / FEED
   ========================================================================== */
.cards-3 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.cards-3 > div { padding: 24px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); }
.cards-3 b { display: block; font-weight: 700; margin-bottom: 4px; }
.cards-3 span { color: var(--ink-2); font-size: .96rem; }
@media (min-width: 760px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.appflow { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; counter-reset: a; }
.appflow li { position: relative; padding: 9px 15px 9px 36px; border-radius: 999px; background: var(--paper-2);
  border: 1px solid var(--line-2); font-size: .95rem; }
.appflow li::before { counter-increment: a; content: counter(a); position: absolute; left: 6px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-family: var(--ff-label); font-size: 10px; background: var(--aseg); color: #fff; }
.appgrid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.appcard { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: 16px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: 0 20px 40px -28px rgba(11,58,118,.25);
  opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.appcard.in { opacity: 1; transform: none; }
.appcard .device { --w: 170px; margin: 0 auto; }
.appcard .a-de { font-family: var(--ff-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--aseg-2); }
.appcard .a-para { font-weight: 700; font-size: clamp(1.2rem,1.9vw,1.5rem); margin: 5px 0 7px; }
.appcard .a-d { color: var(--ink-2); font-size: .96rem; }
.app-outros { margin-top: 24px; color: var(--ink-2); font-size: .95rem; }
.app-outros b { font-weight: 700; }
@media (min-width: 720px) { .appgrid { grid-template-columns: 1fr 1fr; } .appcard { grid-template-columns: 170px 1fr; } .appcard .device { margin: 0; } }

.services { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.svc { padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); transition: transform .3s var(--ease), box-shadow .3s; }
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.svc-i { display: inline-block; width: 34px; height: 34px; border-radius: 9px; background: linear-gradient(140deg, rgba(20,102,181,.16), rgba(79,195,247,.12));
  border: 1px solid var(--line-2); margin-bottom: 12px; position: relative; }
.svc-i::after { content: ""; position: absolute; inset: 8px; border: 1.5px solid var(--aseg); border-radius: 4px; opacity: .8; }
.svc b { display: block; font-weight: 700; margin-bottom: 3px; }
.svc span { font-size: .86rem; color: var(--ink-3); }
@media (min-width: 720px) { .services { grid-template-columns: repeat(3,1fr); } }

/* projetos cinematográficos */
.cine-projects { display: grid; gap: clamp(56px, 10vw, 130px); }
.cproj { display: grid; gap: 28px; opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.cproj.in { opacity: 1; transform: none; }
.cproj-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--paper-2); }
.cproj-media img { width: 100%; display: block; }
.cproj-lead { aspect-ratio: 16/10; }
.cproj-lead img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.6s var(--ease); cursor: zoom-in; }
.cproj.in .cproj-lead img { transform: scale(1.01); }
.cproj-badge { position: absolute; top: 14px; left: 14px; font-family: var(--ff-label); font-size: 9px; letter-spacing: .1em;
  text-transform: uppercase; padding: 6px 10px; border-radius: 7px; background: rgba(20,102,181,.92); color: #fff; }
.cproj-extra { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.cproj-extra figure { border-radius: 12px; overflow: hidden; aspect-ratio: 1/1; }
.cproj-extra img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.cproj-cat { font-family: var(--ff-label); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--aseg-2); }
.cproj h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 6px 0 3px; }
.cproj-local { font-size: .84rem; color: var(--ink-3); margin-bottom: 16px; }
.cproj-line { color: var(--ink-2); margin-bottom: 8px; }
.cproj-line b { color: var(--ink); font-weight: 700; }
.cproj-eq { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 18px; }
.cproj-eq span { font-size: 11px; padding: 5px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-3); }
@media (min-width: 900px) {
  .cproj { grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
  .cproj:nth-child(even) .cproj-media { order: 2; }
  .cproj--wide { grid-template-columns: 1fr; }
  .cproj--wide .cproj-media { order: 0 !important; }
  .cproj--wide .cproj-lead { aspect-ratio: 21/9; }
}

/* vídeos */
.videogrid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; align-items: start; }
.videocard { border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.video-frame { position: relative; aspect-ratio: 16/9; display: grid; place-items: center; background: linear-gradient(150deg, var(--aseg-deep), var(--aseg-ink)); }
.v-vert .video-frame { aspect-ratio: 4/5; }
.video-play { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 17px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.42); }
.video-fmt { position: absolute; top: 10px; right: 10px; font-family: var(--ff-label); font-size: 9px; letter-spacing: .1em; padding: 4px 8px; border-radius: 6px; background: rgba(0,0,0,.35); color: #cfe8fb; }
.videocard figcaption { padding: 14px 16px; }
.videocard figcaption b { display: block; font-weight: 700; }
.videocard figcaption span { font-size: .86rem; color: var(--ink-3); }
@media (max-width: 720px) { .videogrid { grid-template-columns: 1fr; } }

/* feed / placeholders */
.feed { display: grid; grid-template-columns: repeat(4,1fr); gap: 12px; }
.ph { position: relative; border-radius: 14px; border: 1px dashed var(--line-2); background:
  repeating-linear-gradient(45deg, rgba(20,102,181,.05) 0 12px, transparent 12px 24px), var(--paper-2);
  display: flex; align-items: flex-end; min-height: 180px; overflow: hidden; }
.ph-16x9 { aspect-ratio: 16/9; }
.ph figcaption { padding: 12px 14px; width: 100%; font-family: var(--ff-label); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--ink-2); background: linear-gradient(transparent, rgba(255,255,255,.9)); }
.ph figcaption span { display: block; color: var(--aseg-2); font-size: 9px; margin-top: 3px; }
.ph-tag { position: absolute; top: 10px; left: 10px; font-family: var(--ff-label); font-size: 9px; letter-spacing: .08em; padding: 4px 8px; border-radius: 6px; background: rgba(20,102,181,.16); color: var(--aseg); }
@media (max-width: 860px) { .feed { grid-template-columns: 1fr 1fr; } }

/* portal / cliente */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.chips li { font-size: 12.5px; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-2); background: var(--paper); }
.portal-example { border: 1px solid var(--line); border-radius: 16px; padding: 26px; background: var(--paper); }
.pe-q { font-weight: 700; font-size: 1.25rem; margin-bottom: 16px; }
.pe-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 22px; align-items: center; }
.pe-body p { color: var(--ink-2); margin-bottom: 14px; font-size: .96rem; }
.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; }
.check-list { list-style: none; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 26px; color: var(--ink-2); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.morador-card { border: 1px solid var(--line-2); border-radius: 16px; padding: 24px; background: var(--paper-2); }
.morador-card h3 { color: var(--aseg-deep); }
.morador-card p { color: var(--ink-2); font-size: .95rem; margin-bottom: 6px; }
@media (max-width: 860px) { .pe-body, .two-col { grid-template-columns: 1fr; } }

/* contato */
.cta-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 8px; }
.cta-card { display: grid; gap: 5px; padding: 22px; text-align: left; cursor: pointer; border-radius: 16px;
  border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; transition: transform .22s var(--ease), border-color .22s; }
.cta-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.cta-card:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.cta-card b { font-weight: 700; font-size: 1.05rem; }
.cta-card span { font-size: .86rem; color: rgba(255,255,255,.78); }
.protect-teaser { margin-top: 28px; padding: 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.05); }
.protect-teaser p { color: rgba(255,255,255,.82); margin-bottom: 14px; }
.protect-teaser i { color: var(--cyan); }
@media (max-width: 620px) { .cta-grid { grid-template-columns: 1fr; } }

/* rodapé */
.foot { position: relative; z-index: 2; padding: 52px clamp(20px,6vw,64px); background: var(--aseg-ink); color: #fff;
  display: flex; flex-wrap: wrap; gap: 16px 44px; align-items: center; }
.foot > div { display: flex; align-items: center; gap: 16px; }
.foot-logo { height: 32px; }
.foot span { color: rgba(255,255,255,.66); font-size: 13px; }
.foot-contatos { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.foot-contatos a { color: rgba(255,255,255,.82); font-size: 13px; text-decoration: none; }
.foot-contatos a:hover { color: #fff; text-decoration: underline; }
.foot p { margin-left: auto; color: rgba(255,255,255,.6); font-size: 12px; max-width: 46ch; }

/* reveals */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; place-items: center; padding: 5vh 4vw; background: rgba(4,10,22,.9); }
.lightbox.open { display: grid; }
.lightbox figure { max-width: 1100px; display: grid; gap: 10px; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { color: rgba(255,255,255,.7); font-size: 12px; text-align: center; }
.lightbox-close { position: fixed; top: 18px; right: 20px; background: none; border: 0; color: #fff; font-size: 22px; cursor: pointer; }

/* assistente */
.chat-fab { position: fixed; right: 20px; bottom: 20px; z-index: 150; display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 20px; border: 0; border-radius: 999px; cursor: pointer; background: var(--aseg); color: #fff;
  font-family: var(--ff-label); font-size: 11px; letter-spacing: .06em; box-shadow: 0 16px 40px -12px rgba(20,102,181,.6); transition: transform .22s var(--ease); }
.chat-fab:hover { transform: translateY(-3px); }
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 151; width: min(380px, 92vw); max-height: min(72vh, 620px);
  display: flex; flex-direction: column; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg);
  transform: translateY(20px) scale(.96); opacity: 0; pointer-events: none; transition: .3s var(--ease); }
.chat.open { transform: none; opacity: 1; pointer-events: auto; }
.chat header { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--aseg-deep); border-radius: 18px 18px 0 0; }
.chat-logo { height: 24px; }
.chat-close { margin-left: auto; background: none; border: 0; color: rgba(255,255,255,.85); font-size: 16px; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 84%; padding: 10px 14px; border-radius: 14px; font-size: .95rem; line-height: 1.45; }
.chat-msg.bot { align-self: flex-start; background: var(--paper-2); border: 1px solid var(--line); }
.chat-msg.user { align-self: flex-end; background: var(--aseg); color: #fff; }
.chat-opts { display: flex; flex-wrap: wrap; gap: 6px; }
.chat-opts button { font-size: 12px; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: #fff; cursor: pointer; font-family: var(--ff); }
.chat-opts button:hover { border-color: var(--aseg); }
.chat-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }
.chat-input input { flex: 1; background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 10px; padding: 10px 12px; font-family: var(--ff); font-size: .95rem; }
.chat-input button { padding: 10px 16px; border-radius: 10px; border: 0; background: var(--aseg); color: #fff; font-family: var(--ff-label); font-size: 11px; cursor: pointer; }
.chat-note { padding: 0 16px 14px; font-size: 11px; color: var(--ink-3); }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 820px) {
  body { font-size: 18px; }
  /* regras do menu compacto movidas p/ o bloco "MENU COMPACTO" (max-width: 1080px) abaixo */
  .cine { height: 400vh; }
  .cine-hud { padding-bottom: clamp(80px,12vh,120px); }
  .cproj-extra { grid-template-columns: 1fr 1fr; }
  .chat-fab { right: 12px; bottom: 12px; }
  .chat { right: 8px; left: 8px; bottom: 8px; width: auto; }
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .appcard, .cproj, .scene { opacity: 1 !important; transform: none !important; }
  .journey .j-media img, .scene-media img, .cproj-lead img { transform: none !important; opacity: 1 !important; }
}

/* ==========================================================================
   POLIMENTO MOBILE (2026-10-03) — aditivo. Desktop >= 1081px intocado.
   ========================================================================== */

/* ---------- MENU COMPACTO ----------
   Antes: hambúrguer só até 820px; entre 821 e 1080px (celular deitado,
   "versão para computador" do Android, tablet) aparecia o menu desktop
   quebrado em 2 linhas, apertado. E o painel aberto não tinha fundo — os
   links ficavam por cima do conteúdo. Agora: hambúrguer até 1080px (mesmo
   ponto em que o botão "Quero um projeto" do topo já some) e painel opaco,
   com rolagem própria em telas baixas e alvos de toque de 48px. */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; place-content: center; gap: 5px; margin-left: auto; min-width: 44px; min-height: 44px;
    margin-right: -8px; background: none; border: 0; padding: 10px; cursor: pointer; border-radius: 10px; }
  .nav-toggle:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
  .nav.on-light .nav-toggle:focus-visible { outline-color: var(--aseg); }
  .nav-toggle span { width: 22px; height: 2px; background: currentColor; display: block; transition: .3s var(--ease); color: #fff; }
  .nav.on-light .nav-toggle span { color: var(--ink); }
  .nav.menu-open { background: rgba(6,16,34,.97); }
  .nav.on-light.menu-open { background: rgba(255,255,255,.98); }
  .nav.menu-open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    padding: 6px clamp(16px,4vw,44px) 18px; max-height: calc(100vh - 88px); max-height: calc(100dvh - 88px);
    overflow-y: auto; overscroll-behavior: contain; flex-wrap: nowrap;
    background: rgb(6,16,34); border-bottom: 1px solid rgba(255,255,255,.08); box-shadow: 0 24px 40px -24px rgba(0,0,0,.5); }
  .nav.on-light.menu-open .nav-links { background: #fff; border-bottom-color: var(--line); box-shadow: 0 24px 40px -24px rgba(11,58,118,.28); }
  .nav.menu-open .nav-links a { display: flex; align-items: center; min-height: 48px; padding: 12px 2px; font-size: 17px;
    border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav.on-light.menu-open .nav-links a { border-bottom-color: var(--line); }
  .nav.menu-open .nav-links a:last-child { border-bottom: 0; }
  .nav.menu-open .nav-links a::after { display: none; }
  .nav.menu-open .nav-links a[aria-current="true"] { font-weight: 600; color: var(--cyan); }
  .nav.on-light.menu-open .nav-links a[aria-current="true"] { color: var(--aseg); }
  .nav.menu-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

@media (max-width: 820px) {
  /* ---------- transbordamento horizontal ----------
     .cam-fov (halo do campo de visão, animado por JS) vazava ~19px à direita;
     o placeholder 16:9 do Portal (min-height 180px => largura mínima 320px)
     vazava 9px em 360px. overflow-x: clip não quebra o sticky. */
  .cam, .motor { overflow-x: clip; }
  .portal-example .ph-16x9 { min-height: 0; }

  /* ---------- legibilidade: rótulos e textos de apoio ----------
     Hierarquia mantida: título > lede (agora >= corpo) > corpo 18px >
     apoio 16px > nota 14px > rótulo 11,5–12,5px. */
  .lede { font-size: 1.15rem; }
  .over { font-size: 16px; }
  .kicker, .cine-kicker { font-size: 12.5px; letter-spacing: .18em; }
  .src-note { font-size: 14px; line-height: 1.55; }
  .tags li, .chips li { font-size: 14px; padding: 8px 14px; }
  .cproj-eq span { font-size: 12.5px; padding: 6px 12px; }
  .cproj-cat, .appcard .a-de { font-size: 11.5px; }
  .cproj-badge, .motor-badge { font-size: 10.5px; }
  .cproj-local { font-size: 14.5px; }
  .j-num { font-size: 13px; }
  .cine-points li { font-size: 14px; }
  .cam-callout span { font-size: 13px; }
  .cam-final-title, .motor-final-title { font-size: 12px; }
  .cam-check li { font-size: 15.5px; }
  .cards-3 span, .motor-tipos span, .appcard .a-d, .app-outros, .pe-body p, .morador-card p { font-size: 16px; }
  .svc span, .cta-card span, .videoblock figcaption span { font-size: 14.5px; }
  .ph figcaption { font-size: 11.5px; }
  .foot span { font-size: 14px; }
  .foot-contatos a { font-size: 14.5px; display: inline-block; padding: 8px 0; }
  .foot p { font-size: 13.5px; }
  .lightbox figcaption { font-size: 13.5px; }

  /* ---------- toque: botões e assistente ---------- */
  .btn { font-size: 15.5px; min-height: 48px; justify-content: center; }
  .btn.btn-sm { font-size: 14px; min-height: 44px; }
  .chat-input input { font-size: 16px; } /* < 16px faz o iPhone dar zoom ao focar */
  .chat-fab { font-size: 12.5px; min-height: 48px; }
  .chat-opts button { font-size: 14px; padding: 9px 14px; min-height: 40px; }
  .chat-input button { font-size: 12.5px; min-height: 44px; }
  .chat-note { font-size: 12.5px; }
  .chat-close { font-size: 18px; padding: 10px; margin-right: -8px; }

  /* ---------- áreas brancas: contraste e respiro ----------
     Cards em fundo branco tinham borda #e4e9f1 sobre #fff (≈1,2:1) —
     praticamente invisível no celular. Borda um tom acima + sombra leve,
     só nas seções brancas (as de fundo azul-gelo já separam bem). E o vão
     entre seções caía para ~190px numa tela de 800px. */
  .sec:not(.sec--tint):not(.sec--deep) .cards-3 > div,
  .motor-tipos li { border-color: var(--line-2); box-shadow: 0 14px 30px -24px rgba(11,58,118,.35); }
  .sec { padding: clamp(60px, 9vh, 96px) 0; }
}

/* ==========================================================================
   LEGIBILIDADE MOBILE V3 (2026-10-03) — aditivo e reversível: apagar este
   bloco devolve exatamente a V2. Desktop (mouse, >= 1081px) intocado.
   Vale no celular em pé (<= 820px) e também no celular DEITADO / tablet
   (tela de toque até 1080px) — antes, deitado, o celular caía nos tamanhos
   de desktop (rótulos de 11px, notas de 12,5px).
   Hierarquia: h2 30px > título de passo 21,5px > lede 20px > corpo 19px >
   apoio 17px > nota 15px > rótulo 12,5–14,5px.
   ========================================================================== */
@media (max-width: 820px), (hover: none) and (pointer: coarse) and (max-width: 1080px) {
  /* texto corrido */
  body { font-size: 19px; }
  .lede { font-size: 1.25rem; line-height: 1.55; }
  .over { font-size: 16.5px; }
  .scene-body .s-ben { font-size: 19px; }

  /* passos "Do visitante na calçada ao registro no aplicativo" (01–05) */
  .j-num { font-size: 14.5px; font-weight: 600; }
  .journey .j-txt b { font-size: 21.5px; line-height: 1.3; }
  .journey .j-txt span { line-height: 1.6; }

  /* descrições e textos de apoio */
  .cards-3 span, .motor-tipos span, .appcard .a-d, .app-outros, .pe-body p,
  .morador-card p:not(.kicker):not(.mono), .cam-beat p { font-size: 17px; line-height: 1.6; }
  .appflow li { font-size: 16.5px; }
  .cam-check li { font-size: 16px; }
  .cproj-local, .svc span, .cta-card span, .videoblock figcaption span { font-size: 15.5px; }
  /* títulos dos cards de Serviços (2 colunas): ficam nos 18px da V2 — a 19px
     "videoporteiro" não cabe na coluna em 360px e gera rolagem lateral */
  .svc b { font-size: 18px; }

  /* notas, legendas e rótulos */
  .src-note { font-size: 15px; line-height: 1.55; }
  .tags li, .chips li { font-size: 15px; }
  .kicker, .cine-kicker { font-size: 13px; letter-spacing: .16em; }
  .cproj-eq span { font-size: 13.5px; }
  .cproj-cat, .appcard .a-de { font-size: 12.5px; }
  .cproj-badge, .motor-badge { font-size: 11px; }
  .ph figcaption { font-size: 12px; }
  .cine-points li { font-size: 14.5px; }

  /* botão flutuante "Falar com a ASEG": maior e mais legível, mas compacto */
  .chat-fab { font-size: 14px; letter-spacing: .04em; padding: 14px 22px; min-height: 52px; }
  /* espaço no fim da página p/ o botão flutuante nunca cobrir o rodapé */
  .foot { padding-bottom: 96px; }
}
/* celular deitado / tablet estreito (720–820px): o card do app com o celular
   ao lado deixava a coluna de texto com ~85px e estourava a largura da página
   (rolagem lateral de 13px em 740px). Empilha só o card, como no celular em pé. */
@media (max-width: 820px) {
  .appcard { grid-template-columns: 1fr; }
  .appcard .device { margin: 0 auto; }
}
