/* Site v4. Cores só da marca e de estado: brand #0066FF, #0052CC, #E5EFFF, tinta #212B3B, slate, estado. */
:root {
  --brand: #0066ff; --brand-d: #0052cc; --brand-l: #e5efff;
  --ink: #212b3b; --night: #0f172a; --deep: #0b1220;
  --text: #1d222a; --muted: #64748b;
  --green: #16a34a; --amber: #d97706; --red: #dc2626; --violet: #7c3aed;
  --r: 4px;
}
* { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: 'Nunito Sans', system-ui, sans-serif; background: var(--deep); color: #fff; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- topo ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .35s, backdrop-filter .35s; }
.top.is-solid { background: rgba(11, 18, 32, .72); backdrop-filter: blur(14px); }
.top-row { height: 72px; display: flex; align-items: center; justify-content: space-between; }
.top-logo img { height: 26px; }
.top-nav { display: flex; align-items: center; gap: 22px; }
.top-link { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.82); }
.top-link:hover { color: #fff; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: var(--r); font-weight: 800; font-size: 15px; border: 0; cursor: pointer; font-family: inherit; transition: transform .2s, box-shadow .2s, background .2s; }
.btn-brand { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(0,102,255,.8); }
.btn-brand:hover { background: var(--brand-d); transform: translateY(-1px); box-shadow: 0 14px 36px -10px rgba(0,102,255,.9); }
.btn-lg { height: 52px; padding: 0 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- tipografia ---------- */
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #6aa8ff; }
.eyebrow.light { color: #cfe0ff; }
.h1 { font-size: clamp(38px, 5.2vw, 72px); line-height: 1.02; font-weight: 900; letter-spacing: -.03em; margin-top: 16px; }
.h2 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.06; font-weight: 900; letter-spacing: -.025em; margin-top: 14px; }
.lead { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: rgba(255,255,255,.78); margin-top: 18px; max-width: 34em; }

/* ---------- o filme ---------- */
.film { position: relative; height: 2000vh; }
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--deep); }
.photo { position: absolute; inset: 0; will-change: transform; transform-origin: 47% 47%; }
.photo img { width: 100%; height: 100%; object-fit: cover; object-position: 47% 50%; }
.tint { position: absolute; inset: 0; background: var(--deep); opacity: .55; }
.stage::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(11,18,32,.92) 0%, rgba(11,18,32,.65) 34%, rgba(11,18,32,0) 62%), linear-gradient(0deg, rgba(11,18,32,.85) 0%, rgba(11,18,32,0) 32%); }
.glow { position: absolute; width: 70vmax; height: 70vmax; left: 60%; top: 47%; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(0,102,255,.35), transparent); opacity: .0; mix-blend-mode: screen; pointer-events: none; }

.sensor-anchor { position: absolute; left: 60%; top: 47%; width: 0; height: 0; z-index: 3; }
.ring { position: absolute; left: 0; top: 0; width: 120px; height: 120px; margin: -60px 0 0 -60px; border: 2px solid var(--ring, #4d94ff); border-radius: 50%; opacity: 0; animation: ring 3.2s cubic-bezier(.2,.6,.3,1) infinite; }
.ring.r2 { animation-delay: 1.05s; } .ring.r3 { animation-delay: 2.1s; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(3.2); opacity: 0; } }
.state-pill { position: absolute; left: 0; top: -205px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: rgba(255,255,255,.95); color: var(--text); font-size: 14px; white-space: nowrap; box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); }
.state-pill i { width: 10px; height: 10px; border-radius: 50%; background: var(--dot, var(--green)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--dot, var(--green)) 22%, transparent); }
.state-pill b { font-weight: 800; }
.state-pill::before { content: ''; position: absolute; left: 50%; top: 100%; height: 118px; border-left: 1.5px dashed rgba(255,255,255,.7); }

.copy-zone { position: absolute; inset: 0; display: flex; align-items: center; z-index: 4; pointer-events: none; }
.copy { position: absolute; max-width: 560px; opacity: 0; visibility: hidden; }
.copy a { pointer-events: auto; }
.cta-row { margin-top: 30px; }
.facts { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 30px; }
.facts li { display: inline-flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 700; color: rgba(255,255,255,.88); }
.facts svg { width: 20px; height: 20px; fill: none; stroke: #6aa8ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.clock { position: absolute; left: max(24px, calc((100vw - 1240px) / 2 + 24px)); top: 104px; z-index: 4; opacity: 0; }
.clock span { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.clock b { display: block; font-size: 44px; font-weight: 900; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

/* a leitura ao vivo */
.live { position: absolute; left: max(24px, calc((100vw - 1240px) / 2 + 24px)); bottom: 28px; width: min(520px, 40vw); z-index: 4; padding: 16px 18px 12px; border-radius: 8px; background: rgba(11,18,32,.62); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(16px); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.live-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.live-head b { font-size: 14px; font-weight: 800; }
.live-head small { display: block; font-size: 12px; color: rgba(255,255,255,.55); margin-top: 2px; }
.live-value { display: flex; align-items: baseline; gap: 4px; }
.live-value b { font-size: 30px; font-weight: 900; font-variant-numeric: tabular-nums; color: var(--val, #fff); transition: color .3s; }
.live-value span { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.6); }
.live canvas { display: block; width: 100%; height: 120px; margin-top: 8px; }
.live-source { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 6px; }

/* o celular */
.phone-wrap { position: absolute; right: 6vw; top: 50%; z-index: 5; width: 300px; height: 649px; transform: translateY(-50%); opacity: 0; visibility: hidden; }
.phone { width: 390px; height: 844px; transform: scale(.7692); transform-origin: 0 0; border-radius: 56px; padding: 13px; background: #0b0f17; box-shadow: 0 0 0 2px #2a3446, 0 60px 120px -30px rgba(0,0,0,.8); }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: #212b3b; font-family: 'Montserrat', sans-serif; text-align: center; }
.phone-screen::before { content: ''; position: absolute; left: 50%; top: 12px; width: 120px; height: 34px; margin-left: -60px; border-radius: 20px; background: #000; }
.lock-time { margin-top: 110px; font-size: 86px; font-weight: 600; letter-spacing: -.02em; color: #fff; }
.lock-day { font-size: 18px; color: rgba(255,255,255,.75); margin-top: 4px; }
.push { margin: 46px 16px 0; padding: 16px 18px; border-radius: 22px; background: rgba(255,255,255,.95); color: #111827; text-align: left; transform: translateY(-30px); opacity: 0; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.push-head { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: #6b7280; text-transform: uppercase; letter-spacing: .04em; }
.push-head img { width: 22px; height: 22px; border-radius: 6px; }
.push-head em { margin-left: auto; font-style: normal; text-transform: none; letter-spacing: 0; }
.push b { display: block; font-size: 17px; margin-top: 8px; }
.push p { font-size: 15px; line-height: 1.45; color: #374151; margin-top: 4px; }

/* cartões */
.card { position: absolute; z-index: 5; border-radius: 8px; background: rgba(255,255,255,.97); color: var(--text); box-shadow: 0 40px 80px -24px rgba(0,0,0,.65); opacity: 0; }
.noah { right: 5vw; top: 50%; width: 380px; padding: 22px; transform: translateY(-50%); }
.noah-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #eef2f7; }
.noah-head b { display: block; font-size: 16px; font-weight: 900; }
.noah-head small { font-size: 13px; color: var(--muted); }
.noah-seal { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0066ff, #7c3aed); box-shadow: 0 8px 20px -6px rgba(124,58,237,.6); }
.noah-seal svg { width: 20px; height: 20px; fill: #fff; }
.noah-label { margin-top: 16px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.noah-label.amber { color: var(--amber); }
.noah-cause { font-size: 20px; font-weight: 900; line-height: 1.25; margin-top: 6px; }
.noah-ev { list-style: none; padding: 0; margin-top: 8px; display: grid; gap: 8px; }
.noah-ev li { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot.red { background: var(--red); } .dot.amber { background: var(--amber); } .dot.green { background: var(--green); }
.noah-next { margin-top: 6px; padding: 12px 14px; border-radius: var(--r); background: var(--brand-l); }
.noah-next .noah-label { margin-top: 0; color: var(--brand-d); }
.noah-next p:last-child { font-size: 15px; font-weight: 700; margin-top: 4px; }
.noah-sign { font-size: 12px; color: var(--muted); margin-top: 14px; }

.os { right: 6vw; top: 50%; width: 360px; padding: 20px 22px; transform: translateY(-50%); }
.os-label { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); }
.os-label svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.os b { display: block; font-size: 20px; font-weight: 900; margin-top: 10px; }
.os small { display: block; font-size: 14px; color: var(--muted); margin-top: 2px; }
.os-step { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 15px; font-weight: 700; opacity: .25; transition: opacity .3s; }
.os-step i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #cbd5e1; flex: none; transition: all .3s; }
.os-step.is-on { opacity: 1; }
.os-step.is-on i { border-color: var(--green); background: var(--green); box-shadow: inset 0 0 0 4px #fff; }

.scroll-hint { position: absolute; left: 50%; bottom: 190px; transform: translateX(-50%); z-index: 4; display: none; }
.progress { position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 6; background: rgba(255,255,255,.08); }
.progress span { display: block; height: 100%; width: 0; background: var(--brand); }

/* ---------- a planta ---------- */
.plant { position: relative; min-height: 100vh; display: flex; align-items: flex-end; background: #f1f5f9; color: var(--text); overflow: hidden; }
.plant-img { position: absolute; inset: -8% 0; }
.plant-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.plant::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(241,245,249,.96) 0%, rgba(241,245,249,.7) 38%, rgba(241,245,249,0) 64%); }
.plant-copy { position: relative; z-index: 2; padding-bottom: 14vh; }
.plant .eyebrow { color: var(--brand); }
.plant .lead { color: #475569; }

/* ---------- as máquinas ---------- */
.machines { background: var(--ink); padding: 120px 0; }
.machine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; }
.machine { position: relative; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); padding: 18px 18px 16px; transition: transform .35s, background .35s, border-color .35s; }
.machine:hover { transform: translateY(-4px); background: rgba(255,255,255,.07); border-color: rgba(106,168,255,.4); }
.machine img { width: 100%; aspect-ratio: 4/3; object-fit: contain; filter: drop-shadow(0 18px 24px rgba(0,0,0,.45)); }
.machine span { display: block; margin-top: 10px; font-weight: 800; font-size: 15px; }

/* ---------- contato ---------- */
.contact { background: var(--brand); padding: 120px 0; }
.contact .lead { color: rgba(255,255,255,.85); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.form { background: #fff; color: var(--text); border-radius: 8px; padding: 28px; box-shadow: 0 40px 80px -30px rgba(0,30,90,.6); }
.form label { display: block; margin-bottom: 14px; }
.form label span { display: block; font-size: 13px; font-weight: 800; margin-bottom: 6px; }
.form input, .form textarea { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #e2e8f0; border-radius: var(--r); font: inherit; font-size: 15px; color: var(--text); background: #fff; }
.form textarea { height: auto; padding: 10px 12px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(0,102,255,.15); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute; left: -9999px; }
.turnstile { margin: 4px 0 14px; }
[data-lead-output] > div { display: flex; gap: 10px; padding: 12px 14px; border-radius: var(--r); font-size: 14px; margin-top: 12px; }
[data-lead-output] .bg-green-500\/10 { background: rgba(22,163,74,.1); color: #15803d; }
[data-lead-output] .bg-red-500\/10 { background: rgba(220,38,38,.1); color: #b91c1c; }

.footer { background: var(--deep); padding: 48px 0; color: rgba(255,255,255,.6); font-size: 14px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-logo { height: 22px; margin-bottom: 10px; }
.footer nav { display: flex; gap: 20px; }
.footer a:hover { color: #fff; }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- celular (tela estreita) ---------- */
@media (max-width: 900px) {
  .top-link { display: none; }
  .top-row { height: 62px; }
  .btn { height: 38px; padding: 0 14px; font-size: 14px; }
  .btn-lg { height: 48px; }
  .stage::after { background: linear-gradient(0deg, rgba(11,18,32,.96) 0%, rgba(11,18,32,.82) 46%, rgba(11,18,32,.2) 70%, rgba(11,18,32,.4) 100%); }
  .photo img { object-position: 47% 30%; }
  .install img { object-position: 32% 50%; }
  .sensor-anchor { left: 50%; top: 30%; }
  .state-pill { top: -120px; font-size: 13px; } .state-pill::before { height: 40px; }
  .copy-zone { align-items: flex-end; padding-bottom: 196px; }
  .copy { position: absolute; bottom: 196px; left: 24px; right: 24px; max-width: none; }
  .h1 { font-size: 36px; } .h2 { font-size: 28px; }
  .lead { font-size: 16px; margin-top: 12px; }
  .facts { display: none; }
  .cta-row { margin-top: 18px; }
  .clock { left: 20px; top: 76px; } .clock b { font-size: 28px; }
  .live { left: 16px; right: 16px; width: auto; bottom: 16px; padding: 12px 14px 8px; }
  .live canvas { height: 84px; }
  .phone-wrap { right: 50%; top: 92px; width: 133px; height: 287px; transform: translateX(50%); }
  .phone { transform: scale(.34); }
  .noah, .os { left: 16px; right: 16px; width: auto; top: 78px; transform: none; padding: 16px; }
  .noah-cause { font-size: 17px; } .noah-ev li { font-size: 14px; } .noah-sign { display: none; }
  .machine-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .machines, .contact { padding: 80px 0; }
}
@media (prefers-reduced-motion: reduce) { .ring { animation: none; opacity: .4; } }

/* ---------- a instalação (fotos reais em sequência) ---------- */
.install { position: absolute; inset: 0; pointer-events: none; }
.install img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0; will-change: transform, opacity; }
.steps { list-style: none; padding: 0; margin-top: 26px; display: grid; gap: 12px; }
.steps li { display: flex; align-items: center; gap: 12px; font-size: 16px; font-weight: 700; color: rgba(255,255,255,.45); transition: color .35s; }
.steps li i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: 13px; font-weight: 900; border: 1.5px solid rgba(255,255,255,.3); transition: all .35s; }
.steps li.is-on { color: #fff; }
.steps li.is-on i { background: var(--brand); border-color: var(--brand); box-shadow: 0 0 0 6px rgba(0,102,255,.2); }

/* ---------- as telas do app dentro do celular ---------- */
.phone-screen { text-align: left; }
.statusbar { position: absolute; left: 0; right: 0; top: 0; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 0 34px 0 40px; z-index: 3; color: #fff; font-size: 16px; }
.statusbar span { display: flex; gap: 3px; align-items: flex-end; }
.statusbar i { width: 4px; background: #fff; border-radius: 1px; }
.statusbar i:nth-child(1) { height: 6px; } .statusbar i:nth-child(2) { height: 9px; } .statusbar i:nth-child(3) { height: 12px; }
.statusbar em { width: 24px; height: 12px; margin-left: 6px; border: 1.5px solid #fff; border-radius: 3px; position: relative; }
.statusbar em::after { content: ''; position: absolute; inset: 2px 5px 2px 2px; background: #fff; border-radius: 1px; }
.pv { position: absolute; inset: 0; }
.pv-lock { text-align: center; }
.pv-app { background: #f8fafc; color: #111827; padding-top: 54px; opacity: 0; }
.app-head { height: 56px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: #fff; border-bottom: 1px solid #eef2f7; font-size: 18px; }
.app-head.warn { background: #b45309; color: #fff; border: 0; }
.app-back { font-size: 30px; line-height: 1; margin-top: -4px; }
.pv-app[data-pv="alert"] { background: #f8fafc; }
.pv-app[data-pv="alert"] .statusbar { color: #fff; }
.app-hero { padding: 18px 22px 22px; }
.app-hero.warn { background: #b45309; color: #fff; }
.app-badge { display: inline-block; padding: 5px 10px; border-radius: 6px; background: rgba(255,255,255,.2); font-size: 13px; font-weight: 700; }
.app-hero h3 { font-size: 24px; font-weight: 700; margin-top: 12px; }
.app-hero p { font-size: 15px; line-height: 1.45; margin-top: 6px; color: rgba(255,255,255,.88); }
.app-body { padding: 18px 20px; }
.app-asset { display: flex; align-items: center; gap: 12px; padding: 12px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; }
.app-asset img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; }
.app-asset b { font-size: 17px; } .app-asset small { display: block; font-size: 13px; color: #6b7280; margin-top: 2px; }
.app-reading { margin-top: 14px; padding: 16px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; }
.app-reading small { font-size: 13px; color: #6b7280; }
.app-value { display: flex; align-items: baseline; gap: 6px; margin-top: 4px; }
.app-value b { font-size: 40px; font-weight: 700; font-variant-numeric: tabular-nums; } .app-value span { font-size: 18px; color: #6b7280; }
.app-bar { position: relative; height: 8px; border-radius: 4px; background: #eef2f7; margin: 12px 0 8px; overflow: hidden; }
.app-bar i { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 4px; transition: width .2s; }
.app-bar em { position: absolute; top: -2px; bottom: -2px; left: 52.7%; width: 2px; background: #d97706; }
.app-limit { display: block; }
.app-btn { margin-top: 16px; height: 50px; border-radius: 8px; background: #0066ff; color: #fff; font-weight: 700; font-size: 16px; display: grid; place-items: center; }
.app-chip { display: inline-block; padding: 6px 12px; border-radius: 6px; background: #f1f5f9; color: #64748b; font-size: 13px; font-weight: 700; transition: all .3s; }
.app-chip.is-on { background: rgba(22,163,74,.12); color: #15803d; }
.app-title { font-size: 22px; font-weight: 700; margin-top: 12px; }
.app-sub { font-size: 14px; color: #6b7280; margin-top: 4px; }
.app-section { margin-top: 24px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; }
.voice { display: flex; align-items: center; gap: 14px; margin-top: 12px; padding: 14px; background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; }
.mic { position: relative; width: 56px; height: 56px; border-radius: 50%; background: #e5e7eb; display: grid; place-items: center; flex: none; transition: background .3s; }
.mic svg { width: 26px; height: 26px; fill: none; stroke: #6b7280; stroke-width: 2; position: relative; z-index: 1; }
.mic span { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #ef4444; opacity: 0; }
.mic.is-rec { background: #ef4444; } .mic.is-rec svg { stroke: #fff; }
.mic.is-rec span { animation: ring 1.6s ease-out infinite; } .mic.is-rec span + span { animation-delay: .8s; }
.wave { flex: 1; height: 44px; display: flex; align-items: center; gap: 3px; }
.wave i { flex: 1; height: 12%; border-radius: 2px; background: #cbd5e1; }
.wave.is-rec i { background: #ef4444; animation: bar .7s ease-in-out infinite alternate; }
@keyframes bar { from { height: 12%; } to { height: var(--h); } }
.transcript { min-height: 66px; margin-top: 14px; font-size: 16px; line-height: 1.5; color: #111827; }
.transcript.is-typing::after { content: ''; display: inline-block; width: 2px; height: 18px; margin-left: 2px; background: #0066ff; vertical-align: -3px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.app-done { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 15px; font-weight: 700; color: #15803d; opacity: 0; transform: translateY(8px); transition: all .35s; }
.app-done i { width: 22px; height: 22px; border-radius: 50%; background: #16a34a; box-shadow: inset 0 0 0 5px #dcfce7; }
.app-done.is-on { opacity: 1; transform: none; }
.phone-screen.is-light .statusbar { color: #111827; } .phone-screen.is-light .statusbar i, .phone-screen.is-light .statusbar em::after { background: #111827; } .phone-screen.is-light .statusbar em { border-color: #111827; }

/* o tocador do app: o celular inteiro (moldura e telas) vem de app/, na largura do quadro */
.phone-wrap { background: transparent; }
.app-frame { display: block; width: 100%; height: 100%; border: 0; background: transparent; color-scheme: normal; filter: drop-shadow(0 50px 70px rgba(0,0,0,.55)); }

/* o fecho do caso */
.result { right: 5vw; top: 50%; width: 380px; padding: 24px; }
.result-case { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.result-case i { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.result-title { display: block; font-size: 24px; font-weight: 900; margin-top: 10px; letter-spacing: -.01em; }
.result-steps { list-style: none; padding: 0; margin: 18px 0 0; position: relative; }
.result-steps::before { content: ''; position: absolute; left: 9px; top: 10px; bottom: 10px; border-left: 2px solid #e2e8f0; }
.result-steps li { position: relative; display: flex; gap: 14px; padding: 8px 0; opacity: .25; transform: translateX(8px); transition: opacity .35s, transform .35s; }
.result-steps li.is-on { opacity: 1; transform: none; }
.result-steps li > i { position: relative; z-index: 1; width: 20px; height: 20px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 5px #fff; border: 2px solid currentColor; }
.result-steps i.amber { color: var(--amber); background: var(--amber); } .result-steps i.violet { color: var(--violet); background: var(--violet); }
.result-steps i.blue { color: var(--brand); background: var(--brand); } .result-steps i.green { color: var(--green); background: var(--green); }
.result-steps b { display: block; font-size: 15px; font-weight: 800; }
.result-steps small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
.result-foot { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 12px 14px; border-radius: var(--r); background: rgba(22,163,74,.1); color: #15803d; font-weight: 800; font-size: 15px; opacity: .25; transition: opacity .35s; }
.result-foot.is-on { opacity: 1; }
.result-foot svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 900px) { .result { left: 16px; right: 16px; width: auto; top: 78px; transform: none; padding: 16px; } }

/* ---------- cena 2: a fábrica inteira (fundo claro, a planta à direita) ---------- */
.to-light { height: 55vh; background: linear-gradient(180deg, var(--deep) 0%, #1e293b 30%, #cbd5e1 75%, #f8fafc 100%); }
.plant2 { position: relative; height: 700vh; background: #f8fafc; color: var(--text); }
.p2-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: radial-gradient(ellipse 70% 80% at 68% 55%, #ffffff 0%, #f1f5f9 60%, #e9eef5 100%); }
.p2-still, .p2-host { position: absolute; top: 0; bottom: 0; height: 100%; }
.p2-host { left: 36%; right: 0; opacity: 0; transition: opacity .8s; }
.p2-still { left: 36%; right: 0; width: 64%; object-fit: contain; opacity: .5; transition: opacity .6s; }
.plant2.is-ready .p2-host { opacity: 1; }
.plant2.is-ready .p2-still { opacity: 0; }
.p2-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(90deg, rgba(248,250,252,1) 0%, rgba(248,250,252,.92) 30%, rgba(248,250,252,0) 44%); }
.p2-veil { position: absolute; inset: 0; background: #f8fafc; opacity: 0; pointer-events: none; }
.plant2 .eyebrow { color: var(--brand); }
.plant2 .h2 { color: var(--ink); }
.plant2 .lead { color: #475569; }
.p2-copy { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; pointer-events: none; }
.p2-steps { position: relative; min-height: 260px; margin-top: 4px; max-width: 34%; }
.p2-step { position: absolute; top: 0; left: 0; right: 0; opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.2,.7,.2,1), transform .55s cubic-bezier(.2,.7,.2,1); }
.p2-step.is-on { opacity: 1; transform: none; }
.p2-dots { display: flex; gap: 8px; margin-top: 18px; }
.p2-dots span { width: 34px; height: 3px; border-radius: 2px; background: #cbd5e1; transition: background .4s; }
.p2-dots span.is-on { background: var(--brand); }
.p2-history { right: 4vw; top: 50%; width: 340px; padding: 20px; opacity: 0; border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -24px rgba(15,23,42,.25); }
.h-head { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid #eef2f7; }
.h-head img { width: 48px; height: 48px; border-radius: 6px; object-fit: cover; }
.h-head b { display: block; font-size: 17px; font-weight: 900; } .h-head small { font-size: 13px; color: var(--muted); }
.h-label { margin-top: 14px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.p2-history ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 10px; }
.p2-history li { display: flex; gap: 12px; align-items: center; opacity: .2; transform: translateX(8px); transition: opacity .35s, transform .35s; }
.p2-history li.is-on { opacity: 1; transform: none; }
.p2-history li > i { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; }
.p2-history li svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p2-history i.blue { background: rgba(0,102,255,.1); color: var(--brand); } .p2-history i.slate { background: #f1f5f9; color: #475569; }
.p2-history i.green { background: rgba(22,163,74,.1); color: var(--green); } .p2-history i.brand { background: rgba(0,102,255,.1); color: var(--brand-d); }
.p2-history li b { display: block; font-size: 15px; font-weight: 800; } .p2-history li small { display: block; font-size: 13px; color: var(--muted); margin-top: 1px; }
/* utilitários que os cartões da planta usam */
.shrink-0 { flex-shrink: 0; } .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .min-w-0 { min-width: 0; } .flex-1 { flex: 1 1 0%; }
/* celular: sem 3D, a imagem da planta e os quatro textos em sequência */
.plant2.is-lite { height: auto; }
.plant2.is-lite .p2-sticky { position: relative; height: auto; padding: 40px 0 60px; }
.plant2.is-lite .p2-still { position: relative; left: 0; width: 100%; height: 260px; opacity: 1; }
.plant2.is-lite .p2-host, .plant2.is-lite .p2-shade, .plant2.is-lite .p2-veil, .plant2.is-lite .p2-dots, .plant2.is-lite .p2-history { display: none; }
.plant2.is-lite .p2-copy { position: relative; padding-top: 28px; }
.plant2.is-lite .p2-steps { max-width: none; min-height: 0; display: grid; gap: 28px; }
.plant2.is-lite .p2-step { position: relative; opacity: 1; transform: none; }
/* as poucas classes utilitárias que os rótulos da planta 3D usam (o site não carrega Tailwind) */
.flex { display: flex; } .flex-col { flex-direction: column; } .items-start { align-items: flex-start; } .gap-\[3px\] { gap: 3px; } .whitespace-nowrap { white-space: nowrap; }
.grid { display: grid; } .place-items-center { place-items: center; } .overflow-hidden { overflow: hidden; } .h-4 { height: 1rem; } .w-4 { width: 1rem; } .h-full { height: 100%; } .w-full { width: 100%; } .p-0\.5 { padding: .125rem; } .object-contain { object-fit: contain; }
.text-\[22px\] { font-size: 22px; } .text-\[11px\] { font-size: 11px; } .font-extrabold { font-weight: 800; } .font-semibold { font-weight: 600; } .uppercase { text-transform: uppercase; } .leading-none { line-height: 1; }
.tracking-\[0\.05em\] { letter-spacing: .05em; } .tracking-\[0\.1em\] { letter-spacing: .1em; } .text-white { color: #fff; } .text-white\/60 { color: rgba(255,255,255,.6); } .text-slate-800 { color: #1e293b; } .text-slate-500 { color: #64748b; }

/* ---------- cena 3: como começa ---------- */
.start { background: linear-gradient(180deg, var(--deep) 0%, var(--ink) 100%); padding: 140px 0 120px; }
.start .h2 { max-width: 14em; }
.start-line { list-style: none; padding: 0; margin: 64px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.start-line::before { content: ''; position: absolute; left: 22px; right: 22px; top: 22px; border-top: 2px dashed rgba(106,168,255,.35); }
.start-line li { position: relative; }
.start-line li:nth-child(2) { transition-delay: .12s; } .start-line li:nth-child(3) { transition-delay: .24s; } .start-line li:nth-child(4) { transition-delay: .36s; }
.start-n { position: relative; z-index: 1; flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 18px; background: var(--brand); box-shadow: 0 0 0 8px rgba(0,102,255,.18), 0 16px 30px -10px rgba(0,102,255,.8); }
.start-line b { display: block; font-size: 19px; font-weight: 900; margin-top: 22px; }
.start-line p { font-size: 16px; line-height: 1.55; color: rgba(255,255,255,.7); margin-top: 8px; }
.start-cta { margin-top: 56px; }
@media (max-width: 900px) { .start { padding: 90px 0; } .start-line { grid-template-columns: 1fr; gap: 26px; } .start-line::before { left: 22px; right: auto; top: 22px; bottom: 22px; border-top: 0; border-left: 2px dashed rgba(106,168,255,.35); } .start-line li { display: flex; gap: 16px; } .start-line b { margin-top: 10px; } }

/* ---------- o NOAH e a inteligência ---------- */
.noahsec { background: var(--deep); padding: 130px 0 120px; position: relative; overflow: hidden; }
.noahsec::before { content: ''; position: absolute; left: 50%; top: 52%; width: 900px; height: 900px; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(124,58,237,.18), rgba(0,102,255,.08) 55%, transparent); pointer-events: none; }
.eyebrow.violet { color: #a78bfa; }


.nm-stage { position: relative; display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: center; gap: 0; margin-top: 64px; }
.nm-col { display: grid; gap: 110px; position: relative; z-index: 2; }
.nm-src { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 8px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(8px); transition: border-color .5s, background .5s, box-shadow .5s; }
.nm-src.is-on { border-color: rgba(167,139,250,.55); background: rgba(124,58,237,.1); box-shadow: 0 20px 40px -20px rgba(124,58,237,.6); }
.nm-ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none; background: rgba(124,58,237,.16); color: #c4b5fd; }
.nm-ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nm-src b { display: block; font-size: 16px; font-weight: 800; }
.nm-src small { display: block; font-size: 13.5px; color: rgba(255,255,255,.6); margin-top: 2px; line-height: 1.4; }
.nm-core { position: relative; height: 360px; }
.nm-wires { position: absolute; inset: 0; width: 100%; height: 100%; }
.nm-wires path { fill: none; stroke: rgba(167,139,250,.22); stroke-width: 1.5; }
.nm-wires .nm-flow { stroke: #a78bfa; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 26 400; stroke-dashoffset: 426; animation: nmflow 2.6s cubic-bezier(.5,0,.3,1) infinite; filter: drop-shadow(0 0 6px rgba(167,139,250,.9)); }
.nm-wires .d2 { animation-delay: .65s; } .nm-wires .d3 { animation-delay: 1.3s; } .nm-wires .d4 { animation-delay: 1.95s; }
@keyframes nmflow { to { stroke-dashoffset: 0; } }
.nm-seal { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 12px; }
.nm-ball { position: relative; z-index: 1; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #0066ff, #7c3aed); box-shadow: 0 0 0 10px rgba(124,58,237,.12), 0 30px 60px -10px rgba(124,58,237,.7); }
.nm-ball svg { width: 44px; height: 44px; fill: #fff; }
.nm-ring { position: absolute; top: 48px; left: 50%; width: 96px; height: 96px; margin: -48px 0 0 -48px; border-radius: 50%; border: 2px solid rgba(167,139,250,.6); animation: ring 3s ease-out infinite; }
.nm-ring.r2 { animation-delay: 1.5s; }
.nm-seal b { font-size: 15px; font-weight: 900; letter-spacing: .2em; }
.nm-chat { max-width: 720px; margin: 70px auto 0; display: grid; gap: 14px; }
.nm-q { justify-self: end; max-width: 80%; padding: 14px 18px; border-radius: 14px 14px 4px 14px; background: var(--brand); font-size: 16px; font-weight: 700; }
.nm-a { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: 14px 14px 14px 4px; background: #fff; color: var(--text); box-shadow: 0 30px 60px -24px rgba(0,0,0,.6); }
.nm-mini { width: 34px; height: 34px; border-radius: 50%; flex: none; display: grid; place-items: center; background: linear-gradient(135deg, #0066ff, #7c3aed); }
.nm-mini svg { width: 18px; height: 18px; fill: #fff; }
.nm-a b { font-size: 14px; font-weight: 900; }
.nm-a p { font-size: 16px; line-height: 1.55; margin-top: 4px; min-height: 3.1em; }
.nm-a p.is-typing::after { content: ''; display: inline-block; width: 2px; height: 17px; margin-left: 2px; background: var(--violet); vertical-align: -3px; animation: blink .8s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- como começa e as máquinas: claro ---------- */
.start { background: #fff; color: var(--text); }
.start .eyebrow, .machines .eyebrow { color: var(--brand); }
.start .h2, .machines .h2 { color: var(--ink); }
.start-line p { color: #475569; }
.start-line::before { border-top-color: #bfd6ff; }
.machines { background: #f1f5f9; color: var(--text); }
.machines .lead { color: #475569; }
.machine { background: #fff; border-color: #e2e8f0; }
.machine:hover { background: #fff; border-color: rgba(0,102,255,.35); box-shadow: 0 24px 40px -24px rgba(15,23,42,.3); }
.machine img { filter: drop-shadow(0 14px 18px rgba(15,23,42,.18)); }
.machines-more { margin-top: 26px; font-size: 16px; color: #475569; }
.machines-more b { color: var(--ink); }

/* ---------- contato: no escuro da casa, não no azul ---------- */
.contact { background: var(--ink); position: relative; overflow: hidden; }
.contact::before { content: ''; position: absolute; right: -10%; top: -30%; width: 70vw; height: 70vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(0,102,255,.22), transparent); pointer-events: none; }
.contact .wrap { position: relative; }
.contact .lead { color: rgba(255,255,255,.75); }
.contact .eyebrow.light { color: #6aa8ff; }
.contact-points { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 12px; }
.contact-points li { display: flex; align-items: center; gap: 10px; font-size: 16px; color: rgba(255,255,255,.85); }
.contact-points svg { width: 20px; height: 20px; fill: none; stroke: #6aa8ff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- rodapé ---------- */
.footer { padding: 72px 0 32px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.9); margin-bottom: 14px; }
.footer-grid a, .footer-grid span { display: block; font-size: 15px; color: rgba(255,255,255,.6); margin-bottom: 10px; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { max-width: 22em; line-height: 1.55; margin-top: 4px; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); margin: 0; }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); font-size: 13.5px; color: rgba(255,255,255,.45); }
.footer-bottom nav { display: flex; gap: 20px; }

@media (max-width: 900px) {
  .noahsec { padding: 90px 0; }
  .nm-stage { grid-template-columns: 1fr; gap: 20px; }
  .nm-col { gap: 14px; }
  .nm-core { height: 200px; order: -1; } .nm-wires { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
}
/* na cena 2 a planta tem uma linha só: o rótulo dela não precisa aparecer (e encostava no texto) */
.p2-host .plant-zone { display: none; }
.p2-still { display: block; }
/* o topo sólido fica escuro também por cima das seções claras */
.top.is-solid { background: rgba(11,18,32,.92); }
.top.is-solid { background: #0b1220; backdrop-filter: none; }

/* ---------- revisão (10/10): do NOAH para baixo tudo claro; o topo vira claro sobre as partes claras ---------- */
.top .logo-d { display: none; }
.top.is-solid { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); box-shadow: 0 1px 0 rgba(15,23,42,.06), 0 8px 24px -16px rgba(15,23,42,.18); }
.top.is-solid .logo-w { display: none; }
.top.is-solid .logo-d { display: block; }
.top.is-solid .top-link { color: #475569; }
.top.is-solid .top-link:hover { color: #0f172a; }
.contact { background: #f8fafc; color: var(--text); }
.contact::before { background: radial-gradient(closest-side, rgba(0,102,255,.08), transparent); }
.contact .h2 { color: var(--ink); }
.contact .lead { color: #475569; }
.contact .eyebrow.light { color: var(--brand); }
.contact-points li { color: #334155; }
.contact-points svg { stroke: var(--brand); }
.form { border: 1px solid #e2e8f0; box-shadow: 0 30px 60px -30px rgba(15,23,42,.25); border-radius: 4px; }
@media (max-width: 900px) {
  .copy[data-chapter="0"] { bottom: 56px; }
  .clock { display: none; }
  .sensor-anchor { top: 24%; }
}
/* os ícones dos fatos */
.facts svg.fi { stroke: #6aa8ff; }
.noah-seal { border-radius: 4px; background: linear-gradient(140deg, #0066ff, #7c5cfc); box-shadow: none; }
.noah-seal svg { fill: none; width: 20px; height: 20px; }

/* ---------- 10/10: sem o tracejado branco sobre o sensor; o selo fica logo acima dele ---------- */
.state-pill::before { display: none !important; }
.state-pill { top: -150px; transition: opacity .4s; }
@media (max-width: 900px) { .state-pill { top: -110px; } }
/* os três fatos, um embaixo do outro */
.facts { flex-direction: column; gap: 10px; }
/* a linha do fecho só liga um passo ao outro quando os dois já aconteceram */
.result-steps::before { display: none; }
.result-steps li + li::before { content: ""; position: absolute; left: 9px; top: -26px; height: 34px; border-left: 2px solid #e2e8f0; opacity: 0; transition: opacity .35s; }
.result-steps li.is-on + li.is-on::before { opacity: 1; }
.turnstile:empty, .turnstile iframe[style*="display: none"] { margin: 0; }
.footer-contact a, .footer-addr { display: flex !important; align-items: flex-start; gap: 10px; }
.footer-contact svg, .footer-addr svg { width: 17px; height: 17px; flex: none; margin-top: 2px; fill: none; stroke: #6aa8ff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-addr b { display: block; color: rgba(255,255,255,.85); font-weight: 700; }
.footer-addr small { display: block; font-size: 14px; color: rgba(255,255,255,.55); margin-top: 2px; }
.state-pill { opacity: 0; }
/* a leitura ao vivo num cartão claro, como o gráfico do sistema (não um painel escuro de "efeito") */
.live { background: rgba(255,255,255,.96); border: 1px solid #e2e8f0; backdrop-filter: none; box-shadow: 0 30px 60px -24px rgba(0,0,0,.55); color: #0f172a; }
.live-head b { color: #0f172a; }
.live-head small, .live-value span, .live-source { color: #64748b; }
.live-value b { color: var(--val, #0f172a); }

/* ---------- o seletor de idioma (topo): o globo + a sigla, a lista abre embaixo ---------- */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 10px; border-radius: 4px; border: 1px solid rgba(255,255,255,.22); background: rgba(255,255,255,.06); color: rgba(255,255,255,.9); font: 700 13px/1 'Nunito Sans', sans-serif; letter-spacing: .04em; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.lang-btn:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.36); color: #fff; }
.lang-btn:focus-visible { outline: 2px solid #4d94ff; outline-offset: 2px; }
.lang-btn svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lang-caret { opacity: .7; transition: transform .2s; }
.lang.is-open .lang-caret { transform: rotate(180deg); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 188px; padding: 6px; border-radius: 4px; background: #fff; border: 1px solid #e2e8f0; box-shadow: 0 18px 40px -16px rgba(15,23,42,.35); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .18s, transform .18s, visibility .18s; z-index: 60; }
.lang.is-open .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-opt { display: flex; align-items: center; gap: 10px; width: 100%; height: 36px; padding: 0 10px; border: 0; border-radius: 4px; background: transparent; color: #0f172a; font: 600 14px/1 'Nunito Sans', sans-serif; text-align: left; cursor: pointer; }
.lang-opt:hover, .lang-opt:focus-visible { background: #f1f5f9; outline: none; }
.lang-code { width: 26px; font-size: 11px; font-weight: 800; letter-spacing: .06em; color: #64748b; }
.lang-name { flex: 1; }
.lang-check { fill: none; stroke: #0066ff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.lang-opt.is-on { color: #0066ff; }
.lang-opt.is-on .lang-code { color: #0066ff; }
.lang-opt.is-on .lang-check { opacity: 1; }
.top.is-solid .lang-btn { border-color: #e2e8f0; background: #fff; color: #334155; }
.top.is-solid .lang-btn:hover { border-color: #cbd5e1; color: #0f172a; }
@media (max-width: 900px) { .lang-btn { height: 34px; padding: 0 8px; } .top-nav { gap: 10px; } }
/* o botão de demonstração do topo sai de cena onde a página já mostra o dela (herói e formulário) */
.top .top-nav > .btn-brand { transition: opacity .25s, transform .25s, visibility .25s; }
.top.hide-cta .top-nav > .btn-brand { opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none; }
.lang-flag { display: inline-flex; width: 20px; height: 14px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(15,23,42,.12); flex: none; }
.lang-flag svg { width: 100%; height: 100%; display: block; }
[data-lang-current] { display: inline-flex; align-items: center; gap: 7px; }
.lang-menu { min-width: 220px; }
.lang-opt { height: 44px; gap: 12px; }
.lang-name { display: flex; flex-direction: column; gap: 2px; }
.lang-name small { font-size: 11.5px; font-weight: 500; color: #64748b; }
.lang-opt.is-on .lang-name small { color: #64748b; }
/* a bandeira nítida e inteira (sem película do botão por cima): proporção real e um contorno fino */
.lang-flag { width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.35); }
.lang-flag svg { width: 100%; height: 100%; display: block; }
.lang-flag svg[viewBox="0 0 19 10"] { height: 100%; width: 100%; }
.top.is-solid .lang-flag, .lang-menu .lang-flag { box-shadow: 0 0 0 1px rgba(15,23,42,.14); }
.lang-btn { background: rgba(15,23,42,.28); }
.lang-btn [data-lang-current] { color: #fff; }
.top.is-solid .lang-btn [data-lang-current] { color: #334155; }
/* cena 1: o texto se centra no espaço ACIMA do cartão das leituras (que fica embaixo, à esquerda), com folga;
   em inglês/espanhol o texto é mais longo e não pode encostar no cartão (10/10) */
@media (min-width: 901px) {
  .film.has-live .copy-zone { top: 84px; bottom: calc(28px + var(--live-h, 250px) + 36px); }
  .film .copy .h2 { font-size: clamp(34px, min(4.2vw, 6.4vh), 64px); }
}
/* a bandeira não herda o traço dos ícones do botão (o contorno branco apagava as cores) */
.lang-flag svg, .lang-flag svg * { stroke: none !important; }
.lang-flag { box-shadow: 0 0 0 1px rgba(15,23,42,.18); }
/* o texto da cena 1 começa abaixo do relógio */
@media (min-width: 901px) {
  .film.has-live .copy-zone { top: 196px; bottom: calc(28px + var(--live-h, 250px) + 28px); }
}
@media (min-width: 901px) and (max-height: 860px) {
  .film .copy .h2 { font-size: clamp(30px, 5.6vh, 52px); }
  .film .copy .lead { font-size: 16px; line-height: 1.55; }
}
@media (min-width: 901px) and (max-height: 860px) { .live canvas { height: 84px; } }
/* o botão do topo não deixa buraco: escondido, ele encolhe a zero e a bandeira e o "Área do Cliente" encostam
   na direita; quando o botão da abertura sai, ele cresce e empurra os dois, de forma suave (10/10) */
.top .top-nav > .btn-brand { max-width: 320px; white-space: nowrap; overflow: hidden;
  transition: max-width .55s cubic-bezier(.22,1,.36,1), padding .55s cubic-bezier(.22,1,.36,1), margin .55s cubic-bezier(.22,1,.36,1), opacity .35s ease .12s, transform .45s cubic-bezier(.22,1,.36,1) .08s, box-shadow .2s, background .2s; }
.top.hide-cta .top-nav > .btn-brand { max-width: 0; padding-left: 0; padding-right: 0; margin-left: -22px; opacity: 0; visibility: visible; transform: translateX(10px); box-shadow: none;
  transition: max-width .45s cubic-bezier(.22,1,.36,1) .05s, padding .45s cubic-bezier(.22,1,.36,1) .05s, margin .45s cubic-bezier(.22,1,.36,1) .05s, opacity .2s ease, transform .3s ease; }
@media (max-width: 900px) { .top.hide-cta .top-nav > .btn-brand { margin-left: -10px; } }

/* ---------- passos das cenas presas à rolagem (fábrica, NOAH, como começa): empilhados em GRADE, não em
   posição absoluta numa caixa de altura fixa. A caixa passa a ter a altura do passo mais alto NO IDIOMA ATUAL,
   então os traços de etapa ficam sempre abaixo do texto, em qualquer língua e tamanho de tela (10/10) ---------- */
@media (min-width: 901px) {
  .f-steps, .nm-steps, .sc-steps { display: grid; min-height: 0 !important; }
  .f-step, .nm-step, .sc-step { position: relative !important; inset: auto !important; grid-area: 1 / 1; }
  .f-dots, .nm-dots, .sc-dots, [data-f-dots], [data-nm-dots], [data-sc-dots] { margin-top: 28px; }
}
.lang-opt { height: 38px; } .lang-menu { min-width: 172px; }
/* no primeiro quadro o topo já nasce no estado certo, sem animar (o botão não aparece e some na abertura) */
.top.no-anim, .top.no-anim * { transition: none !important; }
