/* Site de apresentação (reaportaria.com): as cores do app e o jeito das páginas da Apple.
   Tema claro sempre (como foi pedido); só HTML, CSS e um pouco de JS em site.js. */
:root {
  --fundo: #ffffff;
  --fundo-2: #f5f5f7;
  --superficie: #ffffff;
  --texto: #1d1d1f;
  --texto-2: #6e6e73;
  --texto-3: #86868b;
  --separador: rgba(0, 0, 0, 0.08);
  --destaque: #0071e3;
  --destaque-hover: #0077ed;
  --destaque-texto: #0066cc;
  --destaque-suave: rgba(0, 113, 227, 0.1);
  --verde: #1d7f38;
  --verde-suave: rgba(52, 199, 89, 0.14);
  /* Apple HIG System Teal acessível (substitui o antigo índigo arroxeado) */
  --indigo: #007a8c;
  --indigo-suave: rgba(48, 176, 199, 0.14);
  --laranja: #ad4e00;
  --laranja-suave: rgba(255, 149, 0, 0.15);
  --vermelho: #d70015;
  --vermelho-suave: rgba(255, 59, 48, 0.1);
  --sombra-cartao: 0 2px 6px rgba(0, 0, 0, 0.04), 0 12px 32px rgba(0, 0, 0, 0.06);
  --sombra-celular: 0 30px 60px -12px rgba(0, 0, 0, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
  --curva: cubic-bezier(0.2, 0.8, 0.2, 1);
  --largura: 1080px;
  color-scheme: light;
}

@view-transition {
  navigation: auto;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  background: var(--fundo);
  color: var(--texto);
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI Variable Text', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI Variable Display', 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--destaque-texto);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.icone {
  width: 24px;
  height: 24px;
  flex: none;
}
.largura {
  max-width: var(--largura);
  margin: 0 auto;
  padding: 0 22px;
}

/* ---------- Barra de cima (vidro fosco, como no site da Apple) ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.nav.rolou {
  border-bottom-color: var(--separador);
}
.nav-linha {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 56px;
}
.marca {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--texto);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.02em;
  margin-right: auto;
}
.marca:hover {
  text-decoration: none;
}
.marca img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  color: var(--texto);
  font-size: 14px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.nav-links a:hover {
  opacity: 1;
  text-decoration: none;
}
.nav-links a[aria-current='page'] {
  opacity: 1;
  font-weight: 600;
}
.nav-menu {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}
.nav-menu span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 1.8px;
  border-radius: 2px;
  background: var(--texto);
  transition: transform 0.35s var(--curva), top 0.35s var(--curva);
}
.nav-menu span:first-child {
  top: 16px;
}
.nav-menu span:last-child {
  top: 23px;
}
.nav.aberta .nav-menu span:first-child {
  top: 19.5px;
  transform: rotate(45deg);
}
.nav.aberta .nav-menu span:last-child {
  top: 19.5px;
  transform: rotate(-45deg);
}

/* ---------- Botões ---------- */
.botao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 11px 22px;
  border-radius: 980px;
  background: var(--destaque);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s var(--curva);
}
.botao:hover {
  background: var(--destaque-hover);
  text-decoration: none;
}
.botao:active {
  transform: scale(0.97);
}
.botao.pequeno {
  min-height: 32px;
  padding: 6px 14px;
  font-size: 14px;
}
.botao.contorno {
  background: transparent;
  color: var(--destaque-texto);
  box-shadow: inset 0 0 0 1.5px var(--destaque);
}
.botao.contorno:hover {
  background: var(--destaque-suave);
}
.mais {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 17px;
  color: var(--destaque-texto);
}
.mais .icone {
  width: 14px;
  height: 14px;
  transition: transform 0.25s var(--curva);
}
.mais:hover {
  text-decoration: underline;
}
.mais:hover .icone {
  transform: translateX(3px);
}

/* ---------- Capa ---------- */
.capa {
  padding: 72px 0 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}
.capa-inicio {
  padding-top: 44px;
  background:
    radial-gradient(960px 480px at 50% 62%, rgba(0, 113, 227, 0.055) 0%, rgba(255, 255, 255, 0) 70%),
    linear-gradient(180deg, #ffffff 0%, #ffffff 74%, #f5f5f7 100%);
}
.sobretitulo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--texto-2);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
}
.capa-inicio .sobretitulo {
  padding: 6px 14px 6px 8px;
  border-radius: 980px;
  background: var(--fundo-2);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06);
  font-size: 14px;
  color: var(--texto);
}
.sobretitulo img {
  width: 22px;
  height: 22px;
  border-radius: 6px;
}
.capa h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.035em;
  max-width: 960px;
  margin: 0 auto;
}
.capa-inicio h1 .gradiente {
  display: block;
}
/* Destaque limpo em Azul Apple, sem degradê roxo */
.gradiente {
  color: var(--destaque);
}
.capa .chamada {
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.4;
  color: var(--texto-2);
  max-width: 660px;
  margin: 22px auto 0;
  letter-spacing: -0.016em;
}
.acoes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 18px;
  margin-top: 30px;
}

/* Controle segmentado estilo iOS / apple.com para explorar os 3 perfis no hero */
.vitrine-controles {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.segmentado {
  position: relative;
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  padding: 4px;
  border-radius: 980px;
  background: rgba(118, 118, 128, 0.12);
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.06);
}
.segmentado-indicador {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc((100% - 8px) / 3);
  border-radius: 980px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  pointer-events: none;
}
.segmentado-botao {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 9px 18px;
  border-radius: 980px;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--texto-2);
  cursor: pointer;
  white-space: nowrap;
  outline: none;
  transition: color 0.25s;
}
.segmentado-botao:focus-visible {
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.45);
}
.segmentado-botao:hover {
  color: var(--texto);
}
.segmentado-botao[aria-selected='true'] {
  color: var(--texto);
  font-weight: 600;
}
.vitrine-legenda {
  font-size: 15px;
  color: var(--texto-2);
  max-width: 520px;
  min-height: 24px;
  transition: opacity 0.25s var(--curva), transform 0.25s var(--curva);
}
.vitrine-legenda.trocando {
  opacity: 0;
  transform: translateY(4px);
}

/* Três iPhones Pro Max interativos com profundidade 3D real na página inicial */
.vitrine {
  position: relative;
  margin: 30px auto 0;
  height: 710px;
  max-width: 1080px;
  perspective: 1850px;
  perspective-origin: 50% 42%;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.vitrine-seta {
  position: absolute;
  top: 44%;
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  color: var(--texto);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s var(--curva), background 0.2s, box-shadow 0.25s;
}
.vitrine-seta:hover {
  background: #ffffff;
  transform: scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.vitrine-seta:active {
  transform: scale(0.95);
}
.vitrine-seta:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.45);
}
.vitrine-seta .icone {
  width: 18px;
  height: 18px;
}
.vitrine-seta.voltar {
  left: 8px;
}
.vitrine-seta.voltar .icone {
  transform: rotate(180deg);
}
.vitrine-seta.avancar {
  right: 8px;
}

.vitrine-item {
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -168px;
  width: 336px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  outline: none;
  transform-style: preserve-3d;
  will-change: transform, opacity;
  transition:
    transform 0.92s cubic-bezier(0.19, 1, 0.22, 1),
    opacity 0.65s var(--curva),
    filter 0.65s var(--curva);
}
.vitrine-item:focus-visible .iphone {
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.45);
}
.vitrine-item[data-pos='centro'] {
  transform: translate3d(0, var(--par-centro, 0px), 0px) rotateY(0deg) rotateZ(0deg) scale(1);
  z-index: 4;
  opacity: 1;
  filter: brightness(1);
  cursor: grab;
}
.vitrine-item[data-pos='centro']:active {
  cursor: grabbing;
}
.vitrine-item[data-pos='esquerda'] {
  transform: translate3d(calc(-312px - var(--par-lado-x, 0px)), calc(38px + var(--par-lado-y, 0px)), -140px) rotateY(18deg) rotateZ(-3.2deg) scale(0.86);
  z-index: 2;
  opacity: 0.94;
  filter: brightness(0.97);
}
.vitrine-item[data-pos='direita'] {
  transform: translate3d(calc(312px + var(--par-lado-x, 0px)), calc(38px + var(--par-lado-y, 0px)), -140px) rotateY(-18deg) rotateZ(3.2deg) scale(0.86);
  z-index: 2;
  opacity: 0.94;
  filter: brightness(0.97);
}
.vitrine-item[data-pos='esquerda']:hover {
  transform: translate3d(calc(-298px - var(--par-lado-x, 0px)), calc(24px + var(--par-lado-y, 0px)), -80px) rotateY(12deg) rotateZ(-2deg) scale(0.89);
  opacity: 1;
  filter: brightness(1);
  z-index: 3;
}
.vitrine-item[data-pos='direita']:hover {
  transform: translate3d(calc(298px + var(--par-lado-x, 0px)), calc(24px + var(--par-lado-y, 0px)), -80px) rotateY(-12deg) rotateZ(2deg) scale(0.89);
  opacity: 1;
  filter: brightness(1);
  z-index: 3;
}
/* Camadas de profundidade durante o giro: quem entra vem pela frente, quem cruza o fundo passa por trás sem colidir */
.vitrine-item[data-fase='entrando'] {
  z-index: 5;
}
.vitrine-item[data-fase='saindo'] {
  z-index: 3;
}
.vitrine-item[data-fase='fundo'] {
  z-index: 1;
  animation: arco-fundo 0.92s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes arco-fundo {
  0% {
    opacity: 0.92;
  }
  42% {
    opacity: 0.32;
    filter: brightness(0.92);
  }
  100% {
    opacity: 0.94;
    filter: brightness(0.97);
  }
}
.vitrine::after {
  content: '';
  position: absolute;
  left: -100vw;
  right: -100vw;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to bottom, rgba(245, 245, 247, 0) 0%, var(--fundo-2) 100%);
  z-index: 6;
  pointer-events: none;
}

/* ---------- Hardware realista: iPhone Pro Max em Titânio ---------- */
.iphone {
  position: relative;
  width: 100%;
  border-radius: 56px;
  padding: 4px;
  /* Aro externo metálico em Titânio Natural escovado com reflexos de estúdio */
  background:
    linear-gradient(135deg, #ede9e2 0%, #a9a49c 18%, #77736d 36%, #d9d5ce 54%, #88847d 74%, #eae6df 90%, #9b968e 100%);
  box-shadow:
    0 36px 72px -18px rgba(0, 0, 0, 0.25),
    0 18px 36px -18px rgba(0, 0, 0, 0.22),
    0 2px 6px rgba(0, 0, 0, 0.08),
    inset 0 1px 1px rgba(255, 255, 255, 0.85),
    inset 0 -1px 1.5px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.6s var(--curva);
}
.vitrine-item[data-pos='centro'] .iphone {
  box-shadow:
    0 48px 92px -20px rgba(0, 0, 0, 0.3),
    0 22px 44px -20px rgba(0, 0, 0, 0.26),
    0 4px 10px rgba(0, 0, 0, 0.08),
    inset 0 1px 1.5px rgba(255, 255, 255, 0.9),
    inset 0 -1px 1.5px rgba(0, 0, 0, 0.35);
}
/* Linhas sutis de antena no chassi de titânio */
.iphone::before,
.iphone::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(60, 58, 55, 0.55) 0 4px, transparent 4px calc(100% - 4px), rgba(60, 58, 55, 0.55) calc(100% - 4px) 100%);
  pointer-events: none;
  z-index: 2;
}
.iphone::before {
  top: 66px;
}
.iphone::after {
  bottom: 66px;
}

/* Botões físicos laterais (Ação, Volume +, Volume -, Botão Lateral e Controle da Câmera) */
.iphone-btn {
  position: absolute;
  width: 3.5px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, #e7e3dc 0%, #8f8a82 28%, #b8b3aa 62%, #6d6963 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.iphone-btn.acao {
  left: -3.5px;
  top: 108px;
  height: 26px;
  border-radius: 2px 0 0 2px;
}
.iphone-btn.vol-mais {
  left: -3.5px;
  top: 154px;
  height: 50px;
  border-radius: 2px 0 0 2px;
}
.iphone-btn.vol-menos {
  left: -3.5px;
  top: 216px;
  height: 50px;
  border-radius: 2px 0 0 2px;
}
.iphone-btn.liga {
  right: -3.5px;
  top: 172px;
  height: 76px;
  border-radius: 0 2px 2px 0;
}
.iphone-btn.camera-btn {
  right: -2.5px;
  bottom: 168px;
  width: 2.5px;
  height: 48px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #5c5955 0%, #9b968e 50%, #5c5955 100%);
}

/* Moldura interna preta ultrafina do vidro Ceramic Shield */
.iphone-borda {
  position: relative;
  border-radius: 52px;
  padding: 8px;
  background: #060608;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.14),
    inset 0 0 4px rgba(0, 0, 0, 0.9);
}

/* Tela Super Retina XDR (topo iOS + captura limpa do app sem barra Android + base segura iOS) */
.iphone-tela {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 44px;
  overflow: hidden;
  background: #f2f2f7;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.08);
}

/* Barra de status iOS nativa + Dynamic Island realista */
.iphone-status {
  position: relative;
  z-index: 3;
  flex: none;
  height: 54px;
  padding: 2px 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f2f2f7;
  color: #1d1d1f;
  pointer-events: none;
}
.iphone-hora {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.iphone-icones {
  width: 64px;
  height: 13px;
  flex: none;
  display: block;
}
.iphone-ilha {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 27px;
  border-radius: 999px;
  background: #000000;
  box-shadow: inset 0 0 0 0.8px rgba(255, 255, 255, 0.08);
}
/* Lente óptica da câmera frontal TrueDepth dentro da Dynamic Island */
.iphone-ilha::after {
  content: '';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 34%, rgba(168, 214, 255, 0.72) 0%, rgba(44, 98, 178, 0.55) 26%, #0b162a 56%, #141923 100%);
  box-shadow: inset 0 0 0 1.4px rgba(255, 255, 255, 0.08);
}

/* Área da captura real do app: recorta exatamente a barra Android do topo (7%) e base (3.9%) com zero sobra */
.iphone-app {
  position: relative;
  overflow: hidden;
  background: #f2f2f7;
}
.iphone-app img {
  width: 100%;
  height: auto;
  display: block;
  margin-top: -7%;
  margin-bottom: -3.9%;
}

/* Rodapé seguro iOS com Home Indicator */
.iphone-home {
  position: relative;
  z-index: 3;
  flex: none;
  height: 26px;
  background: #ffffff;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 8px;
  pointer-events: none;
}
.iphone-tela.base-cinza .iphone-home {
  background: #f2f2f7;
}
.iphone-home::before {
  content: '';
  width: 114px;
  height: 4.5px;
  border-radius: 999px;
  background: rgba(29, 29, 31, 0.82);
}

/* Reflexo sutil do vidro Ceramic Shield + brilho ao entrar em foco */
.iphone-vidro {
  position: absolute;
  inset: 0;
  border-radius: 44px;
  background: linear-gradient(128deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0.04) 24%, transparent 46%);
  pointer-events: none;
  z-index: 4;
}
.iphone-vidro::after {
  content: '';
  position: absolute;
  inset: -20% -60%;
  background: linear-gradient(108deg, transparent 42%, rgba(255, 255, 255, 0.28) 50%, transparent 58%);
  transform: translateX(-110%);
  opacity: 0;
}
.vitrine-item[data-fase='entrando'] .iphone-vidro::after {
  animation: reflexo-vidro 0.95s cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes reflexo-vidro {
  0% {
    transform: translateX(-85%);
    opacity: 0;
  }
  28% {
    opacity: 1;
  }
  100% {
    transform: translateX(85%);
    opacity: 0;
  }
}

/* Compatibilidade se algum bloco ainda usar .celular simples */
.celular {
  position: relative;
  border-radius: 46px;
  padding: 10px;
  background: linear-gradient(145deg, #2c2c2e, #1d1d1f 40%, #3a3a3c);
  box-shadow: var(--sombra-celular), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1);
}
.celular img {
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 36px;
  background: #f2f2f7;
}

/* ---------- Seções ---------- */
.secao {
  padding: 110px 0;
}
.secao.cinza {
  background: var(--fundo-2);
}
.cabeca {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}
.cabeca .rotulo {
  display: block;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}
.cabeca h2 {
  font-size: clamp(34px, 5vw, 56px);
}
.cabeca p {
  font-size: clamp(18px, 2vw, 21px);
  color: var(--texto-2);
  margin-top: 16px;
  line-height: 1.42;
}
.tom-destaque {
  color: var(--destaque);
}
.tom-verde {
  color: var(--verde);
}
.tom-indigo {
  color: var(--indigo);
}
.tom-laranja {
  color: var(--laranja);
}

/* Cartões dos três perfis (início) */
.perfis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.perfil {
  display: flex;
  flex-direction: column;
  background: var(--superficie);
  border-radius: 28px;
  padding: 34px 30px 0;
  overflow: hidden;
  color: var(--texto);
  box-shadow: var(--sombra-cartao);
  transition: transform 0.5s var(--curva), box-shadow 0.5s var(--curva);
}
.perfil:hover {
  text-decoration: none;
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05), 0 24px 48px rgba(0, 0, 0, 0.1);
}
.perfil .marcador {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.perfil h3 {
  font-size: 28px;
  margin-bottom: 8px;
}
.perfil p {
  color: var(--texto-2);
  margin-bottom: 16px;
}
.perfil .tela {
  margin: 24px auto 0;
  width: 82%;
  max-height: 290px;
  overflow: hidden;
  transform: translateY(14px);
  transition: transform 0.6s var(--curva);
}
.perfil .tela .iphone {
  border-radius: 44px 44px 0 0;
  padding: 3.5px 3.5px 0;
  box-shadow: 0 16px 32px -12px rgba(0, 0, 0, 0.22);
}
.perfil .tela .iphone::before,
.perfil .tela .iphone::after {
  display: none;
}
.perfil .tela .iphone-borda {
  border-radius: 40px 40px 0 0;
  padding: 7px 7px 0;
}
.perfil .tela .iphone-tela {
  border-radius: 34px 34px 0 0;
}
.perfil .tela .iphone-status {
  height: 40px;
  padding: 2px 18px 0;
}
.perfil .tela .iphone-hora {
  font-size: 11px;
}
.perfil .tela .iphone-icones {
  width: 50px;
  height: 10px;
}
.perfil .tela .iphone-ilha {
  top: 9px;
  width: 68px;
  height: 20px;
}
.perfil .tela .iphone-ilha::after {
  right: 6px;
  width: 8px;
  height: 8px;
}
.perfil .tela .iphone-home {
  display: none;
}
.perfil:hover .tela {
  transform: translateY(2px);
}

/* Grade de recursos (bento) */
.grade {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cartao {
  background: var(--superficie);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--sombra-cartao);
}
.secao:not(.cinza) .cartao {
  background: var(--fundo-2);
  box-shadow: none;
}
.cartao.largo {
  grid-column: span 2;
}
.cartao .marcador {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.cartao .marcador .icone {
  width: 26px;
  height: 26px;
}
.cartao h3 {
  font-size: 24px;
  margin-bottom: 8px;
  letter-spacing: -0.025em;
}
.cartao p {
  color: var(--texto-2);
}
.cartao .grande {
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 6px 0 12px;
}
.fundo-destaque {
  background: var(--destaque-suave);
  color: var(--destaque);
}
.fundo-verde {
  background: var(--verde-suave);
  color: var(--verde);
}
.fundo-indigo {
  background: var(--indigo-suave);
  color: var(--indigo);
}
.fundo-laranja {
  background: var(--laranja-suave);
  color: var(--laranja);
}
.fundo-vermelho {
  background: var(--vermelho-suave);
  color: var(--vermelho);
}

/* Texto de um lado, celular do outro */
.dividido {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.dividido + .dividido {
  margin-top: 120px;
}
.dividido.invertido .lado-celular {
  order: -1;
}
.dividido h2 {
  font-size: clamp(32px, 4.4vw, 48px);
  margin-bottom: 18px;
}
.dividido .texto > p {
  font-size: 19px;
  color: var(--texto-2);
  line-height: 1.45;
}
.lado-celular {
  display: flex;
  justify-content: center;
}
.lado-celular .celular,
.lado-celular .iphone {
  width: min(344px, 84vw);
}
.lista {
  list-style: none;
  margin-top: 26px;
  display: grid;
  gap: 16px;
}
.lista li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.lista .marcador {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.lista .marcador .icone {
  width: 20px;
  height: 20px;
}
.lista strong {
  display: block;
  font-weight: 600;
}
.lista span {
  color: var(--texto-2);
  font-size: 16px;
}

/* Passo a passo numerado */
.passos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: passo;
  position: relative;
}
.passos.tres {
  grid-template-columns: repeat(3, 1fr);
}
.passo {
  counter-increment: passo;
  position: relative;
  padding-top: 64px;
}
.passo::before {
  content: counter(passo);
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--destaque);
  color: #fff;
  font-weight: 700;
  font-size: 19px;
  box-shadow: 0 0 0 8px var(--fundo-2);
  z-index: 1;
}
.secao:not(.cinza) .passo::before {
  box-shadow: 0 0 0 8px var(--fundo);
}
.passo::after {
  content: '';
  position: absolute;
  top: 21px;
  left: 44px;
  right: -20px;
  height: 2px;
  background: linear-gradient(90deg, var(--destaque), rgba(0, 113, 227, 0.15));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s var(--curva) 0.3s;
}
.passo:last-child::after {
  display: none;
}
.passo.visivel::after {
  transform: scaleX(1);
}
.passo h3 {
  font-size: 21px;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.passo p {
  color: var(--texto-2);
  font-size: 16px;
}

/* Faixa de números */
.numeros {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.numeros strong {
  display: block;
  font-size: clamp(48px, 7vw, 76px);
  letter-spacing: -0.045em;
  line-height: 1;
  font-weight: 700;
}
.numeros span {
  color: var(--texto-2);
  display: block;
  margin-top: 10px;
}

/* Chamada final */
.cta {
  text-align: center;
  border-radius: 36px;
  padding: 80px 32px;
  background: radial-gradient(120% 140% at 50% 0%, #eaf3ff 0%, #f5f5f7 55%);
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-size: clamp(32px, 5vw, 52px);
  max-width: 720px;
  margin: 0 auto;
}
.cta p {
  color: var(--texto-2);
  font-size: 19px;
  max-width: 560px;
  margin: 16px auto 0;
}
.cta .nota {
  font-size: 14px;
  margin-top: 26px;
}

/* Navegação entre as páginas no fim de cada uma */
.proxima {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--separador);
  padding-top: 28px;
  margin-top: 80px;
}
.proxima a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 21px;
  font-weight: 600;
  color: var(--texto);
  letter-spacing: -0.02em;
}
.proxima a:hover {
  color: var(--destaque-texto);
  text-decoration: none;
}
.proxima a small {
  font-size: 14px;
  font-weight: 400;
  color: var(--texto-2);
}
.proxima a:last-child {
  text-align: right;
  margin-left: auto;
}

/* ---------- Rodapé ---------- */
.rodape {
  background: var(--fundo-2);
  color: var(--texto-2);
  font-size: 12px;
  line-height: 1.5;
  padding: 36px 0 calc(28px + env(safe-area-inset-bottom));
  letter-spacing: -0.01em;
}
.rodape-colunas {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.rodape h4 {
  font-size: 12px;
  font-weight: 600;
  color: var(--texto);
  margin-bottom: 8px;
}
.rodape ul {
  list-style: none;
  display: grid;
  gap: 6px;
}
.rodape a {
  color: var(--texto-2);
}
.rodape a:hover {
  color: var(--texto);
}
.rodape .sobre {
  max-width: 340px;
}
.rodape .linha-final {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  padding-top: 16px;
}

/* ---------- Animações ---------- */
/* Só esconde os blocos quando o site.js rodou (marca .js no <html>); sem ele, tudo aparece normal. */
.js .revelar {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--curva), transform 0.9s var(--curva);
  transition-delay: var(--atraso, 0s);
}
.js .revelar.visivel {
  opacity: 1;
  transform: none;
}
.surgir {
  animation: surgir 1s var(--curva) both;
  animation-delay: var(--atraso, 0s);
}
@keyframes surgir {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
}
.vitrine {
  animation: surgir-vitrine 1.1s var(--curva) 0.2s both;
}
@keyframes surgir-vitrine {
  from {
    opacity: 0;
    transform: translateY(48px);
  }
}
.flutuar {
  animation: flutuar 6s ease-in-out infinite;
}
@keyframes flutuar {
  50% {
    transform: translateY(-12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .revelar {
    opacity: 1;
    transform: none;
  }
  .passo::after {
    transform: scaleX(1);
  }
}

/* ---------- Telas menores ---------- */
@media (max-width: 1040px) {
  .vitrine {
    height: 620px;
  }
  .vitrine-item {
    width: 306px;
    margin-left: -153px;
  }
  .vitrine-item[data-pos='esquerda'] {
    transform: translate3d(calc(-258px - var(--par-lado-x, 0px)), calc(34px + var(--par-lado-y, 0px)), -130px) rotateY(17deg) rotateZ(-3deg) scale(0.84);
  }
  .vitrine-item[data-pos='direita'] {
    transform: translate3d(calc(258px + var(--par-lado-x, 0px)), calc(34px + var(--par-lado-y, 0px)), -130px) rotateY(-17deg) rotateZ(3deg) scale(0.84);
  }
  .grade {
    grid-template-columns: repeat(2, 1fr);
  }
  .passos {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .passo:nth-child(2n)::after {
    display: none;
  }
}
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    height: calc(100dvh - 56px);
    padding: 12px 22px 24px;
    background: #ffffff;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.3s var(--curva), transform 0.3s var(--curva);
  }
  .nav.aberta .nav-links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a {
    display: block;
    padding: 14px 0;
    font-size: 24px;
    font-weight: 600;
    border-bottom: 1px solid var(--separador);
  }
  .nav-menu {
    display: block;
  }
  .nav-linha {
    gap: 8px;
  }
  .perfis,
  .dividido,
  .numeros {
    grid-template-columns: 1fr;
  }
  .dividido {
    gap: 48px;
  }
  .dividido.invertido .lado-celular {
    order: 0;
  }
  .vitrine {
    height: 590px;
    margin-top: 26px;
  }
  .vitrine-item {
    width: 288px;
    margin-left: -144px;
  }
  .vitrine-item[data-pos='esquerda'] {
    transform: translate3d(-154px, 32px, -130px) rotateY(18deg) rotateZ(-4deg) scale(0.82);
    opacity: 0.44;
  }
  .vitrine-item[data-pos='direita'] {
    transform: translate3d(154px, 32px, -130px) rotateY(-18deg) rotateZ(4deg) scale(0.82);
    opacity: 0.44;
  }
  .vitrine-item[data-pos='esquerda']:hover,
  .vitrine-item[data-pos='direita']:hover {
    opacity: 0.7;
  }
  .iphone {
    border-radius: 48px;
  }
  .iphone-borda {
    border-radius: 44px;
    padding: 7px;
  }
  .iphone-tela,
  .iphone-vidro {
    border-radius: 37px;
  }
  .iphone-status {
    height: 46px;
    padding: 2px 20px 0;
  }
  .iphone-hora {
    font-size: 12px;
  }
  .iphone-icones {
    width: 56px;
    height: 11px;
  }
  .iphone-ilha {
    top: 10px;
    width: 78px;
    height: 23px;
  }
  .iphone-ilha::after {
    right: 7px;
    width: 9px;
    height: 9px;
  }
  .iphone-home {
    height: 22px;
    padding-bottom: 6px;
  }
  .iphone-home::before {
    width: 96px;
    height: 4px;
  }
  .vitrine-seta {
    display: none;
  }
  .segmentado {
    grid-template-columns: repeat(3, minmax(96px, 1fr));
  }
  .segmentado-botao {
    padding: 8px 12px;
    font-size: 13.5px;
  }
  .rodape-colunas {
    grid-template-columns: 1fr 1fr;
  }
  .rodape .sobre {
    grid-column: 1 / -1;
  }
}
@media (max-width: 640px) {
  body {
    font-size: 16px;
  }
  .secao {
    padding: 72px 0;
  }
  .capa {
    padding-top: 48px;
  }
  .grade,
  .passos,
  .passos.tres {
    grid-template-columns: 1fr;
  }
  .cartao.largo {
    grid-column: auto;
  }
  .passo::after {
    display: none;
  }
  .cta {
    padding: 56px 22px;
    border-radius: 28px;
  }
  .nav .botao.pequeno {
    display: none;
  }
  .proxima a {
    font-size: 18px;
  }
}
