/* Tomo IV: vinhetas em profundidade, seguindo o movimento dos demais tomos. */
.capa-solta--moldura{--couro-capa:#352315}
.livro-moldura .capa-solta,.livro-moldura:hover .capa-solta{transform:none}
.capa__janela--moldura{flex:1 1 auto;width:70cqi;border-radius:5px;min-height:25cqi;background:#1d150e}
.capa__janela--moldura img.retrato-moldura{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:78% 40%;transform:none!important}
.capa__janela--moldura::after{box-shadow:inset 0 0 15px #14080466}
.livro-moldura .capa__titulo{font-size:15cqi}
.livro-moldura .capa__sub{font-size:max(11px,4.4cqi);margin-bottom:4cqi}
html[data-tomo="4"] .abertura .capa__titulo{font-size:15cqi}
html[data-tomo="4"] .abertura .capa__sub{font-size:max(12px,4.2cqi);margin-bottom:4cqi}
/* A imagem do destaque fica acima do texto no celular, sem o espaçamento herdado. */
@media(max-width:760px){.destaque--moldura{min-height:0}.destaque--moldura>img{position:relative;height:auto;aspect-ratio:1672/941;object-position:center;object-fit:contain}.destaque--moldura .destaque__texto{padding:22px 24px 30px}.destaque--moldura::after{background:linear-gradient(0deg,#18110c 0%,transparent 45%)}}

.m4-scene{margin:36px auto 42px;max-width:570px;isolation:isolate}
.m4-stage{--glow:#d2a350;position:relative;height:260px;perspective:900px;overflow:hidden;isolation:isolate;border:1px solid #b7985d55;border-radius:16px;background:radial-gradient(ellipse at 50% 40%,#4c2f2666,transparent 62%),linear-gradient(150deg,#201c22,#0d0c15 65%,#231b24);box-shadow:inset 0 0 50px #0007,0 14px 30px #0002}
.m4-stage::before{content:"";position:absolute;inset:0;background-image:radial-gradient(circle,#efc47299 1px,transparent 1.5px);background-size:43px 37px;opacity:.3;mask-image:radial-gradient(ellipse,#000,transparent 75%)}
.m4-scene figcaption{text-align:center;margin:14px 0 0;font:400 .8rem/1.5 var(--f-versal);letter-spacing:.08em;color:var(--tinta-2)}
.m4-scene figcaption span{color:#ad8546;margin:0 6px}
.escura .m4-scene figcaption{color:#dcc4ee}
.m4-aura{position:absolute;left:50%;top:50%;width:190px;height:120px;border-radius:50%;transform:translate(-50%,-50%);background:var(--glow);opacity:.16;filter:blur(35px)}
.m4-world{position:absolute;inset:0;transform-style:preserve-3d;transform:rotateX(12deg) rotateY(-13deg)}
.m4-world>div{position:absolute;transform-style:preserve-3d}
.m4-floor{width:240px;height:160px;left:calc(50% - 120px);top:150px;transform:rotateX(75deg) translateZ(-50px);border:1px solid #b98a3c55;border-radius:50%;background:radial-gradient(ellipse,#d3a04d26,transparent 65%);box-shadow:0 0 30px #c69f3420}
.m4-apple{width:75px;height:73px;left:calc(50% - 37px);top:76px;border-radius:45% 45% 42% 42%;transform:translateZ(45px);background:radial-gradient(circle at 30% 25%,#fff0c999,#ff7566 8%,#b52723 34%,#64120e 72%,#280b0d);box-shadow:inset -10px -9px 18px #25050899,0 0 32px #ffba5533,7px 8px 0 -4px #330f0f}
.m4-apple::before{content:"";position:absolute;width:6px;height:19px;background:linear-gradient(90deg,#ad9454,#38291b);left:37px;top:-14px;border-radius:5px;transform:rotate(17deg)}
.m4-apple i{position:absolute;left:43px;top:-11px;width:23px;height:12px;border-radius:0 90% 0 90%;background:linear-gradient(145deg,#b6c47a,#445c34);transform:rotate(-30deg)}
.m4-orbit{width:190px;height:190px;left:calc(50% - 95px);top:20px;border:2px solid #f1c873a8;border-radius:50%;transform:rotateX(66deg) rotateY(-12deg);box-shadow:0 0 13px #deb25655,inset 0 0 8px #deb25633}
.m4-orbit::after{content:"";position:absolute;top:24px;left:17px;width:8px;height:8px;background:#fff3bb;border-radius:50%;box-shadow:0 0 16px #ffc67d}
.m4-orbit--two{width:155px;height:155px;left:calc(50% - 77px);top:38px;transform:rotateX(-35deg) rotateY(65deg);border-width:1px}
.m4-stone{width:28px;height:32px;left:24%;top:80px;background:linear-gradient(135deg,#d0b998,#85715c 48%,#493b36);transform:translateZ(30px) rotate(27deg);box-shadow:6px 5px 0 #40342d,7px 6px 0 #baa083}
.m4-stone--b{left:auto;right:24%;top:150px;width:18px;height:22px;transform:translateZ(60px) rotate(-21deg)}
.m4-stone--c{left:60%;top:40px;width:36px;height:25px;transform:translateZ(-40px) rotate(17deg)}
.m4-frame{width:125px;height:160px;left:calc(50% - 62px);top:35px;border:12px ridge #cba359;transform:translateZ(30px);box-shadow:5px 4px 0 #8c6029,9px 7px 0 #4b301c,0 0 32px #d9ad4933;outline:1px solid #efd8a2;background:#14101c}
.m4-canvas{position:relative;width:100%;height:100%;overflow:hidden;background:radial-gradient(ellipse at center,#67432a88,#15101d 75%)}
.m4-silhouette{position:absolute;width:65px;height:93px;bottom:-15px;left:calc(50% - 32px);border-radius:46% 46% 20% 20%;background:linear-gradient(90deg,#090910,#2a1927 55%,#0a0911);box-shadow:0 0 17px #e5aa4a30}
.m4-silhouette::before{content:"";position:absolute;width:34px;height:42px;top:-29px;left:16px;background:#17111c;border-radius:45% 45% 48% 48%;box-shadow:-6px -4px 0 2px #090910,6px -4px 0 2px #090910}
.m4-hand{position:absolute;right:6px;top:42px;font-size:34px;filter:sepia(.7);opacity:.8}
.m4-mini-frame{width:56px;height:75px;left:22%;top:48px;border:6px ridge #c5a15f;background:linear-gradient(135deg,#304454,#734c37);transform:rotateY(25deg) rotateZ(-17deg) translateZ(20px);box-shadow:4px 3px 0 #71502e}
.m4-mini-frame--b{left:auto;right:21%;top:130px;width:44px;height:57px;transform:rotateY(-35deg) rotateZ(24deg) translateZ(60px)}
.m4-mini-frame--c{left:46%;top:33px;width:34px;height:47px;transform:rotateY(35deg) rotateZ(12deg) translateZ(-60px)}
.m4-stage--passagem{--glow:#ecc064}
.m4-portal{position:absolute;inset:-35%;border-radius:50%;background:conic-gradient(from 0deg,#5a3824,#ffe4a0,#bd68d0,#ffd067,#6751b4,#ffedac,#5a3824);filter:blur(6px);opacity:.8}
.m4-stage--passagem .m4-silhouette{background:linear-gradient(90deg,#533033,#b18961);box-shadow:0 0 15px #ffdda1;transform:translateZ(35px)}
.m4-spark{width:7px;height:7px;border-radius:50%;background:#ffdf9a;box-shadow:0 0 15px #ffc163;left:30%;top:70px;transform:translateZ(60px)}
.m4-spark--b{left:68%;top:160px;background:#d79bff;box-shadow:0 0 15px #ae60ff}
.m4-spark--c{left:55%;top:40px;background:#92d8ff;box-shadow:0 0 15px #4fb8ff}
.m4-stage--universo{--glow:#b165ef;background:radial-gradient(ellipse,#44215a,#0d0c15 70%)}
.m4-void{width:116px;height:116px;left:calc(50% - 58px);top:58px;border-radius:50%;background:radial-gradient(circle,#050509 40%,#41205d 47%,#d297ff 51%,#7d32ac 54%,transparent 69%);box-shadow:0 0 35px #a24de566;transform:rotateY(-25deg) translateZ(-20px)}
.m4-stage--universo .m4-orbit{border-color:#c592f6a8}
.m4-brush{width:130px;height:14px;left:calc(50% - 120px);top:129px;border-radius:20px 2px 2px 20px;transform:rotateZ(-35deg) translateZ(55px);background:linear-gradient(#f7d598,#8c4a27 45%,#3d1b1b);box-shadow:0 4px 0 #2c1721}
.m4-brush::after{content:"";position:absolute;right:-20px;top:-2px;width:30px;height:18px;border-radius:2px;background:linear-gradient(#eef2ee,#838287,#d5c5b6);box-shadow:0 3px 0 #57515e}
.m4-brush i{position:absolute;right:-53px;top:-3px;width:35px;height:21px;clip-path:polygon(0 0,100% 50%,0 100%);background:linear-gradient(#d79ce9,#f7c56b,#ce704e)}
.m4-paint-beam{width:180px;height:40px;left:calc(50% - 15px);top:88px;transform:rotateZ(-25deg) translateZ(30px);border-radius:50%;background:linear-gradient(0deg,transparent,#bc76f3 20%,#76cdf9 35%,#fff4ca 50%,#f0b762 64%,#f28bad 80%,transparent);filter:drop-shadow(0 0 10px #f2bafe);clip-path:polygon(0 50%,100% 0,90% 50%,100% 100%)}
.m4-impact{width:60px;height:60px;left:calc(50% + 95px);top:65px;background:radial-gradient(circle,#fff7db,#f5b3f080,#9f7fff33,transparent 70%);border-radius:50%;transform:translateZ(40px)}
.m4-stage--retrato{--glow:#9473bf}
.m4-stage--retrato .m4-frame{transform:translateZ(30px) rotateY(0deg)}
.m4-glasses{position:absolute;top:-15px;left:17px;width:13px;height:10px;border:1.5px solid #d6bf8e;border-radius:50%;box-shadow:15px 0 0 -1.5px #17111c,15px 0 0 0 #d6bf8e;opacity:.6}
.m4-glasses::after{content:"";position:absolute;left:11px;top:2px;width:6px;border-top:1px solid #d6bf8e}

html.movimento .m4-world{animation:m4-drift 8s ease-in-out infinite}
html.movimento .m4-apple,html.movimento .m4-stone,html.movimento .m4-mini-frame{animation:m4-float 4.5s ease-in-out infinite;animation-composition:add}
html.movimento .m4-stone--b,html.movimento .m4-mini-frame--b{animation-delay:-2s}
html.movimento .m4-stone--c,html.movimento .m4-mini-frame--c{animation-delay:-1s}
html.movimento .m4-orbit{animation:m4-orbit 11s linear infinite;animation-composition:add}
html.movimento .m4-orbit--two{animation-duration:16s;animation-direction:reverse}
html.movimento .m4-frame{animation:m4-frame 7s ease-in-out infinite;animation-composition:add}
html.movimento .m4-portal{animation:m4-swirl 15s linear infinite}
html.movimento .m4-spark{animation:m4-spark 4s ease-in-out infinite;animation-composition:add}
html.movimento .m4-spark--b{animation-delay:-1.5s}
html.movimento .m4-spark--c{animation-delay:-2.5s}
html.movimento .m4-paint-beam,html.movimento .m4-impact{animation:m4-bright 3.4s ease-in-out infinite}
html.movimento .m4-stage--retrato .m4-silhouette{animation:m4-reveal 8s ease-in-out infinite}
@keyframes m4-drift{0%,100%{transform:rotateX(12deg) rotateY(-13deg)}50%{transform:rotateX(5deg) rotateY(13deg)}}
@keyframes m4-float{0%,100%{transform:translate3d(0,-8px,0)}50%{transform:translate3d(0,9px,12px)}}
@keyframes m4-orbit{to{transform:rotateZ(360deg)}}
@keyframes m4-frame{0%,100%{transform:rotateY(-9deg) translateY(-3px)}50%{transform:rotateY(9deg) translateY(6px)}}
@keyframes m4-swirl{to{transform:rotate(360deg)}}
@keyframes m4-spark{0%,100%{transform:translate3d(0,14px,0);opacity:.3}50%{transform:translate3d(10px,-20px,30px);opacity:1}}
@keyframes m4-bright{0%,100%{opacity:.55}50%{opacity:1}}
@keyframes m4-reveal{0%,100%{opacity:.2}60%{opacity:1}}
@media(max-width:600px){.m4-stage{height:235px}.m4-mini-frame{left:15%}.m4-mini-frame--b{left:auto;right:15%}.m4-world{scale:.92}.m4-scene figcaption{font-size:.7rem;letter-spacing:.03em}.m4-scene{margin:28px auto 34px}}
@media(prefers-reduced-motion:reduce){.m4-stage *,html.movimento .m4-stage *{animation:none!important}.m4-world{transform:rotateX(8deg) rotateY(-8deg)}}
