/* ====================== editorial (referência: sites acadêmicos) + 3D ====================== */
:root { --serifa: "Source Serif 4", Georgia, "Times New Roman", serif; --noite: #07131d; --papel: #f7f6f2; }
body { background: var(--papel); }
h1, h2 { font-family: var(--serifa); font-weight: 600; letter-spacing: -.015em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.06; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.1; }
.olho { color: var(--azul); }
.olho::before { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--areia); vertical-align: middle; margin-right: 10px; transform: translateY(-2px); }
.secao-clara { background: #fff; }
.card { box-shadow: none; border: 1px solid var(--linha); border-radius: 14px; }
.card:hover { box-shadow: 0 18px 40px -18px rgba(14,40,60,.35); }
.card-corpo h3 { font-family: var(--serifa); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }
.item h3, .linha-card h3 { font-family: var(--serifa); font-size: 1.3rem; font-weight: 600; }
.item { box-shadow: none; border: 1px solid var(--linha); }
.secao-azul { background: var(--noite); }
.secao-azul .item { border-color: rgba(255,255,255,.12); }
.citacao { font-family: var(--serifa); font-style: italic; font-weight: 500; }
.compra h1 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.compra { border: 1px solid var(--linha); box-shadow: none; }
.bloco { border: 1px solid var(--linha); box-shadow: none; }

/* ---------- vitrine 3D que desmonta com a rolagem ---------- */
.show { position: relative; height: 330vh; background: var(--noite); color: #dbe7f1; }
.show-fixo { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.show-fixo::after { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: radial-gradient(1100px 600px at 68% 58%, rgba(47,159,216,.16), transparent 62%), linear-gradient(180deg, rgba(7,19,29,.55) 0%, rgba(7,19,29,0) 30%, rgba(7,19,29,0) 70%, rgba(7,19,29,.8)); }
.show-3d, .show-3d.v3d { position: absolute; inset: 0; }
.show-texto { position: absolute; z-index: 2; left: max(16px, calc((100vw - 1180px) / 2 + 16px)); top: clamp(92px, 15vh, 150px); max-width: 560px; transition: opacity .3s; }
.show-texto .olho { color: var(--areia); }
.show-texto .olho::before { background: var(--agua); }
.show-texto h1 { color: #fff; font-size: clamp(2.3rem, 5.4vw, 4.2rem); }
.show-texto h1 em { font-style: italic; color: var(--areia); }
.show-texto p { color: #a9bccb; font-size: 1.1rem; max-width: 30em; }
.show-texto .botoes { margin-top: 22px; }
.show-texto .btn-claro { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.show-texto .btn-claro:hover { background: rgba(255,255,255,.08); }
.show-camadas { position: absolute; z-index: 2; right: max(16px, calc((100vw - 1180px) / 2 + 16px)); bottom: 13vh; list-style: none; margin: 0; padding: 0; text-align: right; }
.show-camadas li { font: 600 .95rem/1.2 var(--titulo); color: rgba(219,231,241,.25); padding: 5px 0; transition: color .35s, transform .35s; }
.show-camadas li.ativa { color: #fff; transform: translateX(-6px); }
.show-camadas li.ativa::after { content: ""; display: inline-block; width: 26px; height: 2px; background: var(--areia); margin-left: 10px; vertical-align: middle; }
.show-camadas .titulo-camadas { font: 700 .72rem/1 var(--titulo); letter-spacing: .16em; text-transform: uppercase; color: var(--areia); padding-bottom: 12px; }
.show-rolagem { position: absolute; z-index: 2; left: 50%; bottom: 26px; transform: translateX(-50%); font: 600 .72rem/1 var(--titulo); letter-spacing: .18em; text-transform: uppercase; color: #7f97aa; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .4s; }
.show-rolagem i { width: 2px; height: 34px; background: linear-gradient(var(--areia), transparent); animation: desce 1.6s infinite; }
@keyframes desce { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.show-progresso { position: absolute; z-index: 2; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--agua), var(--areia), #8a96a3, var(--antracito)); transform-origin: left; transform: scaleX(0); }
@media (max-width: 760px) {
  .show { height: 280vh; }
  .show-texto { top: 84px; right: 16px; }
  .show-texto h1 { font-size: 2.2rem; }
  .show-texto p { font-size: .98rem; }
  .show-3d, .show-3d.v3d { top: 40vh; bottom: 4vh; }
  .show-camadas { bottom: 10vh; }
  .show-camadas li:not(.ativa):not(.titulo-camadas) { display: none; }
}

/* ---------- visualizador 3D ---------- */
.v3d { position: relative; overflow: hidden; user-select: none; -webkit-user-select: none; }
.v3d-tela { display: block; width: 100%; height: 100%; outline: none; cursor: grab; touch-action: none; opacity: 0; transition: opacity .8s; }
.v3d-vitrine .v3d-tela { touch-action: pan-y; cursor: default; }
.v3d-tela:active { cursor: grabbing; }
.v3d-pronto .v3d-tela { opacity: 1; }
.v3d-carregando { position: absolute; inset: 0; display: grid; place-content: center; gap: 12px; text-align: center; color: var(--suave); transition: opacity .5s; pointer-events: none; }
.v3d-vitrine .v3d-carregando { color: #7f97aa; }
.v3d-barra { width: 180px; height: 3px; background: rgba(127,151,170,.25); border-radius: 3px; overflow: hidden; margin: 0 auto; }
.v3d-barra i { display: block; height: 100%; width: 8%; background: var(--agua); transition: width .2s; }
.v3d-pronto .v3d-carregando { opacity: 0; }
.v3d-dica { position: absolute; left: 0; top: 0; z-index: 3; pointer-events: none; background: rgba(7,19,29,.9); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: .88rem; max-width: 260px; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.v3d-dica strong { display: block; font-family: var(--titulo); }
.v3d-dica small { color: #9fb6c8; }
.v3d-etapa { position: absolute; left: 14px; top: 14px; z-index: 2; background: rgba(255,255,255,.95); border-radius: 12px; padding: 10px 14px; box-shadow: var(--sombra); max-width: calc(100% - 28px); }
.v3d-etapa small { display: block; font: 700 .7rem/1.3 var(--titulo); letter-spacing: .12em; text-transform: uppercase; color: var(--agua); }
.v3d-etapa strong { font-family: var(--serifa); font-size: 1.15rem; font-weight: 600; }
.v3d-controles { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.v3d-grupo { display: flex; gap: 6px; }
.v3d-btn { font: 600 .86rem/1 Inter, sans-serif; padding: 11px 14px; border-radius: 10px; border: 0; cursor: pointer; background: rgba(255,255,255,.95); color: var(--texto); box-shadow: 0 2px 8px rgba(14,40,60,.14); }
.v3d-btn:hover { background: #fff; }
.v3d-principal { background: var(--azul); color: #fff; }
.v3d-principal:hover { background: var(--azul-esc); }
.v3d-icone { width: 38px; padding: 10px 0; font-size: 1rem; }
.v3d-btn[aria-pressed="false"] { opacity: .55; }
.v3d-deslize { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); border-radius: 10px; padding: 7px 12px; font-size: .8rem; font-weight: 600; color: var(--suave); box-shadow: 0 2px 8px rgba(14,40,60,.14); flex: 1; min-width: 170px; max-width: 300px; }
.v3d-deslize input { flex: 1; accent-color: var(--azul); }
.v3d-passos { display: flex; align-items: center; gap: 6px; }
.v3d-contador { font: 700 .85rem/1 var(--titulo); background: rgba(255,255,255,.95); padding: 11px 10px; border-radius: 10px; }
.v3d-camadas { flex-basis: 100%; display: flex; order: -1; flex-wrap: wrap; gap: 6px; }
.v3d-chip { display: inline-flex; align-items: center; gap: 6px; font: 500 .78rem/1 Inter, sans-serif; padding: 7px 10px; border-radius: 99px; border: 0; background: rgba(255,255,255,.92); color: var(--texto); cursor: pointer; box-shadow: 0 1px 4px rgba(14,40,60,.1); }
.v3d-chip i { width: 11px; height: 11px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.15); }
.v3d-chip[aria-pressed="false"] { opacity: .45; text-decoration: line-through; }
.v3d-poster { width: 100%; height: 100%; object-fit: cover; }
.v3d:fullscreen { background: radial-gradient(circle at 50% 40%, #ffffff, #dfe7ee); }

/* palco 3D na página do produto */
.palco { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3.3;
  background: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #e9eff4 60%, #d7e1e9 100%); border: 1px solid var(--linha); }
.palco > .v3d { position: absolute; inset: 0; }
.palco-abas { display: flex; gap: 6px; margin-bottom: 10px; }
.palco-abas button { font: 600 .9rem/1 Inter, sans-serif; padding: 10px 14px; border-radius: 99px; border: 1.5px solid var(--linha); background: #fff; cursor: pointer; color: var(--texto); }
.palco-abas button[aria-pressed="true"] { background: var(--azul); border-color: var(--azul); color: #fff; }
.palco-dica { font-size: .85rem; color: var(--suave); margin: 8px 2px 0; }
@media (max-width: 560px) {
  .palco { aspect-ratio: 3 / 4.2; }
  .v3d-deslize { max-width: none; flex-basis: 100%; order: 3; }
  .v3d-chip { font-size: .74rem; padding: 6px 9px; }
}

/* destaque 3D na home */
.destaque3d { display: grid; grid-template-columns: 1.35fr 1fr; gap: 44px; align-items: center; }
.destaque3d .palco { aspect-ratio: 16 / 11; }
.destaque3d ul { padding-left: 1.1em; color: var(--suave); }
.destaque3d li { margin-bottom: 6px; }
@media (max-width: 960px) { .destaque3d { grid-template-columns: 1fr; } .destaque3d .palco { aspect-ratio: 4 / 4; } }

/* aviso de cookies e lista do kit */
.cookies { position: fixed; left: 16px; bottom: 16px; z-index: 70; max-width: 420px; background: #fff; border: 1px solid var(--linha); border-radius: 14px; padding: 16px 18px; box-shadow: 0 18px 40px -12px rgba(7,19,29,.35); }
.cookies p { margin: 0 0 12px; font-size: .92rem; color: var(--suave); }
.cookies .btn { padding: 11px 18px; font-size: .92rem; }
@media (max-width: 560px) { .cookies { left: 12px; right: 12px; bottom: 86px; max-width: none; } }
.lista-kit { columns: 2; column-gap: 32px; }
.lista-kit li { break-inside: avoid; }
@media (max-width: 760px) { .lista-kit { columns: 1; } }

/* simulação da ETA funcional */
.v3d-ligar { background: #1faa55; color: #fff; font-weight: 700; }
.v3d-ligar:hover { background: #178a45; }
.v3d-ligar.ligada { background: var(--vermelho); }
.v3d-sim { position: absolute; left: 14px; top: 14px; z-index: 2; width: min(300px, calc(100% - 28px)); background: rgba(255,255,255,.95); border-radius: 14px; padding: 14px 16px; box-shadow: var(--sombra); max-height: calc(100% - 120px); overflow: auto; }
.v3d-sim > small { display: block; font: 700 .7rem/1.3 var(--titulo); letter-spacing: .12em; color: #1faa55; margin-bottom: 8px; }
.v3d-sim > small::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #1faa55; margin-right: 6px; animation: pisca 1s infinite; }
@keyframes pisca { 50% { opacity: .25; } }
.v3d-sim ol { list-style: none; margin: 0; padding: 0; counter-reset: e; min-height: 74px; }
.v3d-pontos { display: flex; gap: 5px; margin-top: 6px; }
.v3d-pontos i { flex: 1; height: 3px; border-radius: 2px; background: var(--linha); transition: background .3s; }
.v3d-pontos i.feito { background: var(--agua); }
.v3d-sim li:not(.ativa) { display: none; }
.v3d-sim li { counter-increment: e; padding: 6px 0 6px 28px; position: relative; color: var(--suave); font-size: .82rem; line-height: 1.35; transition: color .3s; }
.v3d-sim li::before { content: attr(data-n); position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font: 700 .72rem/1 var(--titulo); background: var(--fundo); color: var(--suave); }
.v3d-sim li strong { display: block; color: var(--texto); font-family: var(--titulo); font-size: .88rem; }
.v3d-sim li span { display: none; }
.v3d-sim li.ativa span { display: block; }
.v3d-sim li.ativa::before { background: var(--agua); color: #fff; }
.v3d-legenda { margin: 8px 0 0; font-size: .72rem; color: var(--suave); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.v3d-legenda i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
@media (max-width: 560px) { .v3d-sim { padding: 10px 12px; } .v3d-sim li:not(.ativa) { display: none; } }

/* opção de arquivos digitais: fácil de achar, sem disputar com a maquete impressa */
.card-digital { font-size: .8rem; color: var(--suave); margin-top: 4px; }
.opcao-digital { background: transparent; box-shadow: none; border: 1px dashed var(--linha); border-radius: 12px; padding: 10px 14px; margin: 4px 0 6px; }
.opcao-digital summary { font: 600 .88rem/1.4 Inter, sans-serif; color: var(--azul); cursor: pointer; }
.opcao-digital[open] summary { margin-bottom: 10px; }
.variante-digital { font-size: .9rem; background: var(--fundo); }
.variante-digital strong { font-weight: 600; color: var(--suave); }
