/* ==========================================================================
   JurisOrdem — site (jurisordem.com)
   --------------------------------------------------------------------------
   Visual geral = o site atual (fundo escuro com linhas finas, Poppins, azul
   #2f5fe0 → #6fa8ff, menu de vidro em pílula). A identidade do SISTEMA
   (navy #1f3762, sobretítulo, número grande, frase com ponto, grade de 22px)
   aparece só onde o assunto é o app: telas, janelas e aparelhos.

   A cor do fundo, dos textos, dos cartões e do menu vem dos tokens abaixo,
   que o js/site.js mistura aos poucos conforme a rolagem (cada seção diz o
   seu tema em data-tema). Sem JS, tudo fica no tema "noite".
   ========================================================================== */

@font-face {
  font-family: "Halyard Display";
  src: url("../fonts/HalyardDisplay-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;

  /* tokens que mudam com a rolagem (valores do tema "noite") */
  --bg: #05070d;
  --fg: #ffffff;
  --suave: #9aa3b5;
  --cartao: #0c111c;
  --cartao-fg: #ffffff;
  --linha: rgba(255, 255, 255, 0.09);
  --gl: rgba(255, 255, 255, 0.035);
  --gm: rgba(213, 222, 242, 0.05);
  --marca: 0;
  --escuro: 1;
  --nav: rgba(13, 17, 27, 0.62);
  --nav-linha: rgba(255, 255, 255, 0.12);
  --realce: #6fa8ff;

  /* fixos */
  --azul: #2f5fe0;
  --azul-2: #6fa8ff;
  --azul-fundo: #1c3fae;
  --navy: #1f3762;
  --navy-2: #284779;
  --navy-claro: #d5def2;
  --navy-medio: #a9bce6;
  --perigo: #d64545;
  --perigo-escuro: #ff7a70;
  --ok: #4ade80;
  --tinta: #0b1220;
  --cinza-id: #5b6475;
  --cinza-id-2: #7a8396;

  --f-site: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-app: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --f-hal: "Halyard Display", "Inter", -apple-system, sans-serif;

  --gutter: clamp(16px, 4vw, 40px);
  --larg: 1200px;
  --mola: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-site);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, h4, ul, ol, blockquote, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--azul-2); outline-offset: 3px; border-radius: 6px; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.pular { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: #fff; color: var(--tinta); text-decoration: none; font-weight: 500; }
.pular:focus { top: 16px; }

.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- fundo único ---------- */
.palco { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.palco > div { position: absolute; inset: 0; }
.palco__linhas {
  background-image: linear-gradient(90deg, var(--gl) 0 1px, transparent 1px);
  background-size: 110px 100%;
  background-position: center top;
  opacity: calc(1 - var(--marca));
}
.palco__marca {
  background-image: linear-gradient(var(--gm) 1px, transparent 1px), linear-gradient(90deg, var(--gm) 1px, transparent 1px);
  background-size: 22px 22px;
  background-position: center top;
  opacity: var(--marca);
}
.palco__luz {
  background:
    radial-gradient(ellipse 50% 70% at 105% 60%, rgba(31, 55, 98, 0.34) 0%, transparent 70%),
    radial-gradient(ellipse 40% 70% at -5% 30%, rgba(36, 42, 68, 0.38) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(61, 90, 153, 0.12) 0%, transparent 70%);
  opacity: var(--escuro);
}

main, .rodape { position: relative; z-index: 1; }

/* ---------- tipografia do site ---------- */
.secao { position: relative; padding-block: clamp(96px, 12vw, 168px); padding-inline: var(--gutter); }
.secao > * { max-width: var(--larg); margin-inline: auto; }

.sobre {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--suave);
  line-height: 1.3;
}
.titulo {
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
  color: var(--fg);
}
.titulo--m { font-size: clamp(28px, 3.2vw, 40px); }
.lead { font-size: clamp(16px, 1.35vw, 18px); font-weight: 300; line-height: 1.65; color: var(--suave); max-width: 62ch; text-wrap: pretty; }
.destaque {
  background: linear-gradient(135deg, var(--azul) 0%, var(--azul-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 600;
}
.destaque--claro { background-image: linear-gradient(135deg, #a9bce6 0%, #ffffff 90%); }
.destaque .palavra { background: inherit; -webkit-background-clip: text; background-clip: text; color: transparent; }
.navy { color: var(--navy); }
.perigo { color: var(--perigo); }

.cab { display: grid; gap: 18px; margin-bottom: clamp(48px, 6vw, 80px); }
.cab--centro { text-align: center; justify-items: center; }
.cab--centro .lead { margin-inline: auto; }
.cab--lado { margin-bottom: 0; align-content: center; }

/* ---------- botões ---------- */
.botao {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 28px;
  border-radius: 12px;
  font-family: var(--f-site);
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: 0;
  isolation: isolate;
  overflow: hidden;
  transition: transform 0.25s var(--mola), box-shadow 0.25s, background-color 0.25s, color 0.25s;
}
.botao:active { transform: scale(0.97); }
.botao .ic { width: 16px; height: 16px; transition: transform 0.3s var(--mola); }
.botao:hover .ic { transform: translateX(3px); }
.botao--p { height: 40px; padding: 0 18px; font-size: 14px; border-radius: 999px; }

.botao--brilho {
  color: #fff;
  background: linear-gradient(180deg, #4b7bf0 0%, var(--azul) 55%, #2551cc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.12), 0 0 0 1px rgba(111, 168, 255, 0.4), 0 12px 32px -10px rgba(47, 95, 224, 0.75);
}
.botao--brilho::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, 0.28) 48%, transparent 66%);
  transform: translateX(-120%);
  transition: transform 0.8s var(--mola);
}
.botao--brilho:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(111, 168, 255, 0.55), 0 18px 40px -12px rgba(47, 95, 224, 0.9); }
.botao--brilho:hover::after { transform: translateX(120%); }

.botao--vidro {
  color: var(--fg);
  background: color-mix(in srgb, var(--fg) 6%, transparent);
  box-shadow: inset 0 0 0 1px var(--linha);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.botao--vidro:hover { background: color-mix(in srgb, var(--fg) 11%, transparent); }

.botao--contorno { color: var(--fg); background: transparent; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--fg) 26%, transparent); }
.botao--contorno:hover { background: color-mix(in srgb, var(--fg) 8%, transparent); }

.botao--navy { color: #fff; background: linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 10px 24px -12px rgba(31, 55, 98, 0.8); width: 100%; }
.botao--navy:hover { transform: translateY(-1px); }
.botao--branco { color: var(--navy); background: #fff; width: 100%; font-weight: 500; }
.botao--branco:hover { transform: translateY(-1px); }

/* ---------- menu ---------- */
.nav {
  position: fixed;
  top: calc(14px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  z-index: 50;
  padding-inline: var(--gutter);
  pointer-events: none;
}
.nav__pilula {
  pointer-events: auto;
  max-width: 1320px;
  margin-inline: auto;
  height: 64px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 12px 0 26px;
  border-radius: 999px;
  background: var(--nav);
  box-shadow: inset 0 0 0 1px var(--nav-linha), 0 10px 40px -18px rgba(0, 0, 0, calc(0.25 + var(--escuro) * 0.3));
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  transition: height 0.4s var(--mola), max-width 0.5s var(--mola);
}
.nav--rolou .nav__pilula { height: 58px; max-width: 1180px; }
.nav__marca { position: relative; display: block; width: 150px; height: 29px; }
.nav__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; }
.nav__logo--branca { opacity: var(--escuro); }
.nav__logo--colorida { opacity: calc(1 - var(--escuro)); }
.nav__links { display: flex; justify-content: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__links a, .nav__entrar {
  font-size: 15px;
  text-decoration: none;
  color: color-mix(in srgb, var(--fg) 72%, transparent);
  transition: color 0.2s;
}
.nav__links a:hover, .nav__entrar:hover, .nav__links a.ativo { color: var(--fg); }
.nav__acoes { display: flex; align-items: center; gap: 18px; }
.nav__abrir { display: none; width: 40px; height: 40px; border: 0; border-radius: 999px; background: color-mix(in srgb, var(--fg) 8%, transparent); cursor: pointer; place-items: center; }
.nav__abrir .ic { width: 20px; height: 20px; }
.nav__gaveta {
  pointer-events: auto;
  max-width: 1320px;
  margin: 10px auto 0;
  padding: 10px;
  border-radius: 24px;
  display: grid;
  background: var(--nav);
  box-shadow: inset 0 0 0 1px var(--nav-linha);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  animation: gaveta 0.35s var(--mola);
}
.nav__gaveta a { padding: 14px 16px; border-radius: 14px; text-decoration: none; font-size: 17px; }
.nav__gaveta a:hover { background: color-mix(in srgb, var(--fg) 7%, transparent); }
@keyframes gaveta { from { opacity: 0; transform: translateY(-8px) scale(0.98); } }

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__abrir { display: grid; }
  .nav__pilula { grid-template-columns: 1fr auto; padding-left: 20px; }
}
@media (max-width: 560px) {
  .nav__entrar { display: none; }
  .nav__marca { width: 128px; }
  .nav__acoes { gap: 8px; }
  .nav__acoes .botao--p { padding: 0 14px; }
}

/* ---------- herói ---------- */
.heroi { padding-top: clamp(130px, 16vw, 176px); padding-bottom: 0; }
.heroi__texto { display: grid; justify-items: center; text-align: center; gap: 24px; max-width: 980px; }
.selo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--fg);
  background: color-mix(in srgb, var(--fg) 5%, transparent);
  box-shadow: inset 0 0 0 1px var(--linha);
}
.selo__ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.14); }
.heroi__titulo {
  font-weight: 400;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.heroi__sub { font-size: clamp(16px, 1.5vw, 19px); font-weight: 300; color: var(--suave); max-width: 56ch; }
.heroi__acoes { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 8px; }
.heroi__pontos { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px; font-size: 14px; color: var(--suave); }
.heroi__pontos li { display: inline-flex; align-items: center; gap: 8px; }
.heroi__pontos li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--azul-2); }

/* palavras do título entrando (o JS embrulha cada palavra) */
.palavra { display: inline-block; }
.js .heroi__titulo .palavra { animation: palavra 0.9s var(--mola) both; animation-delay: calc(var(--i) * 45ms + 120ms); }
.js .heroi__texto > :not(h1) { animation: subir 0.9s var(--mola) both; animation-delay: 0.55s; }
.js .heroi__texto > .selo { animation-delay: 0.05s; }
@keyframes palavra { from { opacity: 0; transform: translateY(0.45em); filter: blur(8px); } }
@keyframes subir { from { opacity: 0; transform: translateY(14px); } }

/* vitrine: Mac + iPhone + relógio */
.vitrine {
  position: relative;
  max-width: 1180px;
  margin-top: clamp(56px, 7vw, 88px);
  aspect-ratio: 1180 / 660;
  perspective: 1800px;
}
.vitrine__halo {
  position: absolute;
  inset: 8% 10% 0;
  background: radial-gradient(ellipse at 50% 55%, rgba(47, 95, 224, 0.38), transparent 62%);
  filter: blur(40px);
  opacity: var(--escuro);
}
.vitrine .vitrine__mac { position: absolute; left: 13%; width: 74%; top: 0; }
.vitrine__mac .macbook__tampa { transform: perspective(1800px) rotateX(var(--tampa, 0deg)); }
.vitrine .vitrine__iphone { position: absolute; right: 3.5%; bottom: -4%; width: 18.5%; transform: translateY(var(--sobe-iphone, 0px)) rotate(2deg); }
.vitrine .vitrine__relogio { position: absolute; left: 4%; bottom: 2%; width: 12.5%; --rw: 100%; transform: translateY(var(--sobe-relogio, 0px)) rotate(-4deg); }
.js .vitrine { animation: vitrine 1.4s var(--mola) both 0.45s; }
@keyframes vitrine { from { opacity: 0; transform: translateY(40px); } }

/* faixa que corre */
.faixa {
  max-width: none;
  margin-top: clamp(72px, 9vw, 120px);
  margin-inline: calc(var(--gutter) * -1);
  border-block: 1px solid var(--linha);
  padding-block: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.faixa__trilho { display: flex; width: max-content; animation: faixa 48s linear infinite; }
.faixa:hover .faixa__trilho { animation-play-state: paused; }
.faixa__lista { display: flex; }
.faixa__lista li { display: flex; align-items: center; gap: 48px; padding-right: 48px; font-size: 17px; font-weight: 500; color: color-mix(in srgb, var(--fg) 62%, transparent); white-space: nowrap; }
.faixa__lista li::after { content: ""; width: 6px; height: 6px; border-radius: 2px; transform: rotate(45deg); background: color-mix(in srgb, var(--azul-2) 70%, transparent); }
@keyframes faixa { to { transform: translateX(-50%); } }

/* ==========================================================================
   APARELHOS
   ========================================================================== */

/* telas desenhadas no tamanho real (pt) e reduzidas pelo JS (--k) */
.tela { position: relative; overflow: hidden; background: #000; width: 100%; isolation: isolate; }
.tela__in { position: absolute; left: 0; top: 0; transform-origin: 0 0; scale: var(--k, 0.62); }
.tela--iphone { aspect-ratio: 440 / 956; border-radius: 14.1% / 6.5%; }
.tela--iphone .tela__in { width: 440px; height: 956px; }
.tela--relogio { aspect-ratio: 208 / 248; border-radius: 22% / 18.4%; }
.tela--relogio .tela__in { width: 208px; height: 248px; }
.tela--android { aspect-ratio: 412 / 892; border-radius: 4.8% / 2.2%; }
.tela--android .tela__in { width: 412px; height: 892px; }

/* iPhone 17 Pro Max — 440 × 956 pt, moldura de alumínio */
.iphone { position: relative; aspect-ratio: 478 / 994; padding: 1.05%; border-radius: 16.9% / 8.15%; }
.iphone--azul {
  background: linear-gradient(90deg, #17223a 0%, #3c5178 6%, #22314f 16%, #1b2842 50%, #22314f 84%, #3c5178 94%, #17223a 100%);
  box-shadow: inset 0 0 0 1px rgba(160, 185, 230, 0.35), inset 0 1.5px 3px rgba(255, 255, 255, 0.2), 0 50px 80px -30px rgba(0, 0, 0, 0.7), 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}
.iphone--prata {
  background: linear-gradient(90deg, #b8bcc4 0%, #f4f5f7 6%, #d3d6dc 16%, #e4e6ea 50%, #d3d6dc 84%, #f4f5f7 94%, #b8bcc4 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), inset 0 -1px 2px rgba(0, 0, 0, 0.15), 0 50px 80px -34px rgba(15, 23, 42, 0.45), 0 20px 40px -20px rgba(15, 23, 42, 0.25);
}
.iphone__vidro { position: relative; height: 100%; padding: 2.99%; border-radius: 16.24% / 7.72%; background: #050505; box-shadow: inset 0 0 0 1px #1b1b1b; }
.iphone__ilha { position: absolute; top: 2.55%; left: 50%; width: 26.9%; height: 3.76%; transform: translateX(-50%); border-radius: 999px; background: #000; z-index: 3; }
.iphone__lado { position: absolute; width: 0.75%; border-radius: 2px; }
.iphone--azul .iphone__lado { background: linear-gradient(90deg, #2a3a5a, #4a6290); }
.iphone--prata .iphone__lado { background: linear-gradient(90deg, #c3c7ce, #f2f3f5); }
.iphone__lado--acao { left: -0.6%; top: 17.5%; height: 3.2%; }
.iphone__lado--vol1 { left: -0.6%; top: 24.5%; height: 6.2%; }
.iphone__lado--vol2 { left: -0.6%; top: 32%; height: 6.2%; }
.iphone__lado--power { right: -0.6%; top: 27%; height: 10%; }
.iphone__lado--camera { right: -0.3%; top: 52%; height: 6%; width: 0.5%; background: #0d121c !important; }

/* MacBook Air 13" */
.macbook { position: relative; width: 100%; }
.macbook__tampa {
  position: relative;
  width: 88%;
  margin-inline: auto;
  padding: 1.7% 1.7% 2.1%;
  border-radius: 3.4% 3.4% 0.8% 0.8% / 5% 5% 1.2% 1.2%;
  background: #08090b;
  transform-origin: 50% 100%;
  will-change: transform;
}
.macbook--meia-noite .macbook__tampa { box-shadow: inset 0 0 0 1.5px #3b4252, inset 0 0 0 3px #0c0d10, 0 -1px 0 rgba(255, 255, 255, 0.06); }
.macbook--prata .macbook__tampa { box-shadow: inset 0 0 0 1.5px #c9ccd3, inset 0 0 0 3px #0c0d10; }
.macbook__tela { position: relative; aspect-ratio: 1470 / 956; overflow: hidden; border-radius: 0.7% / 1.05%; background: #0a0d14; }
.macbook__tela img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.macbook__notch { position: absolute; top: 1.7%; left: 50%; width: 11%; aspect-ratio: 200 / 30; transform: translate(-50%, 0); background: #08090b; border-radius: 0 0 9% 9% / 0 0 40% 40%; margin-top: -0.2%; }
.macbook__base { position: relative; width: 100%; aspect-ratio: 100 / 3; margin-top: -0.15%; border-radius: 0.6% 0.6% 6% 6% / 12% 12% 100% 100%; }
.macbook--meia-noite .macbook__base { background: linear-gradient(180deg, #6a7385 0%, #3b4250 18%, #262b35 60%, #171a20 100%); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7); }
.macbook--prata .macbook__base { background: linear-gradient(180deg, #f6f7f9 0%, #d9dce2 22%, #c0c5cd 65%, #9ba1ab 100%); box-shadow: 0 30px 60px -22px rgba(15, 23, 42, 0.4); }
.macbook__sulco { position: absolute; top: 0; left: 50%; width: 13%; height: 42%; transform: translateX(-50%); border-radius: 0 0 14px 14px / 0 0 100% 100%; }
.macbook--meia-noite .macbook__sulco { background: linear-gradient(180deg, #1a1e25, #3a414e); }
.macbook--prata .macbook__sulco { background: linear-gradient(180deg, #a9afb8, #d6d9df); }

/* iPad (A16), deitado — 1180 × 820 pt */
.ipad { position: relative; width: 100%; padding: 0.4%; border-radius: 4.2% / 5.9%; background: linear-gradient(145deg, #e9ebee, #b7bcc4 45%, #dfe2e6 70%, #a9aeb7); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8), 0 40px 70px -30px rgba(15, 23, 42, 0.45); }
.ipad__vidro { position: relative; padding: 2.4%; border-radius: 3.9% / 5.5%; background: #0a0a0b; }
.ipad__tela { aspect-ratio: 1180 / 820; overflow: hidden; border-radius: 1.5% / 2.2%; background: #f2f3f7; }
.ipad__tela img { width: 100%; height: 100%; object-fit: cover; }
.ipad__camera { position: absolute; top: 1.15%; left: 50%; width: 0.65%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 40%, #2a3a5a, #05070d 60%); }

/* Apple Watch Series 11, 46 mm — tela de 208 × 248 pt */
.relogio { --rw: 150px; position: relative; width: var(--rw); display: flex; flex-direction: column; align-items: center; }
.relogio__caixa { position: relative; z-index: 1; width: 100%; aspect-ratio: 238 / 278; padding: 2.1%; border-radius: 25.6% / 21.9%; background: linear-gradient(145deg, #545a64, #1e2126 42%, #0b0c0e 68%, #3d424b); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14), inset 0 2px 3px rgba(255, 255, 255, 0.12), 0 30px 50px -22px rgba(0, 0, 0, 0.65); }
.relogio__vidro { height: 100%; padding: 4.4%; border-radius: 24.6% / 20.9%; background: #000; }
.relogio__coroa { position: absolute; right: -3.4%; top: 21%; width: 4.6%; height: 15%; border-radius: 3px; background: repeating-linear-gradient(0deg, #747a84 0 1.5px, #3a3f47 1.5px 3px); box-shadow: inset -1px 0 1px rgba(0, 0, 0, 0.4); }
.relogio__botao { position: absolute; right: -1.6%; top: 47%; width: 2.4%; height: 21%; border-radius: 2px; background: linear-gradient(90deg, #1b1d21, #4a4f58); }
.relogio__pulseira { width: 78%; height: calc(var(--rw) * 0.36); background: linear-gradient(90deg, #121826, #232c40 50%, #121826); }
.relogio__pulseira--cima { margin-bottom: -6%; border-radius: 12% 12% 4% 4% / 30% 30% 6% 6%; -webkit-mask-image: linear-gradient(0deg, #000 55%, transparent); mask-image: linear-gradient(0deg, #000 55%, transparent); }
.relogio__pulseira--baixo { margin-top: -6%; border-radius: 4% 4% 12% 12% / 6% 6% 30% 30%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.relogio--p { --rw: clamp(120px, 13vw, 150px); }
.relogio--g { --rw: clamp(170px, 20vw, 230px); }
.relogio--m { --rw: clamp(140px, 15vw, 180px); }

/* Android — Galaxy da linha Ultra, 412 × 892 dp */
.android { position: relative; aspect-ratio: 436 / 916; padding: 0.95%; border-radius: 7.3% / 3.5%; background: linear-gradient(90deg, #4c5058 0%, #8a9099 5%, #5a5f68 14%, #464a52 50%, #5a5f68 86%, #8a9099 95%, #4c5058 100%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25), 0 50px 80px -34px rgba(15, 23, 42, 0.5); }
.android__vidro { position: relative; height: 100%; padding: 1.9%; border-radius: 6.5% / 3.1%; background: #030303; }
.android__camera { position: absolute; top: 2.4%; left: 50%; width: 5.2%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: radial-gradient(circle at 40% 40%, #2b3245 0 18%, #050505 45%); box-shadow: 0 0 0 1.5px #111; z-index: 3; }
.android__lado { position: absolute; right: -0.7%; width: 0.8%; border-radius: 2px; background: linear-gradient(90deg, #5d626b, #a2a8b1); }
.android__lado--vol { top: 21%; height: 11%; }
.android__lado--power { top: 35%; height: 6%; }

/* ==========================================================================
   TELAS NATIVAS (identidade do sistema)
   ========================================================================== */
.ios, .portal { font-family: var(--f-ios); color: var(--tinta); background: #f2f3f7; -webkit-font-smoothing: antialiased; }
.ios--grade { background-image: linear-gradient(rgba(31, 55, 98, 0.0525) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 55, 98, 0.0525) 1px, transparent 1px); background-size: 22px 22px; }
.ios::after, .bloq::after, .portal::after { content: ""; position: absolute; left: 50%; bottom: 8px; width: 146px; height: 5px; margin-left: -73px; border-radius: 3px; background: #0b1220; opacity: 0.85; z-index: 5; }
.bloq::after { background: #fff; }

.ios-status { height: 54px; display: flex; justify-content: space-between; align-items: center; padding: 6px 34px 0 52px; font: 600 17px/1 var(--f-ios); letter-spacing: -0.01em; position: relative; z-index: 4; }
.ios-status--claro { color: #fff; }
.ios-status__ic { display: inline-flex; align-items: center; gap: 6px; }
.sinal { display: block; width: 18px; height: 11px; background:
  linear-gradient(currentColor, currentColor) 0 100% / 3px 4px no-repeat,
  linear-gradient(currentColor, currentColor) 5px 100% / 3px 6px no-repeat,
  linear-gradient(currentColor, currentColor) 10px 100% / 3px 8.5px no-repeat,
  linear-gradient(currentColor, currentColor) 15px 100% / 3px 11px no-repeat; }
.wifi { display: block; width: 16px; height: 12px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M8 12 5.6 9.4a3.4 3.4 0 0 1 4.8 0zM3.5 7.2a6.4 6.4 0 0 1 9 0l1.5-1.6a8.6 8.6 0 0 0-12 0zM.4 4.1a10.8 10.8 0 0 1 15.2 0L16 3.7 14.6 2.2a12.9 12.9 0 0 0-13.2 0L0 3.7z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cpath d='M8 12 5.6 9.4a3.4 3.4 0 0 1 4.8 0zM3.5 7.2a6.4 6.4 0 0 1 9 0l1.5-1.6a8.6 8.6 0 0 0-12 0zM.4 4.1a10.8 10.8 0 0 1 15.2 0L16 3.7 14.6 2.2a12.9 12.9 0 0 0-13.2 0L0 3.7z'/%3E%3C/svg%3E") center / contain no-repeat; }
.bateria { display: block; position: relative; width: 26px; height: 12.5px; border-radius: 4px; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 45%, transparent); }
.bateria::before { content: ""; position: absolute; inset: 2px 5px 2px 2px; border-radius: 2px; background: currentColor; }
.bateria::after { content: ""; position: absolute; right: -3px; top: 4px; width: 1.5px; height: 4.5px; border-radius: 0 1px 1px 0; background: currentColor; opacity: 0.45; }

.ios-pag { padding: 6px 20px 130px; }
.ios-cab { display: flex; align-items: center; gap: 10px; }
.ios-app { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(90deg, #242a44, #1f3762); flex: none; }
.ios-app svg { width: 70%; height: 70%; fill: #fff; }
.ios-app--p { width: 38px; height: 38px; border-radius: 10px; }
.ios-app--pp { width: 22px; height: 22px; border-radius: 6px; }
.ios-app--chat { width: 38px; height: 38px; border-radius: 11px; }
.ios-cab__esc { font-size: 15px; font-weight: 600; color: var(--cinza-id); }
.ios-cab__sino { margin-left: auto; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08); }
.ios-cab__sino svg { width: 20px; height: 20px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.ios-titulo { margin: 16px 0 6px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1.1; }
.ios-titulo--m { font-size: 25px; margin-top: 6px; }
.ios-frase { font-size: 19px; font-weight: 500; line-height: 1.38; color: #3b4457; letter-spacing: -0.01em; }
.ios-frase b { color: var(--navy); font-weight: 800; }
.ios-frase b.perigo { color: var(--perigo); }
.ios-banner { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 0; padding: 16px 8px; border-radius: 24px; background: linear-gradient(135deg, #1f3762, #284779); color: #fff; box-shadow: 0 14px 30px -18px rgba(31, 55, 98, 0.9); }
.ios-banner > div { display: grid; justify-items: center; text-align: center; padding: 6px 4px; }
.hal { font-family: var(--f-hal); font-weight: 400; font-size: 46px; line-height: 1; }
.ios-banner__r { font-size: 13.5px; margin-top: 4px; font-family: var(--f-hal); }
.ios-banner em { margin-top: 8px; font-style: normal; font-size: 12px; font-weight: 600; color: var(--navy); background: #fff; border-radius: 999px; padding: 3px 11px; }
.ios-banner em.perigo { background: #e5484d; color: #fff; }
.ios .sobre, .and .sobre, .portal .sobre { font-family: var(--f-ios); font-size: 12px; font-weight: 700; letter-spacing: 0.14em; color: var(--cinza-id-2); }
.ios-secao { display: flex; justify-content: space-between; align-items: baseline; margin: 24px 0 10px; }
.ios-link { font-size: 14px; font-weight: 600; color: var(--navy); }
.ios-lista li { display: grid; grid-template-columns: 24px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; margin-bottom: 8px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.ios-lista b { display: block; font-size: 16px; font-weight: 600; line-height: 1.25; }
.ios-lista small { display: block; font-size: 13px; color: #6b7385; margin-top: 2px; }
.ios-lista .tipo { font-size: 13px; color: #6b7385; font-weight: 500; text-align: right; }
.ios-lista .perigo, .ios-lista b.perigo { color: var(--perigo); }
.bola { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px #c3cad6; display: block; position: relative; }
.bola--feita { background: var(--navy); box-shadow: none; }
.bola--feita::after { content: ""; position: absolute; left: 7.5px; top: 4.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ios-lista--feitos li { opacity: 0.5; }
.ios-lista--feitos b { text-decoration: line-through; }

.ios-abas { position: absolute; left: 16px; right: 16px; bottom: 26px; height: 68px; border-radius: 34px; display: flex; justify-content: space-around; align-items: center; padding: 0 6px; background: rgba(255, 255, 255, 0.74); backdrop-filter: blur(20px) saturate(1.6); -webkit-backdrop-filter: blur(20px) saturate(1.6); box-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.22), inset 0 0 0 0.5px rgba(255, 255, 255, 0.9), inset 0 0 0 1px rgba(15, 23, 42, 0.05); z-index: 4; }
.ios-abas span { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 10px; border-radius: 24px; font-size: 10.5px; font-weight: 600; color: #6b7385; }
.ios-abas svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ios-abas .ativa { color: var(--navy); background: rgba(31, 55, 98, 0.1); }
.ios-abas .badge { position: absolute; top: 0; right: 4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: #ff3b30; color: #fff; font: 600 11px/18px var(--f-ios); text-align: center; font-style: normal; }

.ios-voltar { font-size: 17px; color: var(--navy); font-weight: 500; margin: 6px 0 18px; }
.ios-cinza { font-size: 14px; color: #6b7385; margin-top: 4px; }
.ios-cinza--b { font-weight: 600; }
.ios-citacao { margin: 16px 0; padding: 14px 16px; border-radius: 16px; background: #fff; font-size: 15px; line-height: 1.5; color: #3b4457; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.ios-resumo { padding: 14px 16px 16px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px rgba(31, 55, 98, 0.16); }
.ios-resumo .sobre { display: flex; align-items: center; gap: 6px; }
.ios-resumo svg { width: 14px; height: 14px; fill: none; stroke: var(--navy); stroke-width: 1.8; }
.ios-resumo__texto { margin-top: 6px; font-size: 19px; font-weight: 800; color: var(--navy); line-height: 1.3; letter-spacing: -0.015em; }
.ios-botoes { display: flex; gap: 10px; margin-top: 16px; }
.ios-botao { flex: 1; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--navy); font-size: 16px; font-weight: 600; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.14); }
.ios-botao--navy { color: #fff; background: linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: none; }
.ios-aviso { position: absolute; left: 20px; right: 20px; bottom: 44px; padding: 14px 18px; border-radius: 18px; display: grid; gap: 2px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 16px 40px -12px rgba(31, 55, 98, 0.45), inset 0 0 0 1px rgba(31, 55, 98, 0.08); opacity: 0; transform: translateY(16px); z-index: 4; }
.ios-aviso b { color: var(--navy); font-size: 16px; }
.ios-aviso span { color: #6b7385; font-size: 14px; }
.ios-cartao { margin-top: 18px; padding: 18px; border-radius: 20px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.ios-heroi { margin-top: 6px; font-size: 40px; font-weight: 800; color: var(--navy); letter-spacing: -0.035em; line-height: 1.05; }
.ios-barras { display: flex; align-items: flex-end; gap: 8px; height: 64px; margin-top: 16px; }
.ios-barras i { flex: 1; height: calc(var(--h) * 100%); border-radius: 6px; background: rgba(31, 55, 98, 0.16); transform-origin: bottom; }
.ios-barras i.hoje { background: var(--navy); }
.ios-sobre-lista { margin: 22px 0 10px; }
.ios-prazo { padding: 14px 16px; margin-bottom: 8px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.ios-prazo .sobre { font-size: 11px; }
.ios-prazo b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.ios-prazo small { display: block; font-size: 13px; color: #6b7385; }
.ios-prazo .aviso { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--cinza-id); }
.ios-prazo .aviso.perigo { color: var(--perigo); }

/* tela bloqueada */
.bloq { color: #fff; font-family: var(--f-ios); background:
  radial-gradient(90% 60% at 15% 12%, rgba(111, 168, 255, 0.55) 0%, transparent 60%),
  radial-gradient(80% 55% at 95% 40%, rgba(47, 95, 224, 0.6) 0%, transparent 60%),
  radial-gradient(100% 60% at 30% 100%, rgba(31, 55, 98, 0.95) 0%, transparent 70%),
  linear-gradient(180deg, #13244a 0%, #0a1430 100%); }
.bloq--tarde { background:
  radial-gradient(90% 60% at 80% 10%, rgba(111, 168, 255, 0.5) 0%, transparent 60%),
  radial-gradient(80% 55% at 0% 50%, rgba(47, 95, 224, 0.55) 0%, transparent 60%),
  linear-gradient(180deg, #172b56 0%, #0b1631 100%); }
.bloq__data { margin-top: 46px; text-align: center; font-size: 21px; font-weight: 600; color: rgba(255, 255, 255, 0.88); }
.bloq__hora { text-align: center; font-size: 112px; font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: rgba(255, 255, 255, 0.94); margin-top: 2px; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15); }
.bloq__widgets { display: flex; justify-content: center; gap: 12px; margin-top: 16px; }
.bloq__anel, .bloq__ret { height: 70px; border-radius: 22px; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.4); }
.bloq__anel { position: relative; width: 70px; border-radius: 50%; display: grid; place-content: center; text-align: center; line-height: 1; }
.bloq__anel svg { position: absolute; inset: 7px; transform: rotate(-90deg); }
.bloq__anel .fundo, .w-anel .fundo { fill: none; stroke: rgba(255, 255, 255, 0.22); stroke-width: 3.2; }
.bloq__anel .arco, .w-anel .arco { fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-dasharray: 94.25; stroke-dashoffset: calc(94.25 * (1 - var(--p))); }
.bloq__anel b { font-size: 22px; font-weight: 700; }
.bloq__anel small { font-size: 9px; font-weight: 600; opacity: 0.85; }
.bloq__ret { width: 178px; padding: 10px 14px; display: grid; align-content: center; gap: 1px; }
.bloq__ret small { font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; opacity: 0.8; }
.bloq__ret b { font-size: 16px; }
.bloq__ret span { font-size: 12.5px; opacity: 0.85; }
.bloq__notifs { position: absolute; left: 12px; right: 12px; bottom: 126px; }
.notif { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; padding: 13px 15px; border-radius: 24px; background: rgba(246, 247, 250, 0.82); backdrop-filter: blur(22px) saturate(1.6); -webkit-backdrop-filter: blur(22px) saturate(1.6); color: var(--tinta); font-family: var(--f-ios); box-shadow: 0 12px 40px -16px rgba(0, 0, 0, 0.45); }
.notif__topo { display: flex; justify-content: space-between; font-size: 14px; }
.notif__topo span { color: #6b7385; }
.notif__titulo { font-size: 15.5px; font-weight: 600; line-height: 1.3; margin-top: 1px; }
.notif__texto { font-size: 15px; line-height: 1.32; color: #3b4457; }
.bloq__rodape { position: absolute; left: 44px; right: 44px; bottom: 44px; display: flex; justify-content: space-between; }
.bloq__rodape i { width: 50px; height: 50px; border-radius: 50%; background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }

/* Atividade ao Vivo */
.vivo { font-family: var(--f-ios); color: var(--tinta); padding: 16px 18px 15px; border-radius: 26px; background: rgba(250, 251, 253, 0.9); backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); box-shadow: 0 14px 40px -18px rgba(0, 0, 0, 0.45); }
.bloq .vivo { position: absolute; left: 12px; right: 12px; bottom: 122px; }
.vivo__topo { display: flex; align-items: center; gap: 8px; }
.vivo__topo b { font-size: 14px; }
.vivo__conta { margin-left: auto; font-size: 13px; font-weight: 600; color: #6b7385; font-variant-numeric: tabular-nums; }
.vivo__linha { margin-top: 10px; font-size: 22px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.15; }
.vivo__frase { margin-top: 2px; font-size: 14px; font-weight: 600; color: #6b7385; }
.vivo__segmentos { display: flex; gap: 4px; margin-top: 12px; }
.vivo__segmentos i { position: relative; flex: 1; height: 6px; border-radius: 3px; background: rgba(31, 55, 98, 0.14); overflow: hidden; transition: background-color 0.4s; }
.vivo__segmentos i.feito { background: var(--navy); }
.vivo__segmentos i.agora::after { content: ""; position: absolute; inset: 0; background: var(--navy); transform-origin: left; transform: scaleX(0.55); }
.vivo__rodape { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: #6b7385; }
.vivo__rodape b { color: var(--navy); }
.vivo__pilula { flex: none; padding: 6px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-weight: 600; }

/* relógio */
.w { font-family: var(--f-ios); color: #fff; background: #000; padding: 12px 14px 0; }
.w-topo { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; padding: 0 6px 0 22px; }
.w-app { color: var(--navy-medio); }
.w-sobre { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8e94a0; }
.w-heroi { font-size: 31px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: var(--navy-claro); }
.w-frase { margin: 2px 0 8px; font-size: 12px; font-weight: 600; color: #8e94a0; }
.w-linha { display: grid; grid-template-columns: 17px 1fr; gap: 8px; align-items: center; padding: 8px 10px; margin-bottom: 5px; border-radius: 15px; background: #1c2029; transition: opacity 0.4s; }
.w-linha i { width: 17px; height: 17px; border-radius: 50%; box-shadow: inset 0 0 0 2px #5a6170; display: block; position: relative; }
.w-linha b { display: block; font-size: 13.5px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-linha small { display: block; font-size: 11px; color: #8e94a0; }
.w .perigo { color: var(--perigo-escuro); }
.w-linha--feita { opacity: 0.45; }
.w-linha--feita i { background: var(--navy-claro); box-shadow: none; }
.w-linha--feita b { text-decoration: line-through; }
.w-cartao { margin-top: 8px; padding: 10px 12px; border-radius: 17px; background: #24272e; display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: baseline; }
.w-cartao b { font-size: 28px; font-weight: 800; color: var(--navy-claro); line-height: 1; grid-row: span 2; }
.w-cartao span { font-size: 13.5px; font-weight: 600; color: #d0d4dc; }
.w-cartao small { font-size: 11px; font-weight: 600; }
.w-cartao--navy { background: linear-gradient(180deg, #284779, #1f3762); }
.w-cartoes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.w-cartoes .w-cartao { margin-top: 6px; grid-template-columns: 1fr; }
.w-cartoes .w-cartao b { font-size: 22px; grid-row: auto; }
.w-novo { margin-top: 8px; padding: 9px; border-radius: 999px; background: #1c2029; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--navy-medio); }
.w--mostrador { padding-top: 16px; text-align: left; }
.w-data { font-size: 15px; font-weight: 700; color: var(--perigo-escuro); padding-left: 8px; }
.w-horario { font-size: 68px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; padding-left: 6px; }
.w-complicacoes { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 0 4px; }
.w-anel { position: relative; width: 52px; height: 52px; flex: none; display: grid; place-items: center; }
.w-anel svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.w-anel .arco { stroke: var(--navy-medio); }
.w-anel b { font-size: 18px; font-weight: 700; color: var(--navy-claro); }
.w-comp-texto small { display: block; font-size: 10px; font-weight: 700; letter-spacing: 0.08em; color: var(--navy-medio); }
.w-comp-texto b { font-size: 13px; font-weight: 600; }

/* Android (Compose) */
.and { font-family: "Inter", var(--f-ios); color: var(--tinta); background: #f6f7fb; background-image: linear-gradient(rgba(31, 55, 98, 0.041) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 55, 98, 0.041) 1px, transparent 1px); background-size: 22px 22px; }
.and-status { height: 44px; display: flex; justify-content: space-between; align-items: center; padding: 8px 26px 0; font-size: 14px; font-weight: 500; }
.and-notif { margin: 6px 10px 0; padding: 14px 18px; border-radius: 26px; background: #e9ecf4; box-shadow: 0 8px 20px -14px rgba(15, 23, 42, 0.4); }
.and-notif__topo { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: #5b6475; }
.and-notif__titulo { margin-top: 6px; font-size: 16px; font-weight: 700; color: var(--tinta); }
.and-notif__barra { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.and-notif__barra i { flex: 1; height: 6px; border-radius: 3px; background: rgba(31, 55, 98, 0.15); }
.and-notif__barra i.feito { background: var(--navy); }
.and-notif__barra span { margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; }
.and-pag { padding: 18px 18px 120px; }
.and-titulo { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.and-frase { margin: 6px 0 18px; font-size: 17px; line-height: 1.4; color: #3b4457; font-weight: 500; }
.and-frase b { color: var(--navy); font-weight: 800; }
.and-frase b.perigo { color: var(--perigo); }
.and .sobre { display: block; margin-bottom: 10px; }
.and-item { display: grid; grid-template-columns: 22px 1fr auto; gap: 12px; align-items: center; padding: 14px 16px; margin-bottom: 8px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); }
.and-item b { display: block; font-size: 15.5px; font-weight: 600; }
.and-item small { display: block; font-size: 13px; color: #6b7385; }
.and-item > span { font-size: 13px; color: #6b7385; }
.and-item .perigo { color: var(--perigo); }
.and-abas { position: absolute; left: 0; right: 0; bottom: 0; height: 84px; padding-bottom: 14px; display: flex; justify-content: space-around; align-items: center; background: #eceff6; }
.and-abas span { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: #4b5366; }
.and-abas i { display: grid; place-items: center; width: 60px; height: 32px; border-radius: 16px; }
.and-abas svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.and-abas .ativa { color: var(--navy); }
.and-abas .ativa i { background: rgba(31, 55, 98, 0.13); }

/* portal do cliente (Safari) */
.portal { background: #fff; }
.portal__pag { padding: 12px 26px; }
.portal__esc { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; color: var(--navy); }
.portal__selo { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 13px; letter-spacing: 0.04em; }
.portal .sobre { display: block; margin-top: 30px; }
.portal__titulo { margin-top: 6px; font-size: 32px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); }
.portal__frase { font-size: 16px; font-weight: 600; color: #6b7385; }
.portal__linha { margin-top: 26px; display: grid; gap: 22px; }
.portal__linha li { position: relative; padding-left: 26px; }
.portal__linha li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--navy); }
.portal__linha li:not(:first-child)::before { background: #fff; box-shadow: inset 0 0 0 2px #c3cad6; }
.portal__linha li::after { content: ""; position: absolute; left: 5px; top: 22px; bottom: -18px; width: 1px; background: #dde1e8; }
.portal__linha li:last-child::after { display: none; }
.portal__linha time { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cinza-id-2); }
.portal__linha p { margin-top: 4px; font-size: 17px; line-height: 1.45; color: #3b4457; }
.safari { position: absolute; left: 14px; right: 14px; bottom: 30px; z-index: 4; }
.safari__barra { display: block; height: 50px; border-radius: 25px; text-align: center; font-size: 15px; line-height: 50px; color: #3b4457; background: rgba(242, 243, 247, 0.85); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 8px 24px -12px rgba(15, 23, 42, 0.35), inset 0 0 0 0.5px rgba(15, 23, 42, 0.08); }

/* ==========================================================================
   PEÇAS DA IDENTIDADE (web) usadas nas demonstrações
   ========================================================================== */
:is(.janela, .meudia, .macpop, .fin, .equipe, .quadro, .peticao, .doc, .email, .widget, .linha-prazo, .anotif) {
  font-family: var(--f-app);
  color: var(--tinta);
  letter-spacing: -0.005em;
}
:is(.janela, .meudia, .macpop, .fin, .equipe, .quadro, .peticao, .linha-prazo, .widget, .anotif) .sobre {
  font-family: var(--f-app);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cinza-id-2);
}
.heroi-id { font-family: var(--f-app); font-size: 34px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; color: var(--navy); margin-top: 6px; font-variant-numeric: tabular-nums; }
.frase-id { font-family: var(--f-app); font-size: 14px; font-weight: 600; color: var(--cinza-id); margin-top: 6px; }
.frase-id--p { font-size: 13px; font-weight: 500; }
.btn-id {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border-radius: 12px;
  border: 0;
  background: #fff;
  color: var(--navy);
  font-family: var(--f-app);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.15), 0 1px 2px rgba(15, 23, 42, 0.05);
  transition: transform 0.2s var(--mola), box-shadow 0.2s, opacity 0.2s, background-color 0.2s;
  white-space: nowrap;
}
.btn-id:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.3), 0 4px 12px -6px rgba(31, 55, 98, 0.35); }
.btn-id:active:not(:disabled) { transform: scale(0.97); }
.btn-id:disabled { opacity: 0.42; cursor: not-allowed; }
.btn-id .ic { width: 16px; height: 16px; }
.btn-id--navy { color: #fff; background: linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 8px 18px -10px rgba(31, 55, 98, 0.8); }
.btn-id--navy:hover:not(:disabled) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 22px -10px rgba(31, 55, 98, 0.95); }
.btn-id--p { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 10px; }
.btn-id.carregando { pointer-events: none; }
.btn-id .girador { width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: gira 0.8s linear infinite; }
@keyframes gira { to { transform: rotate(360deg); } }

/* janela do app (Publicações) */
.janela {
  max-width: 1080px;
  border-radius: 22px;
  background: #f5f6f9;
  background-image: linear-gradient(rgba(31, 55, 98, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 55, 98, 0.035) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 60px 120px -40px rgba(0, 0, 0, 0.8), 0 0 80px -30px rgba(47, 95, 224, 0.45);
  overflow: hidden;
}
.janela__barra { position: relative; height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: rgba(255, 255, 255, 0.75); border-bottom: 1px solid rgba(15, 23, 42, 0.06); }
.janela__barra i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; }
.janela__barra i:nth-child(2) { background: #febc2e; }
.janela__barra i:nth-child(3) { background: #28c840; }
.janela__barra span { position: absolute; left: 0; right: 0; text-align: center; font-size: 13px; font-weight: 600; color: var(--cinza-id); pointer-events: none; }
.pub { display: grid; grid-template-columns: minmax(250px, 330px) 1fr; gap: 18px; padding: 22px; }
.pub__lista { display: grid; align-content: start; gap: 8px; }
.pub__lista .frase-id { margin: 0 0 10px; }
.pub__lista .heroi-id { margin-top: 2px; }
.pub__item { text-align: left; display: grid; gap: 3px; padding: 13px 15px; border-radius: 14px; border: 0; background: #fff; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.08); transition: box-shadow 0.25s, transform 0.25s var(--mola); }
.pub__item:hover { transform: translateY(-1px); }
.pub__item b { font-size: 14.5px; font-weight: 600; color: var(--tinta); }
.pub__item small { font-size: 12.5px; color: var(--cinza-id); }
.pub__item .sobre { font-size: 10.5px; }
.pub__item.ativo { box-shadow: inset 0 0 0 1.5px var(--navy), 0 8px 20px -14px rgba(31, 55, 98, 0.7); }
.pub__item.lida b { font-weight: 500; }
.pub__detalhe { display: grid; align-content: start; gap: 4px; padding: 24px; border-radius: 18px; background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05); min-height: 420px; }
.pub__titulo { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1.2; margin-top: 4px; }
.pub__texto { margin: 14px 0 6px; padding: 14px 16px; border-radius: 14px; background: #f3f5f9; font-size: 15px; line-height: 1.55; color: #3b4457; }
.pub__resumo { margin-top: 10px; padding: 14px 16px; border-radius: 14px; background: rgba(31, 55, 98, 0.05); animation: aparecer 0.45s var(--mola); }
.pub__resumo .sobre { display: flex; align-items: center; gap: 6px; }
.pub__resumo .ic { width: 14px; height: 14px; stroke: var(--navy); }
.pub__resumo-texto { margin-top: 6px; font-size: 19px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.3; min-height: 1.3em; }
.pub__botoes { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.pub__form { margin-top: 12px; padding: 16px; border-radius: 14px; background: #f7f8fb; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.08); animation: aparecer 0.45s var(--mola); }
.campos { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.campo { display: grid; gap: 4px; }
.campo--largo { grid-column: 1 / -1; }
.campo > span { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cinza-id-2); }
.campo input, .campo p { height: 40px; padding: 0 12px; border-radius: 10px; border: 0; background: #fff; font: 600 14.5px var(--f-app); color: var(--navy); box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.1); display: flex; align-items: center; width: 100%; }
.campo input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--navy); }
.campo p { color: var(--cinza-id); font-weight: 500; }
.pub__feito { margin-top: 14px; display: grid; gap: 10px; justify-items: start; animation: aparecer 0.5s var(--mola); }
.linha-prazo { width: 100%; padding: 14px 16px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy), 0 12px 30px -18px rgba(31, 55, 98, 0.7); }
.linha-prazo b { display: block; margin-top: 4px; font-size: 16px; font-weight: 600; }
.linha-prazo small { display: block; font-size: 13px; color: var(--cinza-id); }
.linha-prazo__aviso { margin-top: 6px; font-size: 13px; font-weight: 700; color: var(--cinza-id); }
.cursor-ia::after { content: ""; display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -0.12em; background: var(--navy); animation: piscar 0.9s steps(1) infinite; }
@keyframes piscar { 50% { opacity: 0; } }
@keyframes aparecer { from { opacity: 0; transform: translateY(8px); } }

/* Meu Estagiário (tema escuro do sistema) */
.estagiario { display: grid; grid-template-columns: 1fr minmax(320px, 520px); gap: clamp(32px, 6vw, 80px); align-items: center; margin-top: clamp(96px, 12vw, 160px); }
.chat {
  font-family: var(--f-app);
  border-radius: 26px;
  padding: 18px;
  background: #121726;
  background-image: linear-gradient(rgba(213, 222, 242, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(213, 222, 242, 0.022) 1px, transparent 1px);
  background-size: 22px 22px;
  box-shadow: inset 0 0 0 1px rgba(213, 222, 242, 0.09), 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 70px -30px rgba(47, 95, 224, 0.5);
  color: var(--navy-claro);
}
.chat__cab { display: flex; align-items: center; gap: 12px; padding: 4px 4px 14px; }
.chat__cab b { display: block; font-size: 15px; color: #fff; }
.chat__cab small { font-size: 12.5px; color: #8e94a0; }
.chat__fio { display: grid; gap: 12px; align-content: start; height: 340px; overflow-y: auto; padding: 4px; scrollbar-width: thin; }
.msg { animation: aparecer 0.4s var(--mola); }
.msg--eu { justify-self: end; max-width: 86%; padding: 10px 14px; border-radius: 16px 16px 4px 16px; background: var(--navy-claro); color: var(--navy); font-size: 14.5px; font-weight: 600; }
.msg--ele p { font-size: 14.5px; color: #c3cbe0; line-height: 1.5; }
.msg--ele .sobre { font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; color: #8e94a0; font-family: var(--f-app); }
.msg--ele .heroi-id { color: var(--navy-claro); font-size: 30px; margin-top: 2px; }
.msg--ele .frase-id { color: #8e94a0; margin-top: 2px; }
.msg__linhas { display: grid; gap: 6px; margin-top: 10px; }
.msg__linha { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 10px 12px; border-radius: 12px; background: rgba(213, 222, 242, 0.06); animation: aparecer 0.4s var(--mola) both; }
.msg__linha b { display: block; font-size: 13.5px; color: #e6ebf7; font-weight: 600; }
.msg__linha small { display: block; font-size: 12px; color: #8e94a0; }
.msg__linha span { font-size: 12.5px; color: #a9bce6; font-weight: 600; align-self: center; }
.msg__linha .perigo { color: var(--perigo-escuro); }
.digitando { display: inline-flex; gap: 4px; padding: 10px 2px; }
.digitando i { width: 6px; height: 6px; border-radius: 50%; background: #8e94a0; animation: pulo 1s infinite; }
.digitando i:nth-child(2) { animation-delay: 0.15s; }
.digitando i:nth-child(3) { animation-delay: 0.3s; }
@keyframes pulo { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat__sugestoes { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.chat__sugestoes button { border: 0; cursor: pointer; padding: 8px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--navy-claro); background: rgba(213, 222, 242, 0.07); box-shadow: inset 0 0 0 1px rgba(213, 222, 242, 0.08); transition: background-color 0.2s, transform 0.2s var(--mola); }
.chat__sugestoes button:hover { background: rgba(213, 222, 242, 0.13); }
.chat__sugestoes button:active { transform: scale(0.97); }
.chat__campo { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; border-radius: 16px; background: rgba(213, 222, 242, 0.07); box-shadow: inset 0 0 0 1px rgba(213, 222, 242, 0.08); }
.chat__campo input { flex: 1; min-width: 0; height: 40px; border: 0; background: transparent; color: #fff; font: 500 14.5px var(--f-app); }
.chat__campo input::placeholder { color: #7d8496; }
.chat__campo input:focus { outline: none; }
.chat__mic, .chat__enviar { width: 38px; height: 38px; border: 0; border-radius: 12px; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat__mic { background: transparent; color: #a9bce6; }
.chat__mic:hover { background: rgba(213, 222, 242, 0.08); }
.chat__enviar { background: var(--navy-claro); color: var(--navy); }

.lista-check { display: grid; gap: 12px; margin-top: 6px; }
.lista-check li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; color: var(--fg); font-size: 15.5px; line-height: 1.5; }
.lista-check .ic { width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; color: var(--realce); background: color-mix(in srgb, var(--realce) 14%, transparent); stroke-width: 2.6; }
.lista-check--p li { font-size: 14.5px; }

/* ---------- integração (sincronia) ---------- */
.sinc__grade { display: grid; grid-template-columns: minmax(300px, 460px) 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.meudia { padding: 24px; border-radius: 26px; background: #fff; background-image: linear-gradient(rgba(31, 55, 98, 0.022) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 55, 98, 0.022) 1px, transparent 1px); background-size: 22px 22px; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.7); }
.meudia__cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.meudia__lista { display: grid; gap: 8px; position: relative; }
.mdi { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border-radius: 14px; background: rgba(31, 55, 98, 0.06); transition: opacity 0.4s; }
.mdi__bola { width: 24px; height: 24px; border-radius: 50%; border: 0; padding: 0; cursor: pointer; background: #fff; box-shadow: inset 0 0 0 2px #c3cad6; position: relative; transition: box-shadow 0.2s, background-color 0.25s, transform 0.2s var(--mola); }
.mdi__bola:hover { box-shadow: inset 0 0 0 2px var(--navy); }
.mdi__bola:active { transform: scale(0.88); }
.mdi__bola::after { content: ""; position: absolute; left: 8.5px; top: 5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform 0.3s var(--mola); }
.mdi b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.mdi small { display: block; font-size: 13px; color: var(--cinza-id); }
.mdi__tipo { font-size: 13px; font-weight: 500; color: var(--cinza-id); text-align: right; }
.mdi .perigo { color: var(--perigo); }
.mdi--feito { opacity: 0.5; }
.mdi--feito .mdi__bola { background: var(--navy); box-shadow: none; }
.mdi--feito .mdi__bola::after { transform: rotate(45deg) scale(1); }
.mdi--feito b { text-decoration: line-through; }
.mdi--feito b.perigo { color: var(--tinta); }
.mdi--feito .mdi__tipo.perigo { color: var(--cinza-id); }

.sinc__aparelhos { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; align-items: start; }
.aparelho { display: grid; justify-items: center; gap: 14px; }
.aparelho__nome { display: grid; justify-items: center; gap: 2px; text-align: center; font-size: 14px; font-weight: 500; color: var(--fg); }
.aparelho__sinc { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--navy-medio); opacity: 0; transform: translateY(-4px); transition: opacity 0.4s, transform 0.4s var(--mola); }
.aparelho__sinc::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.aparelho.sincronizou .aparelho__sinc { opacity: 1; transform: none; }
.aparelho > :first-child { transition: transform 0.5s var(--mola), filter 0.5s; }
.aparelho.sincronizou > :first-child { animation: toque 0.7s var(--mola); }
@keyframes toque { 30% { transform: scale(1.03); filter: drop-shadow(0 0 24px rgba(111, 168, 255, 0.45)); } }

.macbarra { width: 100%; max-width: 330px; }
.macbarra__menu { display: flex; align-items: center; gap: 14px; height: 28px; padding: 0 12px; border-radius: 10px 10px 0 0; font: 500 12.5px var(--f-ios); color: #fff; background: rgba(255, 255, 255, 0.14); backdrop-filter: blur(10px); white-space: nowrap; overflow: hidden; }
.macbarra__menu b { font-weight: 700; }
.macbarra__dir { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.macbarra__icone { display: grid; place-items: center; width: 24px; height: 20px; border-radius: 5px; }
.macbarra__icone svg { width: 15px; height: 15px; fill: #fff; }
.macbarra__icone.ativo { background: rgba(255, 255, 255, 0.28); }
.macpop { margin: 8px 0 0 auto; width: min(100%, 280px); padding: 16px; border-radius: 16px; background: #fff; background-image: linear-gradient(rgba(31, 55, 98, 0.02) 1px, transparent 1px), linear-gradient(90deg, rgba(31, 55, 98, 0.02) 1px, transparent 1px); background-size: 22px 22px; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.7), 0 0 0 0.5px rgba(15, 23, 42, 0.1); }
.macpop .heroi-id { font-size: 26px; }
.macpop .frase-id { font-size: 12.5px; margin-bottom: 10px; }
.macpop__linha { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 8px 10px; margin-top: 5px; border-radius: 10px; background: rgba(31, 55, 98, 0.06); font-size: 12.5px; animation: aparecer 0.35s var(--mola) both; }
.macpop__linha b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.macpop__linha span { color: var(--cinza-id); font-size: 11.5px; white-space: nowrap; }
.macpop__linha .perigo { color: var(--perigo); }
.macpop__vazio { padding: 14px; border-radius: 10px; background: rgba(31, 55, 98, 0.05); font-size: 12.5px; color: var(--cinza-id); text-align: center; font-weight: 600; }
.macpop__botao { margin-top: 12px; height: 32px; border-radius: 10px; display: grid; place-items: center; font-size: 13px; font-weight: 600; color: #fff; background: linear-gradient(180deg, var(--navy-2), var(--navy)); }

.vivo--solto { width: 100%; max-width: 330px; background: rgba(250, 251, 253, 0.96); }
.vivo--solto .vivo__linha { font-size: 19px; }

.anotif { width: 100%; max-width: 330px; padding: 14px 16px; border-radius: 24px; background: #eef0f6; box-shadow: 0 30px 60px -26px rgba(0, 0, 0, 0.7); }
.anotif .and-notif__titulo { font-size: 15px; }

.sinc__nota { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: clamp(40px, 5vw, 64px); font-size: 15px; color: var(--suave); text-align: center; }
.sinc__nota .ic { color: var(--navy-medio); }

/* ---------- apps ---------- */
.seg {
  position: relative;
  display: flex;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 5px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cartao) 70%, transparent);
  box-shadow: inset 0 0 0 1px var(--linha), 0 10px 30px -18px rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow-x: auto;
  scrollbar-width: none;
}
.seg::-webkit-scrollbar { display: none; }
.seg button { position: relative; z-index: 1; flex: none; border: 0; background: none; cursor: pointer; padding: 10px 20px; border-radius: 999px; font-family: var(--f-site); font-size: 15px; color: color-mix(in srgb, var(--fg) 65%, transparent); transition: color 0.3s; white-space: nowrap; }
.seg button small { font-size: 11.5px; margin-left: 6px; opacity: 0.85; }
.seg button:hover { color: var(--fg); }
.seg button[aria-selected="true"] { color: #fff; }
.seg__pilula { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 0; width: 0; border-radius: 999px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); box-shadow: 0 8px 20px -6px rgba(31, 55, 98, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.16); transition: transform 0.55s var(--mola), width 0.55s var(--mola); }
.seg--p { padding: 4px; margin-inline: 0; background: #f1f3f7; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.06); }
.seg--p button { padding: 7px 14px; font-family: var(--f-app); font-size: 13px; font-weight: 600; color: var(--cinza-id); }
.seg--p button:hover { color: var(--navy); }
.seg--p .seg__pilula { top: 4px; bottom: 4px; }

.apps__palco { display: grid; margin-top: clamp(40px, 5vw, 64px); }
.apps__painel { grid-area: 1 / 1; display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(32px, 5vw, 72px); align-items: center; opacity: 0; visibility: hidden; transform: translateY(18px) scale(0.985); transition: opacity 0.6s var(--mola), transform 0.7s var(--mola), visibility 0s 0.6s; }
.apps__painel.ativo { opacity: 1; visibility: visible; transform: none; transition: opacity 0.6s var(--mola), transform 0.7s var(--mola), visibility 0s; }
.apps__visual { position: relative; display: flex; justify-content: center; align-items: center; min-height: 460px; }
.apps__visual::before { content: ""; position: absolute; inset: 10% 8%; border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 95, 224, 0.16), transparent); filter: blur(30px); }
.apps__iphone { width: clamp(220px, 24vw, 300px); }
.apps__visual--mac .macbook { max-width: 640px; }
.apps__visual--watch { gap: clamp(16px, 3vw, 40px); align-items: flex-end; }
.apps__visual .ipad { max-width: 640px; }
.android { width: clamp(220px, 24vw, 290px); }
.apps__texto { display: grid; gap: 16px; align-content: center; }
.apps__texto h3 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.025em; line-height: 1.1; }
.apps__texto .lead { color: var(--suave); }
.mac-legenda { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 500; color: var(--fg); background: color-mix(in srgb, var(--cartao) 80%, transparent); box-shadow: inset 0 0 0 1px var(--linha); }
.macbook__tela--rotativa img { opacity: 0; transition: opacity 0.9s ease; }
.macbook__tela--rotativa img.ativa { opacity: 1; }
.widget { position: absolute; left: max(0px, calc(50% - clamp(220px, 24vw, 300px) / 2 - 150px)); top: 16%; width: 158px; padding: 14px 16px; border-radius: 24px; background: #fff; box-shadow: 0 30px 60px -25px rgba(15, 23, 42, 0.45); transform: rotate(-4deg); z-index: 2; }
.widget__heroi { font-size: 28px; font-weight: 800; letter-spacing: -0.035em; color: var(--navy); margin-top: 4px; line-height: 1.1; }
.widget__frase { font-size: 12px; font-weight: 600; color: var(--cinza-id); margin-top: 4px; }
.widget--siri { top: auto; bottom: 14%; left: auto; right: max(0px, calc(50% - clamp(220px, 24vw, 300px) / 2 - 140px)); width: auto; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 999px; transform: rotate(3deg); background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); }
.widget--siri p { font-family: var(--f-ios); font-size: 14px; font-weight: 600; color: var(--tinta); white-space: nowrap; }
.siri-bola { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(from 30deg, #6fa8ff, #2f5fe0, #1f3762, #8fb8ff, #6fa8ff); animation: gira 6s linear infinite; box-shadow: 0 0 12px rgba(47, 95, 224, 0.5); }
.apps__lojas { display: grid; gap: 4px; justify-items: center; text-align: center; margin-top: clamp(48px, 6vw, 72px); font-size: 15px; color: var(--suave); }
.apps__lojas span:first-child { color: var(--fg); font-weight: 500; }

/* ---------- recursos (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-flow: dense; gap: 20px; }
.bloco { position: relative; display: flex; flex-direction: column; gap: 24px; padding: clamp(22px, 2.4vw, 32px); border-radius: 28px; background: var(--cartao); color: var(--cartao-fg); box-shadow: inset 0 0 0 1px var(--linha), 0 24px 60px -40px rgba(15, 23, 42, 0.35); overflow: hidden; }
.bloco--2 { grid-column: span 2; display: grid; grid-template-columns: 0.75fr 1.25fr; align-items: center; }
.bloco--alto { grid-row: span 2; }
.bloco--empilhado { display: flex; align-items: stretch; }
.bloco--empilhado .bloco__texto { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); column-gap: 32px; align-items: end; }
.bloco--empilhado .bloco__texto .sobre { grid-column: 1 / -1; }
.bloco--empilhado .bloco__texto h3 { grid-column: 1; }
.bloco--empilhado .bloco__texto p:not(.sobre) { grid-column: 2; }
.bloco__texto { display: grid; gap: 10px; align-content: start; }
.bloco__texto h3 { font-size: clamp(21px, 1.8vw, 25px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.22; text-wrap: balance; }
.bloco__texto p:not(.sobre) { font-size: 15px; font-weight: 300; color: var(--suave); line-height: 1.6; }
.bloco--portal { padding-bottom: 0; }
.bloco__iphone { width: min(250px, 80%); margin: auto auto -42%; }

.fin { padding: 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.08), 0 20px 40px -30px rgba(31, 55, 98, 0.5); }
.fin__topo { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 16px; }
.fin__grafico { display: flex; align-items: flex-end; gap: 6px; height: 72px; flex: none; }
.fin__grafico i { width: 14px; height: calc(var(--h) * 100%); border-radius: 4px; background: rgba(31, 55, 98, 0.14); transition: background-color 0.4s, height 0.6s var(--mola); }
.fin__grafico i.ativa { background: var(--navy); }
.fin__lista { display: grid; gap: 6px; margin-top: 16px; }
.fin__lista li { display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(31, 55, 98, 0.05); transition: opacity 0.4s; }
.fin__lista b { display: block; font-size: 14px; font-weight: 600; }
.fin__lista small { display: block; font-size: 12.5px; color: var(--cinza-id); }
.fin__v { font-size: 14px; font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.fin__lista li.pago { opacity: 0.6; }
.fin__pago { font-size: 12.5px; font-weight: 600; color: var(--cinza-id); }

.equipe { padding: 18px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.08); flex: 1; display: flex; flex-direction: column; }
.equipe > .sobre { display: flex; align-items: center; gap: 8px; }
.vivo-ponto { width: 8px; height: 8px; border-radius: 50%; background: var(--navy); animation: pulso 2.4s ease-in-out infinite; }
@keyframes pulso { 0%, 100% { box-shadow: 0 0 0 0 rgba(31, 55, 98, 0.35); } 50% { box-shadow: 0 0 0 6px rgba(31, 55, 98, 0); } }
.equipe__fluxo { display: grid; gap: 6px; margin-top: 12px; }
.equipe__fluxo li { display: grid; grid-template-columns: 44px 1fr; gap: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(31, 55, 98, 0.05); font-size: 13.5px; line-height: 1.4; color: var(--cinza-id); }
.equipe__fluxo li b { color: var(--tinta); font-weight: 600; }
.equipe__fluxo time { font-size: 12px; font-weight: 600; color: var(--cinza-id-2); font-variant-numeric: tabular-nums; padding-top: 1px; }
.equipe__fluxo li.novo { animation: entraFluxo 0.7s var(--mola); }
@keyframes entraFluxo { from { opacity: 0; transform: translateY(-10px); filter: blur(4px); } }
.equipe__mesa { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; }
.pessoa { display: grid; grid-template-columns: 36px 1fr; gap: 10px; align-items: center; }
.ini { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--navy); background: #dfe7f7; }
.pessoa b { display: block; font-size: 14px; }
.pessoa small { display: block; font-size: 12.5px; color: var(--cinza-id); }
.segs { display: flex; gap: 3px; margin-top: 6px; }
.segs i { flex: 1; height: 5px; border-radius: 3px; background: rgba(31, 55, 98, 0.12); }
.segs i.f { background: var(--navy); }
.segs i.a { background: #fff; box-shadow: inset 0 0 0 1.5px var(--navy); }
.segs i.x { background: var(--perigo); }

.quadro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; touch-action: pan-y; }
.quadro__col { display: grid; align-content: start; gap: 8px; min-height: 230px; padding: 8px; border-radius: 16px; transition: background-color 0.25s, box-shadow 0.25s; }
.quadro__col > .sobre { display: flex; justify-content: space-between; padding: 2px 4px 4px; }
.quadro__col > .sobre b { color: var(--navy); font-weight: 800; font-size: 12px; display: inline-block; }
.quadro__col > .sobre b.pulou { animation: pulinho 0.4s var(--mola); }
@keyframes pulinho { 40% { transform: scale(1.4); } }
.quadro__col.alvo { background: rgba(31, 55, 98, 0.045); box-shadow: inset 0 2px 0 var(--navy); }
.qcartao { padding: 12px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(31, 55, 98, 0.08), 0 4px 10px -8px rgba(15, 23, 42, 0.3); cursor: grab; user-select: none; -webkit-user-select: none; touch-action: none; transition: transform 0.25s var(--mola), box-shadow 0.25s, opacity 0.3s; }
.qcartao:hover { transform: translateY(-2px); }
.qcartao .sobre { font-size: 10px; }
.qcartao b { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.qcartao small { display: block; font-size: 12px; color: var(--cinza-id); }
.qcartao__aviso { margin-top: 5px; font-size: 12px; font-weight: 700; color: var(--cinza-id); }
.qcartao--feito { opacity: 0.5; }
.qcartao--feito b { text-decoration: line-through; }
.qcartao.fantasma { opacity: 0.25; }
.qcartao.voando { position: fixed; z-index: 90; pointer-events: none; cursor: grabbing; box-shadow: 0 24px 50px -16px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(31, 55, 98, 0.1); transform: rotate(2deg) scale(1.03); transition: none; }

.doc { position: relative; padding: 22px 22px 18px; border-radius: 6px; background: #fff; box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.07), 0 20px 40px -26px rgba(15, 23, 42, 0.45); font-family: Georgia, "Times New Roman", serif; font-size: 13px; line-height: 1.6; color: #2b3242; transform: rotate(-1.2deg); }
.doc__titulo { text-align: center; font-weight: 700; letter-spacing: 0.06em; margin-bottom: 10px; font-size: 12.5px; }
.doc p + p { margin-top: 6px; }
.doc mark { background: rgba(47, 95, 224, 0.12); color: var(--navy); border-radius: 4px; padding: 0 3px; font-family: var(--f-app); font-size: 12px; font-weight: 600; transition: background-color 0.5s; }
.doc mark.preenchido { background: transparent; font-family: Georgia, "Times New Roman", serif; font-size: 13px; font-weight: 400; color: #2b3242; padding: 0; animation: preencher 0.6s var(--mola); }
@keyframes preencher { from { background: rgba(47, 95, 224, 0.25); } }
.doc__linhas { display: grid; gap: 7px; margin-top: 12px; }
.doc__linhas i { height: 6px; border-radius: 3px; background: #eceef3; }
.doc__linhas i:nth-child(2) { width: 88%; }
.doc__linhas i:nth-child(3) { width: 60%; }

.peticao { display: grid; gap: 8px; }
.peticao__item { padding: 13px 14px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.08); }
.peticao__item b { display: block; font-size: 14px; font-weight: 600; }
.peticao__item small { display: block; font-size: 12.5px; color: var(--cinza-id); }
.segs--7 { margin-top: 10px; }
.segs--7 i { height: 6px; }

.email { padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px rgba(31, 55, 98, 0.08), 0 20px 40px -30px rgba(31, 55, 98, 0.5); }
.email__de { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.email__de > span:last-child { margin-left: auto; color: var(--cinza-id); }
.email__assunto { margin-top: 10px; font-size: 15px; font-weight: 700; color: var(--tinta); }
.email__corpo { margin-top: 4px; font-size: 13.5px; line-height: 1.5; color: var(--cinza-id); }
.email__botao { display: inline-grid; place-items: center; margin-top: 12px; height: 34px; padding: 0 14px; border-radius: 10px; background: linear-gradient(180deg, var(--navy-2), var(--navy)); color: #fff; font-size: 13px; font-weight: 600; }

.mais { margin-top: clamp(48px, 6vw, 72px); display: grid; gap: 20px; }
.mais__lista { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 40px; }
.mais__lista li { position: relative; padding-left: 20px; font-size: 15.5px; font-weight: 300; color: var(--suave); line-height: 1.55; }
.mais__lista li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--navy); }
.mais__lista b { font-weight: 500; color: var(--fg); }

/* ---------- segurança ---------- */
.seg-grade { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.seg-grade li { display: grid; gap: 10px; align-content: start; padding: 28px 24px; border-radius: 24px; background: color-mix(in srgb, var(--fg) 3.5%, transparent); box-shadow: inset 0 0 0 1px var(--linha); }
.seg-grade__ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 8px; color: #fff; background: linear-gradient(135deg, var(--azul), var(--azul-2)); box-shadow: 0 10px 24px -10px rgba(47, 95, 224, 0.8); }
.seg-grade__ic .ic { width: 22px; height: 22px; }
.seg-grade b { font-size: 17px; font-weight: 500; }
.seg-grade p { font-size: 14.5px; font-weight: 300; color: var(--suave); line-height: 1.6; }

/* ---------- preços ---------- */
.seg--cobranca { margin-bottom: clamp(32px, 4vw, 48px); }
.planos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; }
.plano { display: grid; gap: 14px; align-content: start; padding: clamp(26px, 3vw, 38px); border-radius: 28px; background: var(--cartao); color: var(--cartao-fg); box-shadow: inset 0 0 0 1px var(--linha), 0 30px 70px -45px rgba(15, 23, 42, 0.5); }
.plano__para { font-size: 15px; color: var(--suave); margin-top: -6px; }
.plano__preco { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; margin-top: 6px; }
.plano__rs { font-size: 20px; font-weight: 500; }
.plano__valor { display: inline-block; font-size: clamp(52px, 6vw, 68px); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.plano__valor.troca { animation: troca 0.5s var(--mola); }
@keyframes troca { 0% { opacity: 0; transform: translateY(-14px); filter: blur(4px); } }
.plano__mes { font-size: 16px; color: var(--suave); }
.plano__nota { font-size: 14px; color: var(--suave); min-height: 1.6em; }
.plano .botao { margin: 6px 0 10px; }
.plano--escuro { --suave: #a9bce6; --realce: #a9bce6; --fg: #fff; background: linear-gradient(160deg, #1f3762 0%, #13254a 100%); color: #fff; box-shadow: inset 0 0 0 1px rgba(213, 222, 242, 0.14), 0 40px 80px -40px rgba(31, 55, 98, 0.9); }
.plano--escuro .sobre { color: #a9bce6; }
.garantias { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 32px; max-width: 900px; margin-top: 40px; }
.garantias li { font-size: 14.5px; color: var(--suave); line-height: 1.55; }
.garantias b { color: var(--fg); font-weight: 500; }
.conta { margin-top: clamp(72px, 9vw, 120px); display: grid; justify-items: center; text-align: center; gap: 12px; }
.conta__heroi { font-size: clamp(54px, 9vw, 112px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; background: linear-gradient(135deg, var(--navy) 0%, var(--azul) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.conta__heroi span { font-weight: 300; }
.conta__frase { max-width: 54ch; font-size: 17px; font-weight: 300; color: var(--suave); }

/* ---------- dúvidas ---------- */
.duvidas { padding-top: 0; }
.faq { max-width: 820px; border-top: 1px solid var(--linha); }
.faq details { border-bottom: 1px solid var(--linha); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1.6px no-repeat, linear-gradient(currentColor, currentColor) center / 1.6px 14px no-repeat; opacity: 0.6; transition: transform 0.4s var(--mola); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq__corpo { overflow: hidden; }
.faq__corpo p { padding: 0 4px 26px; max-width: 64ch; font-size: 16px; font-weight: 300; color: var(--suave); line-height: 1.7; }

/* ---------- chamada final ---------- */
.final { padding-block: clamp(120px, 15vw, 200px); overflow: hidden; }
.final__caixa { display: grid; justify-items: center; text-align: center; gap: 18px; max-width: 820px; }
.final__heroi { font-size: clamp(60px, 11vw, 148px); font-weight: 600; letter-spacing: -0.05em; line-height: 0.95; background: linear-gradient(180deg, #ffffff 30%, #a9bce6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.final__frase { max-width: 52ch; font-size: 18px; font-weight: 300; color: var(--suave); }
.final__nota { font-size: 14px; color: var(--suave); }
.final__notif { position: absolute; right: max(var(--gutter), calc(50% - 690px)); top: 12%; width: 330px; margin: 0; animation: flutuar 6s ease-in-out infinite; transform: rotate(3deg); }
@keyframes flutuar { 50% { translate: 0 -10px; } }

/* ---------- rodapé ---------- */
.rodape { padding: 56px var(--gutter) calc(48px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, 0.08); background: #05070d; color: #fff; }
.rodape__in { max-width: var(--larg); margin-inline: auto; display: grid; grid-template-columns: auto 1fr; gap: 24px 48px; align-items: center; }
.rodape__logo { width: 140px; }
.rodape__links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 26px; }
.rodape__links a { font-size: 14px; color: #9aa3b5; text-decoration: none; }
.rodape__links a:hover { color: #fff; }
.rodape__nota { grid-column: 1 / -1; font-size: 12.5px; color: #6b7385; }

/* barra fixa no celular */
.barra-movel { display: none; }
@media (max-width: 720px) {
  .barra-movel {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 8px 8px 18px;
    border-radius: 999px;
    background: var(--nav);
    box-shadow: inset 0 0 0 1px var(--nav-linha), 0 18px 40px -18px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(18px) saturate(1.5);
    -webkit-backdrop-filter: blur(18px) saturate(1.5);
    font-size: 14px;
    transform: translateY(140%);
    transition: transform 0.5s var(--mola);
  }
  .barra-movel.mostrar { transform: none; }
  .barra-movel b { font-weight: 600; }
}

/* aviso (toast) na escrita da marca */
.aviso-id {
  position: fixed;
  left: 50%;
  bottom: calc(28px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  min-width: 240px;
  max-width: calc(100% - 32px);
  padding: 14px 20px;
  border-radius: 16px;
  font-family: var(--f-app);
  background: rgba(255, 255, 255, 0.86);
  color: var(--tinta);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 0 0 1px rgba(31, 55, 98, 0.08), 0 18px 40px -14px rgba(31, 55, 98, 0.55), 0 30px 60px -30px rgba(31, 55, 98, 0.6);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s, transform 0.5s var(--mola);
}
.aviso-id.mostrar { opacity: 1; transform: translate(-50%, 0); }
.aviso-id b { display: block; font-size: 15px; color: var(--navy); }
.aviso-id span { display: block; font-size: 13.5px; font-weight: 500; color: var(--cinza-id); }
@media (max-width: 720px) { .aviso-id { bottom: calc(88px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================================
   HISTÓRIA (iPhone parado, passos rolando)
   ========================================================================== */
.historia__passos { padding-bottom: 16vh; }
.historia__grade { display: grid; grid-template-columns: 1fr minmax(260px, 380px); gap: clamp(32px, 8vw, 120px); max-width: 1080px; }
.passo { min-height: 78vh; display: grid; align-content: center; gap: 14px; opacity: 0.25; transition: opacity 0.6s; }
.passo.ativo { opacity: 1; }
.passo:first-child { min-height: 60vh; align-content: start; padding-top: 10vh; }
.passo__hora { font-size: clamp(56px, 8vw, 104px); font-weight: 600; letter-spacing: -0.045em; line-height: 1; background: linear-gradient(135deg, var(--navy) 0%, var(--azul) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.passo h3 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.15; }
.passo p:not(.passo__hora) { font-size: 17px; font-weight: 300; color: var(--suave); line-height: 1.65; max-width: 44ch; }
.historia__palco { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; gap: 22px; }
.historia__iphone { height: min(76vh, 720px); width: auto; }
.historia__pontos { display: grid; gap: 8px; }
.historia__pontos li { width: 6px; height: 6px; border-radius: 3px; background: color-mix(in srgb, var(--fg) 22%, transparent); transition: height 0.4s var(--mola), background-color 0.4s; }
.historia__pontos li.ativo { height: 22px; background: var(--navy); }

.historia [data-tela] { opacity: 0; translate: 0 14px; transition: opacity 0.55s ease, translate 0.7s var(--mola); }
.historia [data-tela].ativa { opacity: 1; translate: 0 0; }
.historia [data-tela="1"].ativa .notif--chega { animation: notifChega 0.9s var(--mola) 0.35s both; }
@keyframes notifChega { from { opacity: 0; transform: translateY(-40px) scale(0.92); } }
.historia [data-tela="2"].ativa .ios-resumo { animation: aparecer 0.6s var(--mola) 0.5s both; }
.historia [data-tela="2"].ativa .ios-botao--toque { animation: tocar 0.5s ease 1.6s both; }
@keyframes tocar { 40% { transform: scale(0.94); filter: brightness(1.2); } }
.historia [data-tela="2"].ativa .ios-aviso { animation: avisoSobe 0.6s var(--mola) 2s forwards; }
@keyframes avisoSobe { to { opacity: 1; transform: none; } }
.historia [data-tela="3"].ativa .vivo { animation: notifChega 0.9s var(--mola) 0.3s both; }
.historia [data-tela="3"].ativa .vivo__segmentos i.agora::after { animation: andamento 2.4s var(--mola) 0.9s both; }
@keyframes andamento { from { transform: scaleX(0); } }
.historia [data-tela="4"].ativa .ios-barras i { animation: barra 0.9s var(--mola) both; animation-delay: calc(var(--h) * 0.4s + 0.2s); }
@keyframes barra { from { transform: scaleY(0.05); } }

/* ==========================================================================
   APARECER AO ROLAR (só o que começa fora da tela; o resto já nasce visível)
   ========================================================================== */
.revela-espera { opacity: 0; transform: translateY(26px); filter: blur(6px); }
.revela-espera.visivel { opacity: 1; transform: none; filter: none; transition: opacity 0.9s var(--mola), transform 1s var(--mola), filter 0.9s var(--mola); transition-delay: var(--atraso, 0s); }

/* ==========================================================================
   TELAS MENORES
   ========================================================================== */
@media (max-width: 1100px) {
  .seg-grade { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bloco--2 { grid-column: span 2; }
  .bloco--alto { grid-row: span 1; }
  .bloco--portal { grid-row: span 2; }
  .final__notif { display: none; }
}

@media (max-width: 900px) {
  .vitrine { aspect-ratio: 1180 / 720; }
  .vitrine .vitrine__mac { left: 2%; width: 82%; }
  .vitrine .vitrine__iphone { width: 24%; right: 0; bottom: -2%; }
  .vitrine .vitrine__relogio { width: 16%; left: 0; bottom: -4%; }

  .historia__grade { grid-template-columns: 1fr; gap: 0; }
  .historia__palco { order: -1; top: 64px; height: auto; padding: 8px 0 16px; z-index: 2; background: linear-gradient(180deg, var(--bg) 82%, transparent); }
  .historia__iphone { height: min(52vh, 460px); }
  .historia__pontos { display: none; }
  .passo { min-height: 62vh; align-content: start; padding-top: 4vh; text-align: center; justify-items: center; }
  .passo:first-child { min-height: 62vh; padding-top: 4vh; }
  .passo:last-child { min-height: 40vh; }

  .pub { grid-template-columns: 1fr; }
  .pub__lista { grid-template-columns: 1fr; }
  .pub__detalhe { min-height: 0; }
  .estagiario { grid-template-columns: 1fr; }
  .sinc__grade { grid-template-columns: 1fr; }
  .apps__painel { grid-template-columns: 1fr; text-align: left; }
  .apps__visual { min-height: 0; padding-block: 12px; }
  .widget { display: none; }
  .planos { grid-template-columns: 1fr; max-width: 520px; }
  .garantias { grid-template-columns: 1fr; max-width: 520px; }
  .mais__lista { grid-template-columns: 1fr; }
  .bloco--empilhado .bloco__texto { grid-template-columns: 1fr; }
  .bloco--empilhado .bloco__texto p:not(.sobre) { grid-column: 1; }
  .historia__passos { padding-bottom: 0; }
}

@media (max-width: 680px) {
  .secao { padding-block: 88px; }
  .heroi { padding-top: 120px; padding-bottom: 0; }
  .bento { grid-template-columns: 1fr; }
  .bloco--2 { grid-column: auto; grid-template-columns: 1fr; }
  .bloco--portal { grid-row: auto; }
  .bloco__iphone { margin-bottom: -60%; }
  .seg-grade { grid-template-columns: 1fr; }
  .sinc__aparelhos { grid-template-columns: 1fr; }
  .quadro { grid-template-columns: 1fr; }
  .quadro__col { min-height: 0; }
  .campos { grid-template-columns: 1fr; }
  .pub { padding: 12px; }
  .pub__detalhe { padding: 18px; }
  .rodape__in { grid-template-columns: 1fr; }
  .rodape__links { justify-content: flex-start; }
  .fin__topo { flex-direction: column; align-items: flex-start; }
  .fin__lista li { grid-template-columns: 1fr auto; }
  .fin__lista li .btn-id, .fin__lista li .fin__pago { grid-column: 1 / -1; justify-self: start; }
  .seg button { padding: 9px 14px; font-size: 14px; }
  .chat__fio { height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .faixa__trilho { animation: none; }
  .revela-espera { opacity: 1; transform: none; filter: none; }
}
