/* =========================================================
   ETAPA 3 (50–75%) · Experiência MDC — Mobi 3D interativo
   ========================================================= */

.experiencia { position: relative; padding: clamp(90px, 11vw, 140px) 0; background: var(--preto); overflow: hidden; }
.experiencia::before {
  content: ""; position: absolute; left: 50%; top: 58%; width: 120vw; height: 70%;
  transform: translate(-50%, -50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(30, 107, 255, .18), transparent 70%);
}
.experiencia-topo { position: relative; text-align: center; }
.experiencia-topo .etiqueta { justify-content: center; }
.experiencia-topo h2 {
  margin-top: 20px; font-family: var(--fonte-titulo); font-weight: 700; color: var(--branco);
  font-size: clamp(30px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -.02em;
}
.experiencia-topo p { max-width: 560px; margin: 18px auto 0; font-size: 16px; color: var(--texto-suave); }

.palco { position: relative; display: grid; grid-template-columns: 1.45fr .85fr; gap: clamp(20px, 3vw, 40px); align-items: center; margin-top: clamp(30px, 4vw, 50px); }

/* ---------- Carro ---------- */
.carro-3d { position: relative; height: clamp(420px, 56vw, 640px); }
.carro-3d model-viewer {
  width: 100%; height: 100%; background: transparent;
  --poster-color: transparent; --progress-bar-color: var(--ciano); --progress-bar-height: 2px;
}
.carro-3d .poster { width: 100%; height: 100%; object-fit: contain; opacity: .9; }
.carregando {
  position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--texto-suave);
}
.dica-girar {
  position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  font-size: 12px; color: var(--texto); background: rgba(255, 255, 255, .06); border: 1px solid var(--linha);
  pointer-events: none; transition: opacity .5s;
}
.dica-girar svg { width: 16px; height: 16px; color: var(--ciano); }
.carro-3d.mexeu .dica-girar { opacity: 0; }

/* pontos clicáveis no carro */
.ponto {
  --tam: 34px;
  position: relative; width: var(--tam); height: var(--tam); border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 13px; color: var(--branco);
  background: var(--gradiente); box-shadow: 0 0 0 4px rgba(34, 211, 238, .18), 0 6px 20px rgba(0, 0, 0, .5);
  cursor: pointer; transition: transform .25s var(--curva), opacity .3s;
}
.ponto::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid rgba(34, 211, 238, .55); animation: respirar 2.4s ease-out infinite;
}
@keyframes respirar { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.7); opacity: 0; } }
.ponto:hover, .ponto.ativo { transform: scale(1.15); }
.ponto.ativo { background: var(--branco); color: var(--preto); }
/* model-viewer põe data-visible quando o ponto está virado pra câmera; do outro lado do carro ele fica apagado */
.ponto:not([data-visible]) { opacity: .2; pointer-events: none; }
.ponto .rotulo {
  position: absolute; left: calc(100% + 10px); top: 50%; transform: translateY(-50%);
  white-space: nowrap; padding: 6px 10px; border-radius: 8px;
  font-family: var(--fonte-texto); font-weight: 500; font-size: 12px; color: var(--branco);
  background: rgba(3, 4, 5, .82); border: 1px solid var(--linha);
  opacity: 0; pointer-events: none; transition: opacity .2s;
}
.ponto:hover .rotulo, .ponto.ativo .rotulo { opacity: 1; }

/* ---------- Painel ---------- */
.painel {
  position: relative; border-radius: 22px; overflow: hidden;
  background: rgba(14, 17, 22, .85); border: 1px solid var(--linha);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  min-height: 420px;
}
.painel-inicio { padding: clamp(24px, 3vw, 36px); }
.painel-inicio h3 { font-family: var(--fonte-titulo); font-weight: 600; font-size: 20px; color: var(--branco); }
.painel-inicio p { margin-top: 8px; font-size: 14px; color: var(--texto-suave); }
.lista-pontos { list-style: none; margin-top: 22px; display: grid; gap: 6px; }
.lista-pontos button {
  width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px;
  text-align: left; font-size: 15px; color: var(--texto); border: 1px solid transparent; transition: background .2s, border-color .2s;
}
.lista-pontos button:hover { background: rgba(255, 255, 255, .04); border-color: var(--linha); color: var(--branco); }
.lista-pontos .num {
  flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--fonte-titulo); font-weight: 700; font-size: 12px; color: var(--branco); background: var(--gradiente);
}

.painel-detalhe { display: none; }
.painel.aberto .painel-inicio { display: none; }
.painel.aberto .painel-detalhe { display: block; animation: surgir .45s var(--curva); }
@keyframes surgir { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.detalhe-imagem { position: relative; aspect-ratio: 16 / 10; background: var(--grafite); }
.detalhe-imagem img { width: 100%; height: 100%; object-fit: cover; }
.detalhe-imagem .selo {
  position: absolute; left: 12px; top: 12px; padding: 5px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600; letter-spacing: .06em; color: var(--branco);
  background: rgba(3, 4, 5, .75); border: 1px solid rgba(255, 255, 255, .14);
}
.detalhe-texto { padding: 22px clamp(22px, 2.6vw, 30px) 26px; }
.detalhe-texto .analise-numero { font-size: 12px; }
.detalhe-texto h3 { margin-top: 8px; font-family: var(--fonte-titulo); font-weight: 700; font-size: 24px; color: var(--branco); line-height: 1.15; }
.detalhe-texto p { margin-top: 10px; font-size: 15px; color: var(--texto-suave); }
.detalhe-texto .itens { margin-top: 16px; }
.detalhe-acoes { display: flex; gap: 10px; margin-top: 22px; }
.detalhe-acoes .botao { height: 44px; padding: 0 18px; font-size: 14px; }
.fechar {
  position: absolute; right: 12px; top: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(3, 4, 5, .7); border: 1px solid rgba(255, 255, 255, .14); color: var(--branco);
}
.fechar svg { width: 16px; height: 16px; }
.aviso-demo { margin-top: 18px; font-size: 12px; color: var(--texto-suave); text-align: center; }

/* ---------- Celular ---------- */
@media (max-width: 900px) {
  .palco { grid-template-columns: 1fr; }
  .carro-3d { height: min(78vw, 460px); margin: 0 calc(var(--margem) * -1); }
  .painel { min-height: 0; }
  .ponto { --tam: 30px; font-size: 12px; }
  .ponto .rotulo { display: none; }
}
@media (max-width: 560px) {
  .experiencia-topo { text-align: left; }
  .experiencia-topo .etiqueta { justify-content: flex-start; }
  .detalhe-acoes { flex-direction: column; }
  .detalhe-acoes .botao { width: 100%; }
}
